USERNAME
Alan Pope
alan at popey.com
Thu Jul 9 20:25:32 UTC 2009
2009/7/9 Dougie Richardson <dougierichardson at ubuntu.com>:
> I propose an addition to the style guide to replace this when dealing
> with commands to:
> `whoami`
>
> For example, to add to the audio group:
> sudo usermod -G audio -a `whoami`
>
$USER seems more logical to me.
sudo usermod -G audio -a $USER
It also has the benefit that you don't have to try to find the
backtick on the keyboard.
Cheers,
Al.
More information about the ubuntu-doc
mailing list