How do I save a Linux shell script?

How do I save a Linux shell script?
Answer
Try using vi as your text editor. Change to the directory you want your script to be saved in and then type in
`vi myScript.sh”
. This will start the vi text editor. You can type in all your shell commands here.
 

Tìm kiếm

Back
Top