mirror of https://github.com/fengyuhetao/shell.git
小小的修改
parent
a2ba566230
commit
c26b095778
|
@ -1,3 +1,9 @@
|
|||
# shell
|
||||
2016-05-12 ~ 2016-05-22
|
||||
所有案例均出自《Linux命令行与shell脚本编程大全案例》一书,作为学习shell的一个见证
|
||||
|
||||
大家有什么好的通用脚本可以发出来啊
|
||||
|
||||
注释详细点,最好用中文,谢谢各位哈
|
||||
|
||||
^_^
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
for (( i=1; i<=4; i++ ))
|
||||
do
|
||||
touch $i.sh
|
||||
chmod 764 $i.sh
|
||||
echo "#!/bin/bash" > $i.sh
|
||||
done
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
#创建10个sh
|
||||
#创建4个sh
|
||||
|
||||
for (( i=1; i<=4; i++))
|
||||
do
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
for (( i=1; i<=4; i++ ))
|
||||
do
|
||||
touch $i.sh
|
||||
chmod 764 $i.sh
|
||||
echo "#!/bin/bash" > $i.sh
|
||||
done
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
for (( i=1; i<=4; i++ ))
|
||||
do
|
||||
touch $i.sh
|
||||
chmod 764 $i.sh
|
||||
echo "#!/bin/bash" > $i.sh
|
||||
done
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
Loading…
Reference in New Issue