What do the following commands do?

a) rm -f ~/personal/memo*.doc
b) rm -f ~/linuxbook/final/ch??.prn
c) rm -f ~/linuxbook/final/*.o
d) rm -f ~/courses/ece446/lab[1-6].[cC]


a) Force the removal of all the files in ~/personal directory that have .doc extension and whose names start with the string “memo”.
b) Force the removal of all the files in ~/linuxbook/final directory that have .prn extension and whose names are 4-character long, starting with the string “ch”.
c) Force the removal of all the files in ~/linuxbook/final directory that have .o extension.
d) Force the removal of all the files in the ~/courses/ece345 directory that have .c or .C extension (i.e., C or C++ source files) whose names are 4-character long, starting with the string “lab” and ending with a digit 1-6.

Computer Science & Information Technology

You might also like to view...

____ software provides tools to create and manipulate vector graphics.

A. Paint B. Drawing C. CAD D. Photo

Computer Science & Information Technology

When programs contain large amounts of data that must be accessed by functions, pointers to the data in functions are helpful because

A. they provide a way to access it. B. they don’t require their own copy of data in the program. C. the function can’t pass it to main(). D. main() doesn’t have a copy of data to pass to the function.

Computer Science & Information Technology

Which of the following commands provides the NetBIOS name of the computer?

a. net view /domain b. net view \system_name c. ping computer_name d. ping –A IP address

Computer Science & Information Technology

You can press ____ to reselect a selection.

a. Shift+Ctrl+R b. Ctrl+R c. Shift+Ctrl+D d. Ctrl+D

Computer Science & Information Technology