Explain what could be different if the following line were put in your ~/.log- out file instead:

rm $HOME/.trash/*


There are several differences between this rm command and the one that
starts with /bin/rm. The first command uses an absolute pathname, ensur-
ing that the system rm command is used, as opposed to a potentially bogus
command that could just move your files to a directory for inspection by a
malicious user. The –f option forces files to be removed even if you do not
have write permission for the file. The first command gets rid of error mes-
sages, while the second one displays them on the screen as you log out.

Computer Science & Information Technology

You might also like to view...

What is the purpose of the sizeof operator in C++?

A. There is no sizeof operator in C++. B. To return the total number of bytes of the program. C. To report if the system has enough memory for the data variables. D. To report the number of bytes of storage reserved for a given variable or datatype.

Computer Science & Information Technology

A user should be able to complete all related tasks under a single navigation form rather than having to move from form to form to find different tasks

Indicate whether the statement is true or false

Computer Science & Information Technology

The _________ is a temporary storage area in Windows on which objects are stored when you copy or move them. A. Clipboard B. Navigation pane C. Attachment D. Copy area

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following will result in an interface with an err-disabled state?

A) There is a speed mismatch between the router and switch. B) The router interface has been configured with the shutdown interface subcommand. C) The neighboring switch port uses port security. D) The router has cable pinouts that are incorrect.

Computer Science & Information Technology