Write a program called nf to display the number of files in your current directory. Type in the program and test it out

What will be an ideal response?

# nf -- number of files in current directory

echo "Number of files in the current directory:"
ls * | wc -l
exit 0

Computer Science & Information Technology

You might also like to view...

Which of the following is the largest?

A) gigabyte B) megabyte C) petabyte D) terabyte

Computer Science & Information Technology

Holly has a research assignment that requires multitasking with Word files, Excel files, PowerPoint presentations and Public Document Format (PDF) files she has downloaded from the Internet.Because she has several programs open at once, Holly often uses the ____ to collapse a program window to an icon on the right side of the Dock.

A. close button B. zoom button C. size control D. minimize button

Computer Science & Information Technology