The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-02-2009
Producer Producer is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 10
Say again . its not home work ...
I am trying to do this to show someone something ,

I have this Online thing from Mike Virtue teaching Noobies how to use Unix ,

and I am doing pretty well and I wanted to Surprise my father with this thing I am working on ,

Ill type what I have how about that ...

Code:
echo "I will now continue to Help"
echo "Would you like to know some helpful information on about your system"
echo -n " Yes or No: "
read answer
if [ $answer = "y" ] ;
then
 cat/etc/passwd
 who | who -l
 ps -e | wc -l
that is pretty cool of you though not wanting to help people TOTALLY cheat , this website has a lot to offer ...

Last edited by vidyadhar85; 07-02-2009 at 10:18 PM..