![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| finger | felixwhoals | UNIX for Dummies Questions & Answers | 2 | 12-18-2007 08:35 AM |
| Extracting specific info from finger command | franny | UNIX for Dummies Questions & Answers | 1 | 12-05-2007 09:13 AM |
| help in finger command. | shanshine | Shell Programming and Scripting | 1 | 06-06-2007 08:10 AM |
| How to input username on text file into finger command on shell script | Micz | Shell Programming and Scripting | 3 | 11-07-2005 10:38 PM |
| Using the Finger command in a Script | apolishuk | Shell Programming and Scripting | 4 | 12-02-2003 10:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
finger command
Hello all,
Here is what I am trying to do. If a user exist, then send an echo "EXIST" or else "DOES NOT EXIST". (under HP-UX) Kind of: Code:
#!/usr/bin/sh
USER=mylogin
finger $USER
if $? = 0
then
echo "EXIST""
else
echo "DOES NOT EXIST"
fi
Does not work at all. Any idea? |
| Forum Sponsor | ||
|
|