Question

As you know, Is lists all the files in a directory and wc counts words, characters, and lines. Which of the following operati
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find below the solution and the terminal output.

ues the numberiles Pipe which gives outfu to a) 2 ha)一Hene, we anger the 2 ad and 4th Column, > 4th , as pet the Command outr

Question 1)

ppalik$ ls | wc -w

14

Question 2) Command terminal output

ppalik$ ls -l

total 232

-rw-r-----@ 1 ppalik staff 19203 Feb 4 22:02 BUILDING.txt

-rw-r-----@ 1 ppalik staff 6095 Feb 4 22:02 CONTRIBUTING.md

-rw-r-----@ 1 ppalik staff 57092 Feb 4 22:02 LICENSE

-rw-r-----@ 1 ppalik staff 2333 Feb 4 22:02 NOTICE

-rw-r-----@ 1 ppalik staff 3255 Feb 4 22:02 README.md

-rw-r-----@ 1 ppalik staff 6854 Feb 4 22:02 RELEASE-NOTES

-rw-r-----@ 1 ppalik staff 16262 Feb 4 22:02 RUNNING.txt

drwxr-x---@ 29 ppalik staff 986 Feb 4 22:02 bin

drwx------@ 13 ppalik staff 442 Mar 14 00:32 conf

drwxr-x---@ 33 ppalik staff 1122 Feb 4 22:01 lib

drwxr-x---@ 8 ppalik staff 272 Mar 14 00:32 logs

drwxr-x---@ 3 ppalik staff 102 Feb 4 22:01 temp

drwxr-x---@ 7 ppalik staff 238 Feb 4 22:01 webapps

drwxr-x---@ 3 ppalik staff 102 Mar 14 00:32 work

Add a comment
Know the answer?
Add Answer to:
As you know, Is lists all the files in a directory and wc counts words, characters,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • Objective : Write a C Shell script which copies all files(*.java and *.class) from your home dire...

    Objective : Write a C Shell script which copies all files(*.java and *.class) from your home directory to a new one, and Analyze the new directory information such as number of files, user permissions, and disk usage. Sample Output:                                                    << CS Directory Analysis >>      Date:   ============================================================ Current Directory: /home/tomss New Directory Created : /home/tomss/pgm01 File information Total Number of files : 22 files Directory files:   0 files Plain text files:   10 files File have read permissions: 3 files File have...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT