On Jul 15, 2004, at 11:31 AM, Jeremy Kitchen wrote:
grep vpopmail /etc/passwd | awk -F ":" '{print $6}'

or

grep vpopmail /etc/passwd | cut -d':' -f6

How portable is this:

X=`cd ~vpopmail; pwd`

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to