![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TAHI Test Suite 3.0.13 (IPv6 Conformance Test Tool branch) | iBot | Software Releases - RSS News | 0 | 04-06-2008 09:20 AM |
| Test.... | Kaminski | UNIX for Dummies Questions & Answers | 3 | 02-09-2008 07:21 AM |
| test and .test in same directory | vikashtulsiyan | SUN Solaris | 14 | 12-27-2007 10:25 PM |
| Test : Which OS are you ? | sysgate | What's on Your Mind? | 8 | 08-29-2007 03:36 PM |
| Keithley Introduces Linux-Based RF Parametric Test Systems - Test and Measurement.com | iBot | UNIX and Linux RSS News | 0 | 07-23-2007 07:30 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
test
I am running a test command and if the user is not found you have to type exit and it wiil exit. Ok I did that. But if the user is found it is supposed to finger them. But my problem is it makes you type exit first then it fingers them. Why? whats wrong?
Code:
if [ -z username ] then error_fn else echo "Please try again or type exit to quit" read exit" if grep "$username" /etc/passwd then finger "$username" fi fi Last edited by Yogesh Sawant; 04-07-2008 at 01:02 AM. Reason: added code tags |
| Forum Sponsor | ||
|
|