| Who's Online | There are currently, 159 guest(s) and 0 member(s) that are online.
You are an Anonymous user. You can register for free by clicking here | |
 | |
Simple Shell Script Tutorial: Hello World! Posted on Monday, February 01, 2010 @ 12:14:41 CET
Topic: HOWTOs and similar articles
|
To create a shell script:
- Use a text editor such as vi. Put required Linux commands and logic in the file.
- Save and close the file (exit from vi).
- Make the script executable.
- You should then of course test the script, and once satisfied with the output, move it to the production environment.
- The simplest program in Bash consists of a line that tells the computer a command. Start up your favorite text editor (such as vi):
This is about as ground-level as you can get for learning shell scripting, courtesy of nixCraft. |
|
| Simple Shell Script Tutorial: Hello World! | Login/Create an Account | 0 comments | | The comments are owned by the poster. We aren't responsible for their content. |
|
|
|
No Comments Allowed for Anonymous, please register |
|
| |
| Login | | Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. | |
| Article Rating | Average Score: 0 Votes: 0
| |
|
| |
| Show your Support for the Linux Tutorial
Purchase one of the products from our new
online shop.
For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going. | |
| Login | | Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. | |
|
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited.
For more details on this, take a look
here | |
| Tell a Friend About Us |
| |
|