41. The command chmod 761 note is equivalent to A. chmod 167 note B. chmod u=rwx, g=rw, o=x note C. chmo a =761 note D. chmod 4=7, g=6,0 =1 note E. None of the above

chmod 167 note
chmod u=rwx, g=rw, o=x note
chmo a =761 note
chmod 4=7, g=6,0 =1 note E. None of the above

Detailed SolutionThe command chmod 761 note is equivalent to A. chmod 167 note B. chmod u=rwx, g=rw, o=x note C. chmo a =761 note D. chmod 4=7, g=6,0 =1 note E. None of the above

43. Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory? A. copy wb ../misc collect ../misc mon ../misc B. cp wb collect mon ../misc C. copy wb collect mon /misc D. tar wb collect mon /misc E. None of the above

copy wb ../misc collect ../misc mon ../misc
cp wb collect mon ../misc
copy wb collect mon /misc
tar wb collect mon /misc E. None of the above

Detailed SolutionWhich command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory? A. copy wb ../misc collect ../misc mon ../misc B. cp wb collect mon ../misc C. copy wb collect mon /misc D. tar wb collect mon /misc E. None of the above

46. Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories? A. rm * B. rm -r * C. rm all D. rm *.* E. None of the above

rm *
rm -r *
rm all
rm *.* E. None of the above

Detailed SolutionWhich command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories? A. rm * B. rm -r * C. rm all D. rm *.* E. None of the above

50. Which of the following commands is used to assign executable permission to the owner of the file named “note”? A. chmod g+x note B. chmod u+w note C. chmod u+x note D. chmod ugo+x note E. None of the above

chmod g+x note
chmod u+w note
chmod u+x note
chmod ugo+x note E. None of the above

Detailed SolutionWhich of the following commands is used to assign executable permission to the owner of the file named “note”? A. chmod g+x note B. chmod u+w note C. chmod u+x note D. chmod ugo+x note E. None of the above


Exit mobile version