0% found this document useful (0 votes)
72 views2 pages

Shell Scripting Basics and Commands

Shell scripts can automate repetitive tasks by taking input from the user or a file and outputting to the screen. They use the .sh file extension and commands like echo to display outputs or read to take user input, storing it in a variable name. Shell scripts simplify repetitive manual tasks into automated programs.

Uploaded by

Muhammad Imran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views2 pages

Shell Scripting Basics and Commands

Shell scripts can automate repetitive tasks by taking input from the user or a file and outputting to the screen. They use the .sh file extension and commands like echo to display outputs or read to take user input, storing it in a variable name. Shell scripts simplify repetitive manual tasks into automated programs.

Uploaded by

Muhammad Imran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Md.

Palash Miah

181-15-10518

1. Shell scripts can take input from a user or file and output them to the screen. Whenever you
find yourself doing the same task over and over again you should use shell scripting, such
as, repetitive task automation.

2. .sh is the file type extension of shell file.

3. To display an output we use ‘echo’ command in shell script.

4. In nano editor, we can use ‘read’ command and variable name (which will hold the input
value) to take a user input.

5.

You might also like