====== Linux CLI Tools ====== see also: * [[https://docs.monadical.com/s/system-monitoring-tools|System monitoring tools]] (monadical.com, 2020) * [[..:tui:|TUI tools]] * [[shell_tricks|useful shell tricks and one-liners]] ===== System ===== ^ [[dd]] | data destroyer, copies files bit by bit | ^ [[dmidecode]] | show BIOS devices | ^ [[journalctl]] | show logs (only [[:admin:linux:systemd]]) | ^ [[ldd]] | information about shared libs | ^ [[strace]] | Stack Trace | ^ [[sysstat]] | System statistics collection daemon, contains sar, iostat, mpstat, pidstat, sadf. Has a [[:admin:monitoring:telegraf|telegraf]] [[https://github.com/influxdata/telegraf/blob/master/plugins/inputs/sysstat/README.md|input plugin]] | ==== Storage ==== ^ [[https://wiki.archlinux.org/index.php/Badblocks|badblocks]] | scan device for bad blocks | ^ blockdev | check some block device parameters | ^ cgdisk | ncurses partition manager (gdisk frontend) | ^ df | show free space | ^ findmnt | show mounts | ^ f3 | Utilities to detect and repair counterfeit flash storage | ^ iostat | I/O statistics | ^ iotop | I/O process statistics | ^ ncdu | ncurses disk usage | ^ [[vmtouch]] | learning about and controlling the file system cache | ^ ranger | CLI file manager with vi-like keybinds | ^ sar | from package [[sysstat|sysstat]], collects and reports system activity information | ^ [[https://github.com/jbruchon/jdupes|jdupes]] | find duplicates and deduplicate them with Btrfs | ^ wipe | delete and overwrite files and folders in a secure manner | ===== Network ===== see [[admin:linux:network]] ==== Mail ==== ^ [[imapsync]] | copy IMAP mails around | ^ swaks | Swiss Army Knife for SMTP | ===== Diverse ===== ^ [[:dev:git]] | Git code management | ^ [[imagemagick]] | image processing | ^ [[man]] | show manuals (manpages) | ^ [[tar]] | pack files into "tape archives" | ^ shellcheck | check shell scripts for errors | ^ date | show date | ==== Windows related ==== ^ exiftool | view (image) file information | ^ pev | PE32 file analysis |