Aliasing

James Drabb JDrabb at darden.com
Wed Nov 27 08:56:58 PST 2002


> -----Original Message-----
> From: Ron Keller [mailto:rakeller at shaw.ca] 
> Sent: Wednesday, November 27, 2002 11:46 AM
> To: Blfs
> Subject: Aliasing
> 
> 
> Is there a way to equate an alias with the updatedb command.  I 
> tried the following in .bash_profile without success
> 
> alias udb='updatedb --prunepaths="/mnt /proc /tmp /usr/src"'
> 
> This line fails to execute.  Any suggestions as to how to do 
> this?  Thanks
> 
> RK

Hmmm, what kind of error do you get?

I just made this alias and it ran fine:

alias udb='updatedb --prunepaths="/mnt /proc /dev /var /tmp"'

Jim Drabb
-- 
---------------------------------------------------------------
Those who would sacrifice freedom for security will get neither
---------------------------------------------------------------
James Drabb JR
Programmer Analyst
Darden Restaurants
Business Systems
JDrabb at Darden.com
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list