Write a function that lists the number of ordinary files, directories, block special files, character special files, FIFOs, and symbolic links in the working directory. Do this in two different ways:
a. Use the first letter of the output of ls –l to determine a file’s type.
b. Use the file type condition tests of the [[ expression ]] syntax to determine
a file’s type.
a.
b.
Computer Science & Information Technology
You might also like to view...
You can select a noncontiguous range of cells by pressing and holding the ________ key when using it in combination with other navigation keys and/or the mouse
A) Alt B) Ctrl C) F5 D) F7
Computer Science & Information Technology
What word would not describe an unbound control?
A) Dynamic B) Static C) Unchanging D) Decorative
Computer Science & Information Technology