![]() |
|
|
|
|
|||||||
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| 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 and .test in same directory | vikashtulsiyan | SUN Solaris | 14 | 12-27-2007 10:25 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 |
| How to prevent job1 from running while job2 is running.. | tikang | UNIX for Advanced & Expert Users | 3 | 09-14-2006 02:40 AM |
| Script to Test Application Server is running | duglover | UNIX for Dummies Questions & Answers | 0 | 04-28-2004 06:47 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
running 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? 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 I must have something switched around huh? |
| Forum Sponsor | ||
|
|
|
|||
|
There are two different threads with basically exactly this question. Use the search facility in these forums, and read the forum rules -- using the forums to get your homework done for you is strongly discouraged.
|
| Thread Tools | |
| Display Modes | |
|
|