general_cli
This is an old revision of the document!
Table of Contents
check deb
Check which Debian install you have:
lsb_release -a
echo vs. printf
echo $var # is the same as... printf '%s\n' "$var" echo -n $var # is the same as... printf '%s' "$var"
find
Basic Syntax:
find /path/to/search/ -name searchTerm
If you get a bunch of garbage on the screen, send it all to /dev/null:
find /path/to/search/ -name searchTerm 2>/dev/null
tar
tar xvzf filename # x - extract # v - verbose # z - zip / gnuzip # f - file (name follows)
general_cli.1588090759.txt.gz · Last modified: by gman