I\'d like to define an alias that runs the following two commands consecutively.
gnome-screensaver gnome-screensaver-command --lock
Right
Does this not work?
alias whatever='gnome-screensaver ; gnome-screensaver-command --lock'