单项选择题
You have read/write permission on an ordinary file foo. You have just run In foo bar. What would happen if you ran rm foo?()
A. foo and bar would both be removed.
B. foo would be removed while bar would remain accessible.
C. foo would be removed, bar would still exist but would be unusable.
D. Both foo and bar would remain accessible.
E. You would be asked whether bar should be removed.
相关考题
-
填空题
Whatapplicationcanbeusedinplaceofxhost?Pleaseenteronlythenamewithoutpath.Answer:() -
单项选择题
WhatisthedifferencebetweenthE.removeandthE.purgeactionwiththedpkgcommand?()
A. -remove removes the program, -purge also removes the config files
B. -remove only removes the program, -purge only removes the config files
C. -remove removes a package, -purge also removes all packages dependent on it
D. -remove removes only the package file itself, -purge removes all files related to the package -
单项选择题
Thecommandecho$!willproducewhatoutput?()
A. the process id of last background command
B. the exit status of the last command
C. the exit status of the last background command
D. the process id of the current shell
E. the name of the command being executed
