UnixTools02
Jump to navigation
Jump to search
File Formats
Markdown (von wikimedia)
== Header name == === Header name === italic text bold text * list item # numbered list item
Yaml - Yet Another Markup Language
Example: docker config
services: nextcloud: image: nextcloud container_name: nextcloud restart: unless-stopped networks: - cloud depends_on: - nextclouddb - redis ports: - 8081:80 volumes: - ./html:/var/www/html - ./custom_apps:/var/www/html/custom_apps - ./config:/var/www/html/config - ./data:/var/www/html/data environment: - PUID=1000 nextclouddb: image: mariadb container_name: nextcloud-db restart: unless-stopped command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW networks: - cloud volumes: - ./nextclouddb:/var/lib/mysql
XML - Extensible Markup Language
<?xml version="1.0"?> <CAT> <NAME>Izzy</NAME> <BREED>Siamese</BREED> <AGE>6</AGE> <ALTERED>yes</ALTERED> <DECLAWED>no</DECLAWED> <LICENSE>Izz138bod</LICENSE> <OWNER>Colin Wilcox</OWNER> </CAT>
HTML - Hyper Text Markup Language
<!DOCTYPE html> <html> <body> some text </body> </html>
csv - Comma-Separated Values
Stunde,Montag,Dienstag,Mittwoch,Donnerstag,Freitag 1,Mathematik,Deutsch,Englisch,Erdkunde,Politik 2,Sport,Deutsch,Englisch,Sport,Geschichte 3,Sport,"Religion (ev., kath.)",Kunst,,Kunst
json - Java Script Object Notation
'{"name":"John", "age":30, "car":null}'
Log file
Example: /var/log/dpkg.log
2024-12-12 06:49:17 status unpacked intel-microcode:amd64 3.20241112.0ubuntu0.22.04.1 2024-12-12 06:49:17 startup packages configure 2024-12-12 06:49:17 configure intel-microcode:amd64 3.20241112.0ubuntu0.22.04.1 <none> 2024-12-12 06:49:17 status unpacked intel-microcode:amd64 3.20241112.0ubuntu0.22.04.1 2024-12-12 06:49:17 status half-configured intel-microcode:amd64 3.20241112.0ubuntu0.22.04.1 2024-12-12 06:49:17 status installed intel-microcode:amd64 3.20241112.0ubuntu0.22.04.1 2024-12-12 06:49:17 status triggers-pending initramfs-tools:all 0.140ubuntu13.4 2024-12-12 06:49:17 trigproc initramfs-tools:all 0.140ubuntu13.4 <none> 2024-12-12 06:49:17 status half-configured initramfs-tools:all 0.140ubuntu13.4 2024-12-12 06:49:33 status installed initramfs-tools:all 0.140ubuntu13.4
typical programming languages
- C, C++
- python
- Java
- JavaScript
- bash (script)
- SQL
- e.g. .bashrc (bash script)
- logfile /var/log/dmsg.log
Tools
- unix program file
- Editor with language support