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
  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

The user's current path is /root/Desktop/abc. If he runs $ cd ../../../ what will be the user's HIS current path?

  1. /

  2. /root/

  3. /root/Desktop

  4. /root/Desktop/abc


Correct Option: A

From where can the passwd file be accessed?

  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
  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 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

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 creating and displaying short files?

  1. cat

  2. chmod

  3. cd

  4. cp


Correct Option: A

Command for Changing permision.

  1. cat

  2. chmod

  3. cd

  4. cp


Correct Option: B

Command for changing directory?

  1. mv

  2. cp

  3. more

  4. cd


Correct Option: D

Command for copying files?

  1. ls

  2. cd

  3. mv

  4. cp


Correct Option: D

Command for display date?

  1. echo

  2. date

  3. head

  4. grep


Correct Option: B

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