Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
417f77a26d | ||
|
|
c26b095778 | ||
|
|
a2ba566230 | ||
|
|
bbcb52e3f1 | ||
|
|
b188f3b28b | ||
|
|
4839ed13d6 | ||
|
|
c3b3d56e92 |
@@ -0,0 +1,3 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user