|
Has someone already written a tutorial script?
I was thinking about writing a shell script that is a tutorial on how to use the command line, but I don't want to if it's already been done. I was thinking about something like this:
#!/bin/bash
clear
echo -e "The command used to list the contents of a directory is ls\n"
sleep 2
clear
echo "type ls"
read com1
while [ "$com1" = "" ]
do
echo -e "You didn't type anything\n"
echo -e "Type ls"
read com1
done
while [ $com1 != "ls" ]
do
echo -e "No, You typed $com1.\n"
echo "Type ls"
read com1
done
echo -e "very good!!! Here are the contents of the current directory:\n"
sleep 2
clear
ls
echo -e "\n\n"
What do you guys think, about that idea, and has it already been done?
|