UnixTools02: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
|||
| Line 1: | Line 1: | ||
= File Formats = |
= File Formats = |
||
= Markdown (von wikimedia) = |
|||
== Header name == |
== Header name == |
||
=== Header name === |
=== Header name === |
||
| Line 9: | Line 9: | ||
# numbered list item |
# numbered list item |
||
= Yaml - Yet Another Markup Language = |
|||
Example: docker config |
Example: docker config |
||
| Line 42: | Line 43: | ||
- ./nextclouddb:/var/lib/mysql |
- ./nextclouddb:/var/lib/mysql |
||
| ⚫ | |||
= XML - Extensible Markup Language = |
|||
<?xml version="1.0"?> |
<?xml version="1.0"?> |
||
<CAT> |
<CAT> |
||
| Line 54: | Line 56: | ||
</CAT> |
</CAT> |
||
== json == |
|||
| ⚫ | |||
== HTML == |
|||
= HTML - Hyper Text Markup Language = |
|||
<!DOCTYPE html> |
<!DOCTYPE html> |
||
<html> |
<html> |
||
| Line 65: | Line 66: | ||
</html> |
</html> |
||
== Q&E == |
|||
= 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 = |
|||
| ⚫ | |||
| ⚫ | |||
# Analysieren Sie den Aufbau einer Word-Datei |
# Analysieren Sie den Aufbau einer Word-Datei |
||
more file.docx |
more file.docx |
||
| Line 73: | Line 86: | ||
# sehen Sie sich eine .jpg, eine .mov, eine .png -Datei an (dies sind binäre Formate). |
# sehen Sie sich eine .jpg, eine .mov, eine .png -Datei an (dies sind binäre Formate). |
||
= typical programming languages = |
|||
* C, C++ |
* C, C++ |
||
* python |
* python |
||
Revision as of 10:15, 13 December 2024
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}'
Q&E
- Analysieren Sie den Aufbau einer Word-Datei
more file.docx
- Wie zuvor, mit einer excel-Datei
- Wie zuvor, mit einer pptx -Datei
- Öffnen Sie mit ihrem Web-Browsewr eine einfache Web-Seite und speichern sie als Dateiab. Sehen Sie sich die Datei an.
- sehen Sie sich eine .jpg, eine .mov, eine .png -Datei an (dies sind binäre Formate).
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