UnixTools: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
'''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/lougout
* ssh - login at remote host
* ssh - login at remote host

* files directories, wirking directory
= Bash Commands 1 - for Beginners =
* path names
* files, directories, working directory
* basic shell commands - cat, touch, rm, mkdir, rmdir, mv
* path names /ab/so/lute , and re/la/tive
* basic commands: cat, touch, rm, mkdir, rmdir, mv
* using wildcards to identify files
* using wildcards to identify files
* editing text
* editing text
* more basic commands: more, wc, grep, tail, head, find
* basic commands: more, wc, grep, tail, head, find
* getting help
* getting help
* redirecting stdin, stdout
* redirecting stdin, stdout
Line 41: Line 44:
[[UnixTools02|genauer]]
[[UnixTools02|genauer]]


= Bash - for Beginners - 2 =
= Bash 1.2 - for Beginners =
* access rights: ls -l, chmod, chown, chgrp
* access rights: ls -l, chmod, chown, chgrp
* simple Shell-Scripts (#! shebang)
* simple Shell-Scripts (#! shebang)
Line 49: Line 52:
** kill
** kill
** wait
** wait

= Bash 1.3 - for Beginners =
* Shell Variablen
* Shell Variablen
* $(date)
* Shell Variablen exportieren
* $PATH
* $LANG
* alias (and .bashrc)
* alias (and .bashrc)
* Indiuviduelle Konfiguration der Shell (.profile, .bashrc)
* Indiuviduelle Konfiguration der Shell (.profile, .bashrc)
* preferred language
[[UnixTools04|genauer]]
[[UnixTools04|genauer]]


= Bash - Advanced =
= Bash 2.1 - Scripts =
* Shell Scripte
* Shell Scripte
* << Umlenkung von stdin
* << Umlenkung von stdin
* $1 .. Shell Variablen für Argumente
* $1 .. Shell Variablen für Argumente

= Bash 2.2 - Programming =
* for x in a b c
* for x in a b c
* while
* while
Line 67: Line 77:


= Working With Files 1 - basics =
= Working With Files 1 - basics =
* wget (oder curl)
* diff
* patch
* sed
* awk

* md5checksum
* md5checksum
* sh1-checksum
* sh1-checksum
* diff
* tar


* tar
* rsync
* dd
[[UnixTools03|genauer]]
[[UnixTools03|genauer]]


= Working With Files 2 - version control =
= Working with Files 2 - transformations =
* sed
* awk


= Working With Files 3 - version control =
* git
* git
* github
* github
[[UnixTools07|genauer]]
[[UnixTools07|genauer]]


---


= Administration Jobs - 1 =
= Administration Jobs - 1 =
Line 100: Line 111:
** format
** format
** hdd/sdd performance monitoring tools
** hdd/sdd performance monitoring tools

* rsync
* dd


** fsck
** fsck

Revision as of 09:06, 13 December 2024

Unix Tools

by


Jens-Peter Redlich from Berlin/Germany (deutsche/english Version)

and

Iurii Medvedev from Bishkek/Kyrgistan (русский вариант)


Access to the computer

  • login/lougout
  • ssh - login at remote host

Bash Commands 1 - for Beginners

  • files, directories, working directory
  • path names /ab/so/lute , and re/la/tive
  • 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 stdin, stdout
  • special characters (and blanks) in arguments of shell commands

genauer

File Formats (a few examples)

  • Markdown
  • Yaml
  • XML
  • HTML
  • csv
  • json

some Programming Languages

  • C
  • C++
  • Java
  • Python
  • bash script

genauer

Bash 1.2 - for Beginners

  • access rights: ls -l, chmod, chown, chgrp
  • simple Shell-Scripts (#! shebang)
  • Prozesse
    • &
    • ps
    • kill
    • wait

Bash 1.3 - for Beginners

  • Shell Variablen
  • $(date)
  • Shell Variablen exportieren
  • $PATH
  • $LANG
  • alias (and .bashrc)
  • Indiuviduelle Konfiguration der Shell (.profile, .bashrc)

genauer

Bash 2.1 - Scripts

  • Shell Scripte
  • << Umlenkung von stdin
  • $1 .. Shell Variablen für Argumente

Bash 2.2 - Programming

  • for x in a b c
  • while
  • if
  • $?
  • $$

genauer

Working With Files 1 - basics

  • wget (oder curl)
  • md5checksum
  • sh1-checksum
  • diff
  • tar

genauer

Working with Files 2 - transformations

  • sed
  • awk


Working With Files 3 - version control

  • git
  • github

genauer

---

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

genauer

Data Formats (in protocols)

  • IPv4 header
  • HTTP
  • Tools: Wireshark

genauer

Network Management

  • host IP address
  • network mask, gateway
  • routing table
  • Firewall
  • NAT
  • VPN
  • DNS
  • tools: ping, traceroute, iptables
  • tools: wireshark

genauer

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

genauer

Programming

  • Python 3
  • Jupyter Notebook
  • JavaScript
  • MySQL
  • Java, C, C++
  • Rust
  • Go

Tools: Visual Studio Code (VSC)