In Windows (and if you go a bit further back, DOS), we normally use the “dir” command to show us a list of files in a directory. Linux/Unix uses the “ls” command to do this.
“ls” isnt very pretty and doesnt show us much.
Personally, my preferred “ls” command is
ls --color=auto -al |
although this is a huge hassle to type out every time.
But there is a trick.
cd ~
pico .bashrc |
go all the way to the bottom and add this
alias ls='ls --color=auto -al' |
ctrl-x to exit; “y” to save changes, and restart your terminal session.
Next time you run “ls” it will give you a nicely formatted directory listing show all files (including hidden)

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 