Tag: ls
-
*nix – check disk space
If you’ve tried to use ls -lh to get the size of a directory and it’s content, you’ll have found that it doesn’t give you what you were hoping for. One method to get the size of a directory, including files, sub-directories and their files is to use du (disk usage). du -sch The switches…
-
SnipIT No 7: Change colour when using “ls”
SnipIT is a series of short blogs containing useful information in an easily digestible format. Listing the files and directories in a PuTTY session when connected to Red Hat recently, I realised how bad the contrast is between the default dark blue on black. To change this to something more usable, we can edit the…