Tag: operating systems

Questions Related to operating systems

  1. rm /home/Mydir/Fold1

  2. remove /home/Mydir/Fold1

  3. rm -r /home/Mydir/Fold1

  4. rmdir /home/Mydir/Fold1


Correct Option: C
  1. grep -l file find . -type f

  2. Find . -type f | grep file

  3. ls -1 | grep file

  4. grep file ls -1


Correct Option: A
  1. &> filename

  2. 1> filename

  3. 2> /dev/null

  4. 2> filename


Correct Option: D
  1. vi filename

  2. touch filename

  3. cat filename

  4. more filename


Correct Option: B
  1. command <> file

  2. command > file

  3. command | file

  4. file > command


Correct Option: B
  1. date

  2. day

  3. calendar

  4. month


Correct Option: C
  1. search a pattern

  2. grape juice

  3. grip a file

  4. compress a file


Correct Option: A
  1. list all files

  2. list all hidden files

  3. list files with inode number

  4. list files starting with i


Correct Option: C
  1. editor

  2. variable

  3. object

  4. class


Correct Option: A
  1. change moderators

  2. change permission mode

  3. change mind set

  4. change nothing


Correct Option: B