general_cli
Table of Contents
CLI
check deb
Change: “check distro” – put in how to check kali in /etc/???
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.txt · Last modified: 2020/09/11 18:00 by gman