Chapter 2 answers
Jump to navigation Jump to search
- Write a program that prints your favorite movie name. It should print director name on the next line.
#!/bin/bash echo "The Shawshank Redemption" echo "Frank Darabont"
- Write a shell script that prints out your name and waits for the user to press the [Enter] key before the script ends.
#!/bin/bash echo "Vivek Gite" read -p "Press [Enter] key to continue..." fakeEnterKey
- List 10 builtin and external commands.
- cd to /etc/init.d and view various system init scripts.
cd /etc/init.d ls vi ssh