Member Avatar

Write a shell script to create a directory called “page1” and ask the user if he/she wants to copy a file to TESTING directory.
You should find out that the file has read, write and execute permission. If the file has write permission then copy the file to the directory; denied otherwise.

Suppose we have a file called ‘WelcomeHome’ with 100 lines of hotel names, each name on a line. Write a script to print the hotel names from line number 20 to line number 30 inclusive. Store the results in a file called ‘ListNumbers’. Sort the file in alphabetical order.

Reverend Jim commented: Lazy AND rude. -3