Shell Scripting Tutorial-17: Use Commands In Your Scripts

preview_player
Показать описание
In this tutorial you'll learn to prepare a shell script with a bunch of commands.
Рекомендации по теме
Комментарии
Автор

#This is my third script file banner "Please ignore their dog"
clear
sh ss3.sh
"Please ignore their dog"
Love it, love these tutorials

RealJRMOfficial
Автор

that dog is a part of this awesome tutorial :).
 

shurikenkonan
Автор

I can't thank you enough for these tutorials. I a few books and although I enjoy them its nice to have an actual video to watch.

pettyjames
Автор

Many thanks for your great tutorials. They're very helpful.

Fajeth
Автор

thank you for this series of tutorials they are very helpfull

shortlthug
Автор

Thanks so much for all these amazing gift. God bless you!

ollyonearth
Автор

Hi Omar,

I think you are using different version of the linux(may be centos, fedora or something else) but not ubuntu....so the last command in the ss2.sh file is "banner". The package in which this "banner" command is found is not included in the centos or Redhat versions of the linux.

This is the reason why u got this error message...

So don't

Kothwalashivakumar
Автор

using VI or VIM is always a good practice.

MsVamshikrishna
Автор

your videos are excellent. Your videos are very much useful to me, Many thanks for that.
 
With warm regards
S.Baskara Vishnu

s.baskaravishnu
Автор

Hi Thakur,

Banner command is not supported just for now in redhat like OS may work well in Ubuntu only...
I think u are using Redhat like os

Kothwalashivakumar
Автор

hi. in my REHL4 banner command is not working. is there any other command for banner in this. this tutorial is very useful to me.

siraj
Автор

For all those who are getting error "\r : command not found" using cygwin on windows.
Use the Command : sed -i 's/\r$//' filename
And then try with "sh filename.sh". It should work.

mayurnaravani
Автор

great work yr
i need same type of tutorials for assembly 8086
please send me the link if u hav

dkg
Автор

Hi @Madhuran, banner command is not working in my terminal and in script, could you please tell me what would be the issue.

jeromesebastian
Автор

Hi Mahdu, your lessons are very helpful and explanation also good.
then command BANNER is not working on my end..
can you help me on this.

VihaMarvel
Автор

please the issue I encountered is, when I execute the script it works but at the end of the output I get a message such as : command not found.
can u please explain me why i get that message????
thank u in advance.

elfarik
Автор

I need help, I want to create a shell script to execute one command to run a program for 1 minute then execute the ctrl c command to quit after the minute is up, then run another command for 1 minute then ctrl c to quit that command and then loop  from the beginning at the first command. please

souljahmon
Автор

banner would not work in my script (Fedora 17 is my flavor).
I can use banner from a prompt, but not in a .sh script.
"yum install banner"
as an elevated user
allow it to install
... and it is fixed. Just an FYI to anyone else with the issue.
apt-get doesn't work on mine, must use YUM

codygriffin
Автор

saidou thiam  

If the banner command doesnt work, type
 apt-get install sysvbanner

MsVamshikrishna
Автор

When I use banner msg is printing in vertical . How to make it in horizontal. I have used man command but it is not helpful.

MrJatlavivek