test Command on Linux: Check Files, Strings and Integers in Bash
Use test and [ ] in Bash on Linux: -f file exists, -d directory, -r readable, -z empty…
Read tutorial →Browse step-by-step tutorials in this topic.
Use test and [ ] in Bash on Linux: -f file exists, -d directory, -r readable, -z empty…
Read tutorial →
Use tee on Linux to duplicate stdout to a file and the screen: tee -a append, sudo tee…
Read tutorial →
Use bash history on Linux: history, !number, Ctrl+R search, HISTSIZE and HISTFILESIZE, append vs overwrite, and secure history…
Read tutorial →
Use xargs on Linux to turn line input into command arguments: find -print0 | xargs -0, avoid word…
Read tutorial →
Create Bash aliases on Linux: add to ~/.bashrc, source changes, useful examples, avoid dangerous rm aliases, system-wide /etc/profile.d,…
Read tutorial →
Use awk and sed on Linux to extract columns, filter lines, substitute text, edit files safely, and chain…
Read tutorial →
Find files on Linux with find: -name globs, -type, -mtime and -size, -maxdepth, -prune to skip paths, and…
Read tutorial →
Use grep on Linux to search files and command output: -i, -r, -n, context lines, extended regex, include/exclude…
Read tutorial →