comment.sh
#!/bin/sh
echo"Hello world."#hello
echo"Hello morning."
#echo"Good morning."
echo "Good evening."
output
Hello world.
Good morning.
Good evening.
me.sh
#!/bin/sh
echo "0123456789abcdef"
echo "0123\
4567\
89ab\
cdef"
output
0123456789abcdef
0123
456789abcdef
variable.sh
#!/bin/sh
var1 ="test"
for i in 1 2 3;do
echo ${var1}_${i}
done
output
test_1
test_2
test_3
for.sh
for i in 1 10 100; do
echo $(expr 999 + $i)
done
output
1000
1009
1099
until.sh
#!/bin/sh
i=1
until [ "$i" -gt 5 ];do
echo $i
i=$(expr $i + 1)
done
output
1
2
3
4
5
A distribution is a type of Linux. It seems that it diverged because it is open source, and it seems that volunteers are playing a central role in the development, and ** Ubuntu ** was created by deriving from this. It seems to be ** Debian ** series. [By purpose] 7 recommended Linux distributions for beginners
Recommended Posts