[ale] UID variable in csh?

cfowler cfowler at outpostsentinel.com
Wed Oct 30 10:03:27 EST 2002


cat /etc/passwd | grep $LOGNAME | cut -d : -f 3


On Wed, 2002-10-30 at 09:41, Fletch wrote:
> >>>>> "cfowler" == cfowler  <cfowler at outpostsentinel.com> writes:
> 
> [...]
> 
>     cfowler> Now I'm sure that was a too creative way to do it eh?
>     cfowler> You can grab the same info via perl.
> 
>         Much simpler from perl.
> 
> perl -le 'print $<'
> 
> -- 
> Fletch                | "If you find my answers frightening,       __`'/|
> fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
> 770 294-0820 (m)      |  scary questions." -- Jules                =(___)=
>                       |                                               U
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
> 
> 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list