_Form_
_Out put only
# # is a command >> My new script |
_Using Variable and out value of variable
# variable_name=value |
_Read value to varibale and out put value of variable
# read variable_name |
_More full command
# a program calculate data of function degree 2 (x1,x2) |
2.How to run script after you wrote your script, it is not set as execution permission. So you have to make it as execution permission by >>
chmod 755 script_name |
Then you can run this script with some shell script tool such as :
bash script_name _or_ sh script_name _or_ ./script_name |
No comments:
Post a Comment