Hi.

On Thu, Oct 24, 2013 at 11:56:01PM +1100, Scott Ferguson wrote:
> should have been:-
> $ echo "alias s='su -c"'" >> ~/.bash_aliases;. .bashrc

This works better as:
 
function s() {
su -l root -c "$*"
}
export -f s

Saves an extra " 

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131024132720.GA23106@x101h

Reply via email to