Linux shell script preparation tutorial

  
 

Everyone knows that shell script is like a batch file (.bat) in the early DOS era. The simplest function is to write multiple instructions together, users can easily use one touch method. Handling complex operations (execute a file "shell script", you can execute multiple instructions at once).

The shell script may not be of much use to the average person, but in the opinion of the system administrator this is a very good way to manage the host. Let's write a few simple shell scripts to feel the convenience it brings us:

1,output"hello,world"


The result is:



Copyright © Windows knowledge All Rights Reserved