Comments on Shell Scripting Part 2: Accepting Inputs and Performing Shell Arithmetic

This article is the second part of the Howtoforge shell scripting tutorial series. By this time, I assume that you have read the first part of the series and know how to create a simple script and execute it. In the second part, you will learn how accept inputs from the user and process them through shell scripting.

7 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Granma Lizzie

Excellent tutorial, even I can follow it and enjoy learning.

By: Bart

Can't wait to see next lessons.. :D

By: MingYang

 It's very comfortable to read this tutorial.

By: Swadhikar

Simple and effective tutorial. Thanks a lot!

By: PAYAL PATEL

EXCELLENT TUTORIAL,

By: Arun`

Hi, 

    My query is 

** I am including a command in a script for eg: do you want to code -- it is cmd

** when the script execute that I will get -- type (y/n) -- so it is asking user input if I press y or n it will continue

********* So i just want to can this userinput will be included inside the script only?

By: chhinder

hi,

 

i want to call File name in command. But should come in last of the command.

echo -n "Enter Comment -> " FILE1

less -n /applogs/enabler/procceed/ ($FILE1) 

 

Please guide me.