Please find below the solution and the terminal output.
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
As you know, Is lists all the files in a directory and wc counts words, characters,...
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 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...