Bash commands

Command Result
ls -t sorts chronologically
$0,$1,$2,... command-line arguments
mpage -Px3 -b -2 file.ps prints several pages on one, without boundary (-b)
chmod 1..x,2..w,4..r
gs -r600x600 -dNOCACHE -sPAPERSIZE=a4 -dNOPAUSE
-sDEVICE=pswrite -dBATCH -sOutputFile=out.ps dat1.ps dat2.ps
concatenates several ps files to one
find . -name "blub" -exec rm {} \; executes command on files found by find. if confirmation is wanted, replace exec by ok
fig2eps converts xfig with latex code to eps
setxkbmap -variant nodeadkeys might help if ^ or ~ does not work in certain applications or only on double key in the shell