Need a JQuery bash shell emulator
The shell does not need to be functional, it just needs to look like a shell.
It should store the question and up to 3 answers in an array, and the compare the user input to see if it matches one of the up to 3 predefined answers.
See this page for a sample:
[login to view URL]
It should work with the same idea of that page, but be different. For example, it should display the error message to the console, instead of in a pop up and it should give the user up to 3 tries to get the correct answer.
There should already be a JQuery/JavaScript library that will accomplish this.
Here are the 3 questions (the can each be on a separate PHP/HTML page if needed):
Question 1:
List the files in /var showing all files and using the long listing style
Answer: ls -al /var
Question 2:
Change the file permissions to 444 on all php files in /home/user1/public_html, using the "find" command
Answer: find /home/user1/public_html -name "*.php" -exec chmod 444 {} \;
Alternate Answer: find ./ -name "*.php" -exec chmod 444 {} \;
Alternate Answer 2: find ./ -name "*.php" -exec /bin/chmod 444 {} \;
Question 3:
Show the current ports accepting network connections, using the listening, numeric, tcp and program options (in that order)
Answer: netstat -lntp
Alternate answer: netstat -l -n -t -p
Instructions should be provided so I can easily add more questions and answers.
I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably you will get a quick response from my end.
That my work defines it when I complete the task within time and economy. I love Linux shell and with the knowledge of jquery and linux, I am able to complete it.