This short little note is intended entirely for my own usage because believe it or not, I am somehow forever forgetting the switches needed to make the bog standard list (ls) function output something that I can easily ready.
ls -l -h -a
There. That will help me in the future I’m sure!
In case you are wondering which switches I have now employed, the -l indicates a long listing, in other words all files and folders are listing one below the other, with a complete set of attribute data next to the file name. The -h forces a human readable print out of the file size variable – in other words 1024 will become 1K. Finally the -a simply forces ls to show us all hidden files and folders.
Truly, I feel like an idiot for even recording this! (shame)
You might also enjoy:
-
For example, let's say you currently do non-incremental backups of your data on a daily business. If you don't keep an eye on it, pretty soon your backup fo ...
-
Installing a new software package via a command line terminal in Ubuntu Karmic Koala (and basically all the other versions preceding it) is deceptively easy ...
-
SCP is a powerful utility that allows us to securely copy files between remote machines. What makes it even more powerful is the ability to add it to script ...
-
To view what version of Ubuntu you currently have installed on your box, the easiest is simply to enter the falling in from the command line: cat /etc/issu ...
-
A quick way to stop or start a particular process running as a system daemon on your Ubuntu box is to make use of the start-stop-daemon command. Usag ...