UnixToolsJpr: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Bash I = |
|||
== login, logout (level A) == |
|||
* who |
|||
* id |
|||
* last |
|||
* exit vs. logout |
|||
== login, logout (level B) == |
|||
=== Q&E (Questions and Excersises) === |
|||
# Was passiert, wenn Sie mehrmals (erfolglos) versuchen, sich mit dem falschen Passwort anzumelden? Warum ist dieses Verhalten des Systems sinnvoll? |
|||
# Sie haben Ihr Passwort vergessen, was nun? |
|||
# Wie erstellt man ein sicheres Passwort? Wie/wo speichert man es? |
|||
== ls, pwd, cd, ls -la (level A) == |
|||
* ls |
|||
* pwd |
|||
* cd |
|||
* ls -la |
|||
* echo |
|||
== Pfadnamen (level A) == |
|||
* a/b/c |
|||
* /a/b/c |
|||
* . and .. |
|||
* usage of <TAB> when entering file names |
|||
* ../a |
|||
* ./a |
|||
Using Wildcards to identify files |
|||
* ls * |
|||
* ls *.* |
|||
* ls a* |
|||
* ls *a |
|||
* ls *a* |
|||
=== Q&E === |
|||
* What is the difference between |
|||
** ls * , and |
|||
** echo * |
|||
== basic tools (level A) |
|||
* cat |
|||
* more |
|||
* wc |
|||
* tail |
|||
* grep |
|||
* find |
|||
Editor |
|||
* nano |
|||
== Redirection (level A) == |
|||
* ls > file.txt |
|||
* ls > /dev/null |
|||
* ls /tmp >> file.txt |
|||
* more << file.txt |
|||
* ls -lisa /bin | more |
|||
== Redirection, Wildcards (level B) == |
|||
* << END |
|||
* ls * 2> /dev/null |
|||
* grep 2>&1 | more |
|||
* ls [a-c]* |
|||
=== Q&E === |
|||
# Legen Sie eine Datei an, die 'Hello World!" heisst (mit Leerzeichen), und löschen Sie diese Datei anschliessend wieder. |
|||
# Löschen Sie im aktuellen Verzeichnis eine Datei, die '--help' heisst |
|||
# Legen Sie eine Datei an, die '2*3' heisst |
|||
# Versuchen Sie eine Datei anzulegen, die "///A///' heist. |
|||
== Getting help (level A) == |
|||
* grep --help |
|||
=== Q&E === |
|||
# Lesen Sie die Hilfe-Seite des BEfehls grep. Funden Sie heraus, wie Sie grep aufrufen müsen, damit es alles Zeilen ausgibt, die ein bestimmtes Mustzer NICHT enthalten |
|||
= File Formats = |
|||
* Markdown |
|||
** README.md |
|||
** wiki |
|||
* yaml |
|||
** docker config |
|||
* XML |
|||
* json |
|||
* HTML |
|||
* typical programming languages |
|||
** C, C++ |
|||
** python |
|||
** Java |
|||
** JavaScript |
|||
** bash (script) |
|||
** SQL |
|||
** e.g. .bashrc (bash script) |
|||
* Tools: unix program file |
|||
* Toos: Editor with language support |
|||
= Data Formats (in protocols) = |
= Data Formats (in protocols) = |
||
Line 125: | Line 24: | ||
**tar |
**tar |
||
**rsync |
**rsync |
||
* dd |
|||
= Working With Files 2 (git) = |
= Working With Files 2 (version control with git) = |
||
* git |
* git |
||
* github |
* github |
||
Line 136: | Line 36: | ||
* Jenkins |
* Jenkins |
||
= |
= Administration Jobs = |
||
* nginx |
* nginx |
||
* software packet manager |
* software packet manager |
||
Line 142: | Line 42: | ||
** pip |
** pip |
||
** conda |
** conda |
||
* cronjob / systemd |
|||
= file system administration |
= file system administration = |
||
* du |
* du |
||
* df |
* df |
Latest revision as of 15:09, 20 November 2024
Data Formats (in protocols)
- IPv4 header
- HTTP
- Tools: Wireshark
Bash 2 (Advanced)
- redirects
- &
- wait
- ps
Working With Files 1 (basics)
- diff
- patch
- sed
- awk
- md5checksum
- sh1-checksum
- tar
- rsync
- dd
Working With Files 2 (version control with git)
- git
- github
Docker
- docker
- docker compose
- kubernetes
- Jenkins
Administration Jobs
- nginx
- software packet manager
- apt-get
- pip
- conda
- cronjob / systemd
file system administration
- du
- df
- mount, umount
- format
- hdd/sdd performance monitoring tools
- fsck
- trim
- backup solutions
Programming
- Python 3
- Jupyter Notebook