Write three shell scripts as follows: 3. lsdirs.sh: Write a shell...

  1. Home
  2. Homework Library
  3. Computer Science
  4. Linux
  5. Write three shell scripts as follows: 3. lsdirs.sh: Write a shell...

QuestionQuestion

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

Solution PreviewSolution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

#!/bin/sh
ls -ld */...

By purchasing this solution you'll be able to access the following files:
Solution.zip.

$13.50
for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Linux Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats