0

operating systems Online Quiz - 41

Description: operating systems Online Quiz - 41
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

What does the pwd command do?

  1. It changes the password of user

  2. It shows the current path where the user is

  3. It shows the passwd file

  4. It shows information about Linux architecture


Correct Option: B

What is the use of touch command?

  1. It makes a new empty file

  2. It displays the contents of a file

  3. It updates the pre existing file

  4. It makes a new directory


Correct Option: A
  1. /usr/bin

  2. /etc/passwd

  3. /sbin/passwd

  4. /root/Desktop


Correct Option: B
  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

What is the correct format to open the file /etc/test into the vi editor?

  1. /etc/test vi

  2. vi /etc/test

  3. edit /etc/test

  4. None of these


Correct Option: B
  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

Command for custom oriented output on PS command is?

  1. ps -o

  2. ps -l

  3. ps -c

  4. ps -u


Correct Option: A

Command for copying files?

  1. ls

  2. cd

  3. mv

  4. cp


Correct Option: D

Command to connect to a remote machine to download or upload files?

  1. ftp

  2. print

  3. more

  4. wc


Correct Option: A

Command for display first part of file?

  1. tail

  2. tar

  3. head

  4. telnet


Correct Option: C

Command to create a new directory.?

  1. mode

  2. lh

  3. md

  4. more


Correct Option: C
- Hide questions