Tag: operating systems

Questions Related to operating systems

  1. checks for the existence of a file

  2. checks for existence of a directory

  3. checks for read permission on a file

  4. checks for write permission on a file


Correct Option: A
  1. cat *.txt -length=10

  2. disp 10 .txt

  3. head -10 *.txt

  4. print 10 *.txt


Correct Option: C
  1. grep test *

  2. lookup test *

  3. search test *

  4. dir test .


Correct Option: A
  1. ren FILE1 FILE2 - i

  2. ren FILE1 FILE2

  3. cp FILE1 FILE2

  4. mv FILE1 FILE2


Correct Option: D