UnixTools: Difference between revisions
Jump to navigation
Jump to search
(63 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
'''Jens-Peter Redlich''' from Berlin/Germany ( |
'''Jens-Peter Redlich''' from Berlin/Germany (deutsche/english) |
||
and |
and |
||
'''Iurii Medvedev''' from Bishkek/Kyrgistan ([[UnixTools-ru| |
'''Iurii Medvedev''' from Bishkek/Kyrgistan ([[UnixTools-ru|русский]]) |
||
= Bash - for Beginners - 1 = |
|||
= Access to the computer = |
|||
* login/lougout |
|||
* login / logout |
|||
* ssh - login at remote host |
* ssh - login at remote host |
||
* Who/Where am I? What is the name of this computer? What is my ID here? Who else is currently at this computer? |
|||
* files directories, wirking directory |
|||
[[UnixTools00|genauer]] |
|||
* path names |
|||
* basic shell commands - cat, touch, rm, mkdir, rmdir, mv |
|||
= Basics = |
|||
* files, directories, working directory |
|||
* path names, /ab/so/lute and re/la/tive, ~ , . and .. |
|||
* basic commands: cat, touch, rm, mkdir, rmdir, mv |
|||
* using wildcards to identify files |
* using wildcards to identify files |
||
* editing text |
|||
* Text Editor |
|||
* |
* basic commands: more, wc, grep, tail, head, find |
||
* getting help |
* getting help |
||
* redirecting |
* redirecting stdout, stdin |
||
* special characters ( |
* special characters (or blanks) in the shell's command line, " " and ' ' (and \ ) |
||
* a file's access rights: ls -l, chmod, chown, chgrp |
|||
[[UnixTools01|genauer]] |
[[UnixTools01|genauer]] |
||
= File Formats (a few examples) = |
= File Formats (a few examples) = |
||
* ASCII Text |
|||
* Markdown |
* Markdown |
||
* Yaml |
* Yaml |
||
* XML |
* XML |
||
* HTML |
* HTML |
||
* csv |
|||
* json |
|||
some Programming Languages |
|||
* C |
|||
* C++ |
|||
* Java |
|||
* Python |
|||
* bash script |
|||
[[UnixTools02|genauer]] |
[[UnixTools02|genauer]] |
||
= Bash |
= Bash 1.1 = |
||
* starting a process, to execute program ($PATH, permissions) |
|||
* access rights: ls -l, chmod, chown, chgrp |
|||
* terminating a process prematurely with ^C |
|||
* simple Shell-Scripts |
|||
* $? - the exit value of a process |
|||
* Prozesse |
|||
* prog1 && prog2 |
|||
* running multiple processes at the same time |
|||
** & |
** & |
||
** ps |
** ps |
||
** kill |
** kill |
||
** wait |
** wait |
||
* Shell Variablen |
|||
= Bash 1.2 = |
|||
* batch processing (simple shell scripts) |
|||
* pre-defined shell variables, variable substitution |
|||
** $PATH |
|||
** $$ |
|||
** $LANG |
|||
* $(date) |
|||
* user defined shell variables |
|||
* exporting shell variables |
|||
* alias (and .bashrc) |
* alias (and .bashrc) |
||
* Indiuviduelle Konfiguration der Shell (.profile, .bashrc) |
* Indiuviduelle Konfiguration der Shell (.profile, .bashrc) |
||
[[UnixTools04|genauer]] |
[[UnixTools04|genauer]] |
||
= |
= Bash 2 - Scripts = |
||
* $1 .. Shell Variablen für Argumente |
|||
* diff |
|||
* for x in a b c |
|||
* patch |
|||
* |
* while |
||
* |
* if |
||
* << Umlenkung von stdin |
|||
[[UnixTools05|genauer]] |
|||
= Working With Files 1 - basics = |
|||
* wget (or curl) |
|||
* md5checksum |
* md5checksum |
||
* sh1-checksum |
* sh1-checksum |
||
* diff |
|||
* tar |
* tar |
||
* rsync |
|||
* downloading from github |
|||
* dd |
|||
[[UnixTools03|genauer]] |
[[UnixTools03|genauer]] |
||
= Working with Files 2 - transformations = |
|||
= Bash - Advanced = |
|||
* sed |
|||
* Shell Scripte |
|||
* awk |
|||
* << Umlenkung von stdin |
|||
* $1 .. Shell Variablen für Argumente |
|||
* for x in a b c |
|||
* while |
|||
* if |
|||
* $? |
|||
* $$ |
|||
[[UnixTools05|genauer]] |
|||
= Working With Files |
= Working With Files 3 - version control = |
||
* git |
* git |
||
* github |
|||
[[UnixTools07|genauer]] |
[[UnixTools07|genauer]] |
||
--- |
|||
= Administration Jobs - 1 = |
= Administration Jobs - 1 = |
||
Line 91: | Line 114: | ||
** format |
** format |
||
** hdd/sdd performance monitoring tools |
** hdd/sdd performance monitoring tools |
||
* rsync |
|||
* dd |
|||
** fsck |
** fsck |
||
Line 109: | Line 135: | ||
* Tools: Wireshark |
* Tools: Wireshark |
||
[[UnixTools06|genauer]] |
[[UnixTools06|genauer]] |
||
= Network Management = |
|||
* host IP address |
|||
* network mask, gateway |
|||
* routing table |
|||
* Firewall |
|||
* NAT |
|||
* VPN |
|||
* DNS |
|||
* tools: ping, traceroute, iptables |
|||
* tools: wireshark |
|||
[[UnixTools20|genauer]] |
|||
= Administration Jobs - 3 = |
= Administration Jobs - 3 = |
||
* nginx |
* nginx |
||
* apache (web server) |
|||
* mysql |
|||
= Cloud Technologies = |
|||
* REST |
|||
* Service Endpoint |
|||
* Cloud Computing ressources |
|||
* Cloud Storage |
|||
= Continuous Integration / continuous development (CI/CD)= |
= Continuous Integration / continuous development (CI/CD)= |
||
Line 120: | Line 166: | ||
* Python 3 |
* Python 3 |
||
* Jupyter Notebook |
* Jupyter Notebook |
||
* JavaScript |
|||
* MySQL |
|||
* Java, C, C++ |
|||
* Rust |
|||
* Go |
|||
Tools: Visual Studio Code (VSC) |
Latest revision as of 14:27, 13 December 2024
Unix Tools
by
Jens-Peter Redlich from Berlin/Germany (deutsche/english)
and
Iurii Medvedev from Bishkek/Kyrgistan (русский)
Access to the computer
- login / logout
- ssh - login at remote host
- Who/Where am I? What is the name of this computer? What is my ID here? Who else is currently at this computer?
Basics
- files, directories, working directory
- path names, /ab/so/lute and re/la/tive, ~ , . and ..
- basic commands: cat, touch, rm, mkdir, rmdir, mv
- using wildcards to identify files
- editing text
- basic commands: more, wc, grep, tail, head, find
- getting help
- redirecting stdout, stdin
- special characters (or blanks) in the shell's command line, " " and ' ' (and \ )
- a file's access rights: ls -l, chmod, chown, chgrp
File Formats (a few examples)
- Markdown
- Yaml
- XML
- HTML
- csv
- json
some Programming Languages
- C
- C++
- Java
- Python
- bash script
Bash 1.1
- starting a process, to execute program ($PATH, permissions)
- terminating a process prematurely with ^C
- $? - the exit value of a process
- prog1 && prog2
- running multiple processes at the same time
- &
- ps
- kill
- wait
Bash 1.2
- batch processing (simple shell scripts)
- pre-defined shell variables, variable substitution
- $PATH
- $$
- $LANG
- $(date)
- user defined shell variables
- exporting shell variables
- alias (and .bashrc)
- Indiuviduelle Konfiguration der Shell (.profile, .bashrc)
Bash 2 - Scripts
- $1 .. Shell Variablen für Argumente
- for x in a b c
- while
- if
- << Umlenkung von stdin
Working With Files 1 - basics
- wget (or curl)
- md5checksum
- sh1-checksum
- diff
- tar
- downloading from github
Working with Files 2 - transformations
- sed
- awk
Working With Files 3 - version control
- git
---
Administration Jobs - 1
- software packet manager
- apt-get
- pip
- conda
- cronjob / systemd
Administration Jobs - 2
- file system administration
- du
- df
- mount, umount
- format
- hdd/sdd performance monitoring tools
- rsync
- dd
- fsck
- trim
- backup solutions
Docker
- docker
- docker compose
- kubernetes
Data Formats (in protocols)
- IPv4 header
- HTTP
- Tools: Wireshark
Network Management
- host IP address
- network mask, gateway
- routing table
- Firewall
- NAT
- VPN
- DNS
- tools: ping, traceroute, iptables
- tools: wireshark
Administration Jobs - 3
- nginx
- apache (web server)
- mysql
Cloud Technologies
- REST
- Service Endpoint
- Cloud Computing ressources
- Cloud Storage
Continuous Integration / continuous development (CI/CD)
- Jenkins
Programming
- Python 3
- Jupyter Notebook
- JavaScript
- MySQL
- Java, C, C++
- Rust
- Go
Tools: Visual Studio Code (VSC)