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.
You might also like to view...
A relational database reduces redundant data
Indicate whether the statement is true or false
A ________ is a set of instructions that execute a sequence of commands to automate repetitive or routine tasks
Fill in the blank(s) with correct word