> % ls -F  [doesn't show color, but denotes executables with a *, and
> directories with a / ]
> % ls --color
>
>     ...or, insert this line in your .bashrc file:
>
>     alias 'ls' 'ls --color'

I find it helpful to use the above command with -F
This option appends a character to the filenames that indicate what it is.
* for programs or executable scripts
/ for directories
@ for symbolic links
| for pipes
= for sockets
nothing for regular files.

the entire command would be alias ls='ls -F --color'

btw, regular files are white, programs are green, directories are blue and
links are aqua.

Hope that helps,
Ben

Reply via email to