Dos and Linux Operating Systems Set 9


Which Linux command list the contents of parent directory?
  
    (A) "ls ~"
    (B) "ls */"
    (C) "ls /"
    (D) "ls .. /"

ls .. /

What is use of ?who? command in Linux?
  
    (A) login user
    (B) logout user
    (C) login password
    (D) logout password

login user

Which command is used to hide the file?
  
    (A) attrib -h filename
    (B) attrib +h filename
    (C) attrib /h filename
    (D) attrib h filename

attrib +h filename

Which command is used to release the read only permission?
  

    (A) attrib -r filename
    (B) attrib +r filename
    (C) attrib /r filename
    (D) attrib r filename

attrib -r filename

Write the Linux command to remove all the permission to the user and group on the directory 'software'?
  
    (A) chmod ug - rwx software
    (B) chmod ug - a software
    (C) chmod ug - A software
    (D) chmod ug - Rwx software

chmod ug - rwx software