Write three shell scripts as follows:
3. Write a shell script called which lists just the directories in the current directory. (test)
4. Write a shell script called taking a filename name as argument which uses ls if the file's a directory and more if the file's otherwise. (test)
5. Write a shell script called that asks the user to type a word in, then tells the user how long that word is. (read, wc)

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

ls -ld */...

This is only a preview of the solution. Please use the purchase button to see the entire solution


or $1 if you
register a new account!

Assisting Tutor

Related Homework Solutions

Get help from a qualified tutor
Live Chats