Other GNU/Linux tips

If you have a directory full of mixed lowercase and uppercase filenames, to rename all the files or directories that have uppercase characters to lowercase:

$ for i in `ls grep [A-Z]`; do mv $i `echo $i tr '[A-Z]' '[a-z]'`; done

.