On Thu, 07 Oct 2004 11:12:38 +0530, Dr. Sharukh K. R. Pavri.
<[EMAIL PROTECTED]> wrote:
> But I am lazy. I don't want to type sudo tail -f /var/log/messages
> everytime so I made an alias in .bashrc of the user and put in it:
> alias tm='tail -f /var/log/messages'
> 
> But if I try to run sudo tm I get an error message saying:
> [EMAIL PROTECTED] spavri]$ sudo tm
> Password:
> sudo: tm: command not found

Just checking....

Did you run 
$ . .bashrc

after editing the file?

Rather, logout and login.
I'm sure you must have gone through this before.
Bur often I myself get locked up after editing .bashrc

--
arc_of_descent

p.s. I find all this quite unnecessary!


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to