aboutsummaryrefslogtreecommitdiffstats
path: root/chapter9/shells.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter9/shells.sh')
-rw-r--r--chapter9/shells.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter9/shells.sh b/chapter9/shells.sh
new file mode 100644
index 0000000..d94254c
--- /dev/null
+++ b/chapter9/shells.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cat > /etc/shells << "EOF"
+# Begin /etc/shells
+
+/bin/sh
+/bin/bash
+
+# End /etc/shells
+EOF