Changing host name

Sam Sharpe lists.redhat at samsharpe.net
Wed Apr 7 23:55:30 UTC 2010


On 7 April 2010 23:59, Ed Greshko <Ed.Greshko at greshko.com> wrote:
> Bottom line....  One can use "service network restart" when using NM if
> one wants to.  One can also use "service NetworkManager restart".  If
> anything I choose to use the former since network is 7 keystrokes and
> NetworkManager 14 plus it involves the use of the shift key, and it does
> what I want and what I expect of it.  I certainly hope nobody would take
> issue with that.  Besides, isn't Linux all about choice?  :-)

ser<TAB><SHIFT>N<TAB>r<TAB>

...   9 keystrokes

ser<TAB>netw<TAB>res<TAB>

...   13 keystrokes

Welcome to the wonderful world of Bash Completions ;o)

(Obviously depends on what you have installed how far you have to type
the word to make it unique - this was on my laptop)

--
Sam


More information about the users mailing list