Basic Linux scirpts
how to start the scritpts in linux
#echo "welcome to redhat linux"
sample bash program
#!/bin/bash
echo "welcome"
:wq
#chmod 777 test.sh
#./test.sh
2.
#!/bin/bash
clear
echo"welcome"
sleep2
echo"how is your day so far
read ans
clear
echo " youtyped $ans"
echo " $ans >>ans.txt
how to start the scritpts in linux
#echo "welcome to redhat linux"
sample bash program
#!/bin/bash
echo "welcome"
:wq
#chmod 777 test.sh
#./test.sh
2.
#!/bin/bash
clear
echo"welcome"
sleep2
echo"how is your day so far
read ans
clear
echo " youtyped $ans"
echo " $ans >>ans.txt
The information which you have provided in this blog is really useful to everyone. Thanks for sharing. Otherwise If If any one who want to learn linux core to advance Get a free demo call on 9311002620 or visit https://htsindia.com/Courses/modular-courses/redhat-linux-administration-training-course
ReplyDelete