tomh0665 at gmail.com
Mon Jun 9 11:22:04 UTC 2014
On Mon, Jun 9, 2014 at 3:51 AM, James Freer <jessejazza3.uk at gmail.com> wrote:
> I think it is more to do with the typing sudo in front of the command...
> compared with being root and carrying out a number of commands. I now have a
> load of aliases in my .bash_aliases file and almost never use sudo directly.
> e.g. 12 aliases for apt-get alone. That brief 30 mins setting up the file
> was time well spent.
I assume thatt these aliases are in root's ".bash_aliases" (otherwise
you cannot use them to install anything).
You don't need to enable root to use these aliases; you just need to
switch to root with "sudo -i".
More information about the ubuntu-users