AFAIK alias is usually used to make 'shortcut' for long command. But what to do if I want to alias one command to another?
I need this because I replaced gnome-screensaver with xscreensaver, so the lock screen button does not work.
How to alias gnome-screensaver-command -l to be resolved into xscreensaver-command -lock?
xflock4. changed my question to be more relevant to the actual problem. – Danatela Apr 12 '14 at 04:22sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-commanddoesn't work. – Danatela Apr 13 '14 at 07:00