UnixTools02: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
| Line 72: | Line 72: | ||
<html> |
<html> |
||
<body> |
<body> |
||
<h1>My First Heading</h1> |
<h1>My First Heading</h1> |
||
<p>My first paragraph.</p> |
<p>My first paragraph.</p> |
||
</body> |
</body> |
||
</html> |
</html> |
||
== Q&E == |
== Q&E == |
||
Revision as of 10:08, 13 December 2024
File Formats
ASCII Text
- file.txt
- dmsg.log
Some basic Git commands are:
``` git status git add git commit ```
Markdown
== Header name == === Header name === italic text bold text * list item # numbered list item
yaml
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
<?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>
json
'{"name":"John", "age":30, "car":null}'
HTML
<!DOCTYPE html> <html> <body>
My First Heading
My first paragraph.
</body> </html>
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