6
Under Ubuntu 9.10, where can I place an alias command that will be valid to all users, root or otherwise, and that will work with a shell under GNOME as well as an ssh session and plain console login ?
For example, I love the ll
command, which is not defined by default under Ubuntu, but is under openSuSE. I can manually enter:
alias "ll=ls -als"
but it will only be valid for the current shell. I want this to be valid for all users, all the time, remote or local connection.
Which file should I edit?
Yes. However, by titself under Ubuntu, this is not enough. I had to add the line "source /etc/bash.bashrc" at the end of th e/etc/profile file. – jfmessier – 2010-02-06T02:15:42.997
I didn't need to - it works for me – Jon – 2010-02-06T02:20:40.617