|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Aoa
how r u everybody i have a problem in linux that is how can make a script in linux plz reply soon |
|
#2
|
|||
|
|||
|
hi what kind of script u requesting?
|
|
#3
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > how can make a script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|