Site icon T4Tutorials.com

OS MCQs Chapter Wise

1. : In what directory does the command $ cp file_01 . copy the file named file_01?

(A) parent


(B) current


(C) root


(D) user



2. : The absolute pathname is pathname relative to:

(A) The parent directory


(B) The parent and current directory


(C) The root (/)


(D) The current directory



3. : What is the output of the command: $ cp abd/ .user_06?

(A) undefined behaviour


(B) It copies the .user_06 file into the parent directory of directory named abd


(C) It copies the .user_06 file into the current directory


(D) erroneous output



4. : What is the symbol used to separate (..) to move two levels up in the file hierarchy system using the cd command once?

(A) ?


(B) /


(C) *


(D) $



5. : The relative pathname is a pathname relative to:

(A) The parent directory


(B) The root (/)


(C) The current directory


(D) The parent and current directory



6. : Which cryptic symbols are used in the relative pathname?

(A) (.) and (..)


(B) (..)


(C) $


(D) (.)



7. : In the file hierarchy, $ cd .. is used to move how many levels up?

(A) two


(B) zero


(C) three


(D) one



Exit mobile version