Sail E0 Webinar

MCQs

Total Questions : 155 | Page 1 of 16 pages
Question 1. Which option of rmdir command will remove all directories a, b, c if path is a/b/c
  1.    "“b
  2.    "“o
  3.    "“p
  4.    "“t
 Discuss Question
Answer: Option C. -> "“p


“p


Question 2. Which command is used to set limits on file size
  1.    fsize
  2.    flimit
  3.    ulimit
  4.    usize
 Discuss Question
Answer: Option C. -> ulimit


ulimit


Question 3. If a file is removed in Unix using 'rm' then
  1.    The file can be recovered by a normal user
  2.    The file cannot be recovered by a user
  3.    The file can be fully recovered provided the sytem is not rebooted
  4.    The file will be moved to /lost+found directory and can be recovered only by administrator's intervention
 Discuss Question
Answer: Option B. -> The file cannot be recovered by a user


The file cannot be recovered by a user


Question 4. Which represents the user home directory
  1.    /
  2.    .
  3.    ..
  4.    ~
 Discuss Question
Answer: Option D. -> ~


~


Question 5. Executing the 'cd ..' command when at the root level causes
  1.    Error message indicating the user can't access beyond the root level
  2.    Behavior is unix-flavor dependent
  3.    Results in changing to the 'home' directory
  4.    Nothing happens
 Discuss Question
Answer: Option D. -> Nothing happens


Nothing happens


Question 6. How do you rename file "new to file "old?
  1.    mv new old
  2.    move new old
  3.    cp new old
  4.    rn new old
 Discuss Question
Answer: Option A. -> mv new old


mv new old


Question 7. Any file's attribute information is stored in which structure on the disk
  1.    Inode
  2.    Data blocks
  3.    File blocks
  4.    Directory file
 Discuss Question
Answer: Option A. -> Inode


Inode


Question 8. What command is used to copy files and directories?
  1.    copy
  2.    cp
  3.    rn
  4.    cpy
 Discuss Question
Answer: Option B. -> cp


cp


Question 9. When mv f1 f2 is executed which file's inode is freed?
  1.    f1
  2.    f2
  3.    new inode will be used
  4.    implementation dependent
 Discuss Question
Answer: Option B. -> f2


f2


Question 10. By default if any regular file is created, the number of link is displayed as 1 ?
  1.    True
  2.    False
  3.    Can't be determined
 Discuss Question
Answer: Option A. -> True


True


Latest Videos

Latest Test Papers