Here's a small number of UNIX commands that might prove useful again one day. Or maybe not.
| Command | Comment |
find ./ -print | xargs grep <searchstring> | Recursive grep. Find the search string in all files in current directory and below. |
mv <oldfilename> <newfilename> | Rename a file. |
ls -ltrFAR | Recursive directory listing. |
find ./ | Alternative directory listing. |
ls | wc -l | Count files in directory. |
rpcinfo -p | Show Remote Procedure Call infomation. |
diff -b <file1> <file2> | Find differences between two files. |
diff -lrs <dir1> <dir2> | Find differences between directories. |
chmod 755 <file> | Change file permissions. |
chmod -R o+rwx,g+rwx,u+rwx <file> | Alternative change file permissions. |
chown <newowner> <file> | Change file owner. |
chgrp <newgroup> <file> | Change file group. |
passwd | Change user password. |
ping <ipaddress> | Check network connection. |
find . -name <wildcardfilespec> | Find file by file name. |
ln -sf <dirname> | Create a directory link. |
rm <dirname> | Remove directory link. |