My favorite trick is create on a server a .aliases file which can be
pulled down to any or all of my workstations. On the workstations
I add a line to my .bashrc file to source the .aliases and .aliases.local
files, and then pull down the latest version of .aliases.
The .aliases file contains the aliases I use everywhere, such as:
alias vi=vim
alias updalias="scp server:/.aliases ~; . ~/.aliases"
alias zz="dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock; sleep 2; sudo pm-suspend"
And I use the .aliases.local file if I need to override the "normal" alias
with something specific to one workstation. For example, if one laptop
needs a different suspend command:
alias zz="dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock; sleep 2; sudo pm-suspend-hybrid"
Good article. I notice the article doesn't mention system-config-firewall
or lokkit. I still use both on el6 servers.
And I just discovered that lokkit is available on el7. Is anyone using that?