Anonymous Anonymous - 1 month ago
456 0

No description

Bash

Bash menu

viewDirectory(){
	//code to view a directory here
}

displayFile(){
	//code to display file contents here
}

backUp(){
	//Code to perform back up here
}


echo "what do you want to do"
read choice

case $choice in
	1) viewDirectory;;
	2) displayFile;;
	3) backUp;;
	4) clear; exit 0;;
esac