I\'d like to define an alias that runs the following two commands consecutively.
gnome-screensaver gnome-screensaver-command --lock
Right
This would run the 2 commands one after another:
alias lock='gnome-screensaver ; gnome-screensaver-command --lock'