How to write shell script in linux?

Step: 1

Open VI editor or GEDIT

Step: 2

Copy paste the following lines in that file
(example: filename-

# My first script

echo "Hello World!"

Step: 3

Change the permission
sudo chmod -R 777

Step: 4

Run the script


Popular posts from this blog

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?