devop:terminal
                Differences
This shows you the differences between two versions of the page.
| devop:terminal [2025/10/30] – created hayati | devop:terminal [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOTRANS~~ | ||
| + | |||
| + | ====== Linux Terminal / bash ====== | ||
| + | |||
| + | ===== Shutdown later (at) ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | when leaving office with running processes | ||
| + | |||
| + | < | ||
| + | sudo at 20:55 | ||
| + | shutdown -h now | ||
| + | # press Ctrl + d | ||
| + | |||
| + | # relative: | ||
| + | sudo at now + 2 hours | ||
| + | sudo at now + 30 minutes | ||
| + | </ | ||
| + | |||
| + | Lock screen (usually '' | ||
| + | |||
| + | |||
| + | ===== Bash Console tricks ===== | ||
| + | |||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + | |||
| + | |||
| + | ===== Tab key ===== | ||
| + | |||
| + | try tab for autocompletion - sometimes even twice | ||
| + | |||
| + | |||
| + | ===== to previous directory ===== | ||
| + | |||
| + | < | ||
| + | cd - | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== to home directory ===== | ||
| + | |||
| + | < | ||
| + | cd ~ | ||
| + | # or simpler: | ||
| + | cd | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== browse/ | ||
| + | |||
| + | * simply use arrow up/down | ||
| + | |||
| + | or | ||
| + | |||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | history |grep term | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== keyboard shortcuts ===== | ||
| + | |||
| + | check all with '' | ||
| + | |||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + |   * '' | ||
| + | |||
| + | |||
| + | ===== aliases and functions ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ===== reuse/ | ||
| + | |||
| + |   * write '' | ||
| + |   * '' | ||
| + | |||
| + | ===== reuse/ | ||
| + | |||
| + | < | ||
| + | sudo !! | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== combine multiple commands ===== | ||
| + | |||
| + |   * '';'' | ||
| + |   * ''&&'' | ||
| + |   * '' | ||
| + | |||
| + | |||
| + | following command prints just " | ||
| + | |||
| + | < | ||
| + | false || false || echo hello || echo world | ||
| + | </ | ||
| + | |||
| + | ===== display output as table ===== | ||
| + | |||
| + | < | ||
| + | cat /etc/passwd | column -t -s : | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== history handling with multiple terminals ===== | ||
| + | |||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + | |||
| + | |||
| + | ===== nano: delete line(s) ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + |   * '' | ||
| + |   * '' | ||
| + | |||
| + | ===== Links ===== | ||
| + | |||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + | * | ||
| + |   * https:// | ||
| + | * terminal over web | ||
| + |     * https:// | ||
| + | * improved tree | ||
| + |     * https:// | ||
| + | * sparklines: | ||
| + |     * https:// | ||
| + |   * generate/ | ||
| + |     * https:// | ||
| + | * socket statistics | ||
| + |     * https:// | ||
| + | * ultimate plumber | ||
| + |     * https:// | ||
| + | * analyzing server performance | ||
| + |     * https:// | ||
| + | * fzf: cli fuzzy finder | ||
| + |     * https:// | ||
| + |     * https:// | ||
| + | * thefuck - correct previous console command | ||
| + |     * https:// | ||
| + | * leyrer | ||
| + |     * tmux @ GPN18: https:// | ||
| + |     * cli tools @ GPN18: https:// | ||
| + |     * cli tools @ GPN19: https:// | ||
| + |     * allein zu haus: https:// | ||
| + | * Sven Guckes (RIP) | ||
| + |     * Grazer Linuxtage (GLT) 2010: https:// | ||
| + |     * Grazer Linuxtage (GLT) 2013: https:// | ||
| + |     * vim 2014: https:// | ||
| + |       * figlet, toilet,  | ||
| + |     * kielux 2015: https:// | ||
| + |     * Grazer Linuxtage (GLT) 2016: https:// | ||
| + |     * FrOSCon Map 2016: https:// | ||
| + |     * LUGA 2917: vim fuer Fortgeschrittene 1: https:// | ||
| + |   * [[https:// | ||
| + | |||
