From 4fc170b647e65c9a30c92d7722c6d92346d3e65c Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Thu, 28 Feb 2019 11:19:16 +0800 Subject: [PATCH] update codes --- codes/{linux/shell-demos => shell}/README.md | 0 codes/{linux/shell-demos => shell}/array/arrayDemo.sh | 0 codes/shell/helloworld.sh | 2 ++ codes/{linux/shell-demos => shell}/operator/operatorDemo.sh | 0 codes/{linux/shell-demos => shell}/operator/operatorDemo02.sh | 0 codes/{linux/shell-demos => shell}/practice/README.md | 0 codes/{linux/shell-demos => shell}/practice/system/useradd.sh | 0 codes/{linux/shell-demos => shell}/statement/caseDemo.sh | 0 codes/{linux/shell-demos => shell}/statement/continueDemo.sh | 0 codes/{linux/shell-demos => shell}/statement/forDemo.sh | 0 codes/{linux/shell-demos => shell}/statement/forDemo02.sh | 0 codes/{linux/shell-demos => shell}/statement/ifDemo.sh | 0 codes/{linux/shell-demos => shell}/statement/selectDemo.sh | 0 codes/{linux/shell-demos => shell}/statement/whileDemo.sh | 0 .../shell-demos => shell}/variable/positionalVariableDemo.sh | 0 codes/{linux/shell-demos => shell}/variable/variableDemo.sh | 0 16 files changed, 2 insertions(+) rename codes/{linux/shell-demos => shell}/README.md (100%) rename codes/{linux/shell-demos => shell}/array/arrayDemo.sh (100%) create mode 100644 codes/shell/helloworld.sh rename codes/{linux/shell-demos => shell}/operator/operatorDemo.sh (100%) rename codes/{linux/shell-demos => shell}/operator/operatorDemo02.sh (100%) rename codes/{linux/shell-demos => shell}/practice/README.md (100%) rename codes/{linux/shell-demos => shell}/practice/system/useradd.sh (100%) rename codes/{linux/shell-demos => shell}/statement/caseDemo.sh (100%) rename codes/{linux/shell-demos => shell}/statement/continueDemo.sh (100%) rename codes/{linux/shell-demos => shell}/statement/forDemo.sh (100%) rename codes/{linux/shell-demos => shell}/statement/forDemo02.sh (100%) rename codes/{linux/shell-demos => shell}/statement/ifDemo.sh (100%) rename codes/{linux/shell-demos => shell}/statement/selectDemo.sh (100%) rename codes/{linux/shell-demos => shell}/statement/whileDemo.sh (100%) rename codes/{linux/shell-demos => shell}/variable/positionalVariableDemo.sh (100%) rename codes/{linux/shell-demos => shell}/variable/variableDemo.sh (100%) diff --git a/codes/linux/shell-demos/README.md b/codes/shell/README.md similarity index 100% rename from codes/linux/shell-demos/README.md rename to codes/shell/README.md diff --git a/codes/linux/shell-demos/array/arrayDemo.sh b/codes/shell/array/arrayDemo.sh similarity index 100% rename from codes/linux/shell-demos/array/arrayDemo.sh rename to codes/shell/array/arrayDemo.sh diff --git a/codes/shell/helloworld.sh b/codes/shell/helloworld.sh new file mode 100644 index 0000000..2b70e2c --- /dev/null +++ b/codes/shell/helloworld.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo "Hello, world!" diff --git a/codes/linux/shell-demos/operator/operatorDemo.sh b/codes/shell/operator/operatorDemo.sh similarity index 100% rename from codes/linux/shell-demos/operator/operatorDemo.sh rename to codes/shell/operator/operatorDemo.sh diff --git a/codes/linux/shell-demos/operator/operatorDemo02.sh b/codes/shell/operator/operatorDemo02.sh similarity index 100% rename from codes/linux/shell-demos/operator/operatorDemo02.sh rename to codes/shell/operator/operatorDemo02.sh diff --git a/codes/linux/shell-demos/practice/README.md b/codes/shell/practice/README.md similarity index 100% rename from codes/linux/shell-demos/practice/README.md rename to codes/shell/practice/README.md diff --git a/codes/linux/shell-demos/practice/system/useradd.sh b/codes/shell/practice/system/useradd.sh similarity index 100% rename from codes/linux/shell-demos/practice/system/useradd.sh rename to codes/shell/practice/system/useradd.sh diff --git a/codes/linux/shell-demos/statement/caseDemo.sh b/codes/shell/statement/caseDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/caseDemo.sh rename to codes/shell/statement/caseDemo.sh diff --git a/codes/linux/shell-demos/statement/continueDemo.sh b/codes/shell/statement/continueDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/continueDemo.sh rename to codes/shell/statement/continueDemo.sh diff --git a/codes/linux/shell-demos/statement/forDemo.sh b/codes/shell/statement/forDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/forDemo.sh rename to codes/shell/statement/forDemo.sh diff --git a/codes/linux/shell-demos/statement/forDemo02.sh b/codes/shell/statement/forDemo02.sh similarity index 100% rename from codes/linux/shell-demos/statement/forDemo02.sh rename to codes/shell/statement/forDemo02.sh diff --git a/codes/linux/shell-demos/statement/ifDemo.sh b/codes/shell/statement/ifDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/ifDemo.sh rename to codes/shell/statement/ifDemo.sh diff --git a/codes/linux/shell-demos/statement/selectDemo.sh b/codes/shell/statement/selectDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/selectDemo.sh rename to codes/shell/statement/selectDemo.sh diff --git a/codes/linux/shell-demos/statement/whileDemo.sh b/codes/shell/statement/whileDemo.sh similarity index 100% rename from codes/linux/shell-demos/statement/whileDemo.sh rename to codes/shell/statement/whileDemo.sh diff --git a/codes/linux/shell-demos/variable/positionalVariableDemo.sh b/codes/shell/variable/positionalVariableDemo.sh similarity index 100% rename from codes/linux/shell-demos/variable/positionalVariableDemo.sh rename to codes/shell/variable/positionalVariableDemo.sh diff --git a/codes/linux/shell-demos/variable/variableDemo.sh b/codes/shell/variable/variableDemo.sh similarity index 100% rename from codes/linux/shell-demos/variable/variableDemo.sh rename to codes/shell/variable/variableDemo.sh