RSS Forums RSS
Please support our Community Introductions advertiser: Programming Forums
Views: 1167 | Replies: 7
Reply
Join Date: Jul 2005
Posts: 4
Reputation: ipods#1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ipods#1 ipods#1 is offline Offline
Newbie Poster

hi im new

  #1  
Jul 18th, 2005
I need help writing a linux script.. where can I go for online tutors??
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,330
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 44
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: hi im new

  #2  
Jul 18th, 2005
You could better explain what you mean by, "linux script."
Reply With Quote  
Join Date: Jul 2005
Posts: 4
Reputation: ipods#1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ipods#1 ipods#1 is offline Offline
Newbie Poster

Re: hi im new

  #3  
Jul 19th, 2005
I need to write a shell script that..

Asks the user to input a file name and then tests to see if that
file exists.

If the file exists, then they should be told EXACTLY the following:

"Yes it's just where you thought it was. It's name is [filename]"


If the file does NOT exist, they they should be told EXACTLY:

Sorry, it's just not there. It's name was [filename]

... iam supposed to use if then else read scripts...
can you help me out ??


thanks
sara
Reply With Quote  
Join Date: Jul 2005
Posts: 4
Reputation: ipods#1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ipods#1 ipods#1 is offline Offline
Newbie Poster

Re: hi im new

  #4  
Jul 19th, 2005
hi....im gona send you what I have so far..can you see if im remotely on the right track


thanks
sara
Reply With Quote  
Join Date: Jul 2005
Posts: 4
Reputation: ipods#1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ipods#1 ipods#1 is offline Offline
Newbie Poster

Re: hi im new

  #5  
Jul 20th, 2005
#!bin/sh
#this program tests wheter a file exists or not
echo"enter a file"
if[-e $file]
then
echo"Yes it's just where you thought it was. It's name is [filename]"
elif [-e $file]
then
echo"Sorry, it's just not there. It's name was [filename]
fi


i am tryig to figure out how to put the read statements..what am i missing??
thanks
Reply With Quote  
Join Date: Jul 2005
Posts: 10
Reputation: aasahil is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
aasahil's Avatar
aasahil aasahil is offline Offline
Newbie Poster

Re: hi im new

  #6  
Jul 23rd, 2005
hi I am sahil
Just make a search in google with keyword "linux script + tutorial"
I hope u will find exactly what u need.
good luck
bye
sahil
keep in contact
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,072
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 118
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: hi im new

  #7  
Jul 30th, 2005
Hey there ... check out our linux forum at http://www.daniweb.com/techtalkforums/forum12.html

This forum is reserved to introduce and welcome new members to the community.
Dani the Computer Science Gal
Reply With Quote  
Join Date: Aug 2005
Posts: 11
Reputation: xtremeathlete25 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
xtremeathlete25 xtremeathlete25 is offline Offline
Newbie Poster

Re: hi im new

  #8  
Aug 2nd, 2005
welcome to the forum
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:55 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC