Problem 1: Note down the complete command line to perform following task in UNIX shell.
1. Sort the contents of text file and display it.
2. Count the characters and lines in text file
3. Display the contents of two text files.
4. Print the date 2 months and 1 day ago from current date.
5. List all running processes with additional information.
6. Reboot the system. Reboot
7. Spell checks file.
8. Use a secure shell to connect to remote machine.
9. Download recursively complete website.
10. Change the sticky bit of directory.
Problem 2: prepare a bash script that displays its name and checks for existence of a file. If the file exists it will display a message. Also display a message that the end of script is reached.