same thing but only decided to do the grep after i had done the cat and
was to lazy to back space ;P
less would have also been better but to lazy for the whole 
less is more and more i less thing ;P

On Wed, 2007-10-03 at 16:38 +0200, Mike Morris wrote: 

> eddie wrote:
> 
> > Of course you find the users default shell (used by crontab scripts
> as
> > well) by checking 
> >  cat /etc/passwd | grep <username>
> 
> why not just
>     grep <username> /etc/passwd
> 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to