Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 26th, 2003, 02:45 AM
khushnud khushnud is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 khushnud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question how can make a script

Aoa
how r u everybody
i have a problem in linux that is
how can make a script in linux
plz reply soon

Reply With Quote
  #2  
Old June 26th, 2003, 03:27 AM
quef quef is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Malaysia
Posts: 7 quef User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to quef
hi what kind of script u requesting?

Reply With Quote
  #3  
Old June 29th, 2003, 03:29 PM
rfc791's Avatar
rfc791 rfc791 is offline
unix hermit
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: http://www.rfc791.org
Posts: 18 rfc791 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Scripting in unix is usually done with the bourne shell.
Here is a simple example:


brad@Smelly:~> cat > hello.sh
#!/bin/sh
echo hello world

hit CTRL+D here

brad@Smelly:~> cat hello.sh
#!/bin/sh
echo hello world

brad@Smelly:~> chmod u+x hello.sh
brad@Smelly:~> ./hello.sh
hello world
brad@Smelly:~>


A quick search of google gives many tutorials on bourne shell scripting, eg:

http://steve-parker.org/sh/intro.shtml
http://unix.about.com/library/cours...ipt-outline.htm
http://rhols66.adsl.netsonic.fi/era/unix/shell.html
http://unixhelp.ed.ac.uk/scrpt/scrpt2.html
http://snap.nlc.dcccd.edu/reference...ide/node23.html

Last edited by rfc791 : June 29th, 2003 at 03:33 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > how can make a script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway