On Wed, 27 Feb 2019, Rich Shepard wrote:

Can I set an alias so when she exits X11 to a console all she needs to type
is
sudo halt
and this will invoke /sbin/shutdown -h now? Gotta' keep in simple here.

Saw a web blog post that suggests I if add to her ~/.bash_rc the following
alias

alias halt='alias=`sudo ` halt'

all she'd need to type is halt. Does this look workable?

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to