Tuesday, 3 April 2012

Random Linux Notes

In working with linux systems and VMs as part of this project, I've learned not to use exclamation marks as part of user passwords on windows machines you hope to connect to from Linux command line!

Also, here's a really useful command for listing the size of directories in the current directory;

du -hx . |grep ^[0-9.]*G | sort -rn| head -n 100

(replace the '.' with the path to any other directory you want to list)

No comments: