cd, cd ., cd .., cd ../../.., cd , cd ~, cd -
pwd, find, whereis, locate(updatedb)
whatis, apropos, man -f, man -k
ls -a, ls -F, ls -m, ls -x, ls -l, ls -R, ls -Rd */*/
ls --full-time
ls /usr/bin > programs.txt
ls -d /usr/bin/t*
ls Regular Expressions
dir, vdir
cat, cat -n, cat *.txt, cat test.txt test2.txt,
cat test* > test3.txt, cat test1.txt >> test2.txt,
cat -n test1.txt >> test2.txt
more
less, lesskey, less -M, less -N
within less command: !wc, "/keywords" to search
head, head -10, head -n 10, head -c, head -c 2b, head -q
tail, tail -10, tail -n 10, tail -c, tail -c 2b, tail -q
tail /var/log/messages
touch file, touch file1 file2 file3
>untitled
touch -t
rm -i, rm -f, rm -r, rm -fr, rm -fr /*
rm file1, rm file2 file3, rm file*
mkdir newfolder
mkdir newfolder1 newfolder2
mkdir -p newfld1/newfld2
tree
mc (MidNight Commander)
rmdir, rmdir -p
mv, mv -i, mv -b, mv -ib
cp, cp -i, cp -b, cp -ib, cp -r, cp -p
ln, ln -s,
grep, egrep, fgrep
grep -n, grep -f
egrep -n, egrep -f
fgrep -n, fgrep -f
grep -E, grep -F
zgrep
tar, tar --remove-files
tar -cf, tar -cvf, tar -cwf, tar -tf
tar -xvf, tar -xvwf
gzip, gzip -S, gzip -l, gunzip, gzip -d
gzip -t, gzip -tv
compress -f, uncompress
chsh -s
<TAB> key in the Bash Shell
cpio -o <source.txt >sink.cpio
cpio -o <source.txt >sink.cpio 2>>errors.txt
printenv, set
ifconfig
alias modifications
source
ps, jobs
kill, killall, pkill
Ctrl+Z; bg, fg
pipes!
chmod +x
echo
My first Linux shell program:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
uname -a, passwd, logout, exit
mount, unmount, df, du, fsck
shutdown, reboot, who, free
whereis
ftp, bye, ping
clear