Unix - Study Mode

[#1086] Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories?
Correct Answer

(B) rm -r *

[#1087] Which of the following commands is used to change the working directory?
Correct Answer

(A) cd

[#1088] Which of the following commands is used to view your file 24 lines at a time?
Correct Answer

(A) pg

[#1089] Which shell's wild-cards is used to match a single character?
Correct Answer

(B) ?

[#1090] In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory.
Correct Answer

(B) .profile