history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
: history de bulunan en çok kullanılan komutları listeler.
while sleep 1;do tput sc;tput cup 0 $(($(tput cols)-29));date;tput rc;done &
: terminalin sağ üst köşesine saat koyar.
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' : bulunduğunuz konumda ağaç yapısında dizin ağacını gösterir.
for code in {0..255}; do echo -e "\e[38;05;${code}m $code : Test"; done :256 rengin numeric karşılığını gösterir.
function man2pdf(){ man -t ${1:?Specify man as arg} | ps2pdf -dCompatibility=1.3 - - > ${1}.pdf; }
: tanımlandıktan sonra man2pdf ls ile pdf oluşturulur.
while true; do cat /proc/net/dev; sleep 1; done | awk -v dc="date \"+%T\"" '/eth0/{i = $2 - oi; o = $10 - oo; oi = $2; oo = $10; dc|getline d; close(dc); if (a++) printf "%s %8.2f KiB/s in %8.2f KiB/s out\n", d, i/1024, o/1024}'
: show bandwidth in - out
cd /home/complicated/path/.I/dont/want/to/forget
pushd /tmp ile bulunduğunuz dizini push edin
cd ???
cd ???
popd (returns you to /home/complicated/path/.I/dont/want/to/forget) daha sonra popd ile tekrar kullanabilirsiniz.