View Full Version : First attempt at shell scripting

September 10th, 2006, 07:49 PM
So I've finally decided to attempt to add an alias to .bash_profile, for my first attempt I decided something simple enough:

alias l='ls -l'

As I attempt to open .bash_profile with gedit, the page is blank!? using the code:

less .bash_profile

I see what it should say, but where is the text??:-k

September 11th, 2006, 01:03 AM
You would probably be better off putting your alias definitions into .bashrc