Category | Bash

How do I get ls to display in color

Posted on 28 September 2011

Login as root and add the –color option to the command. ls -al –color /etc Open the .bashrc file with your favorite text editor. For example, you could type vi /root/.bashrc at the command line to open the file. Under the line “# User specific aliases and functions” type: alias ls=”ls -alh –color” alias ll=”ls -alh –color” [...]

Tags: ,

Parsing arguments for your bash/shell

Posted on 22 December 2009

Libero non, blandit blandit, sed odio lectus. Senectus donec, lacus scelerisque, vestibulum id tristique. Suspendisse ut dignissim. Etiam posuere netus, libero condimentum eu. Aenean a ut. Elit aliquet porttitor. Libero non, blandit blandit, sed odio lectus. Senectus donec, lacus scelerisque, vestibulum id tristique. Suspendisse ut dignissim. Etiam posuere netus, libero condimentum eu. Aenean a ut. [...]