Tag: operating systems

Questions Related to operating systems

  1. /usr/bin

  2. /etc/passwd

  3. /sbin/passwd

  4. /root/Desktop


Correct Option: B

What is the correct syntax of 'find the passwd file'?

  1. Find-name /etc

  2. Find/-name passwd

  3. Find -uid root -gid root -name passwd

  4. Find passwd


Correct Option: A

What is the name of the file where groups are added?

  1. /etc/grp

  2. /etc/groups

  3. /etc/group

  4. /usr/bin/group


Correct Option: C
  1. /etc/test vi

  2. vi /etc/test

  3. edit /etc/test

  4. None of these


Correct Option: B

Which of the following options delete a current line in vi editor?

  1. Del

  2. Dd

  3. DD

  4. Delete


Correct Option: A

Which of the following syntax creates a softlink?

  1. $ ln -s /etc/test test

  2. $ ln -softlink /etc/test test

  3. $ ln /etc/test test

  4. $ ln -slink /etc/test test


Correct Option: A
  1. It shows the first 20 lines

  2. It shows the first 10 lines

  3. It shows the first 50 lines

  4. It shows the first 5 lines


Correct Option: B