Linux Shell Scripting
How to create shell script in vi editor that prints ''Hello World'' ? What is Shell ? Shell is the operating system's command interpreter and the set of commands you use to communicate with the system. Shell reads command from user and tells Linux OS what users want. What is shell script? Shell script is a program that is written in shell programming language and is interpreted by a shell process. A shell script is a file that contains ASCII text. In order to create a shell script, a shell text editor is required. There are many text editors available for Linux system. In this post I am going to use the vi editor. What is a vi editor? Vi stands for visual editor. It is a powerful Linux text editor which is available on all Unix / Linux system by default. How to start vi? Power on your virtual machine. Login with your username and password. Create a new file with .sh as extension. In order to do this type vi and the filename, e.g vi hello.sh N...