0

operating systems Online Quiz - 56

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

what is the command to view the last 20 command issued?

  1. View

  2. history -20

  3. Prev 20

  4. Last 20

  5. None of the above


Correct Option: B

Users on your network cannot print to a Linux printer. You decide to restart the printer daemon, which command would achieve that?

  1. topq printer-name

  2. enable printer-name

  3. restart printer-name

  4. up printer-name

  5. None of the above


Correct Option: C

What is "tin"?

  1. Terminal Interpreter

  2. The command is to change the time

  3. The command to compare text files

  4. A newsreader

  5. The command to compile


Correct Option: D

What are the file attributes for executing Perl programs?

  1. 666

  2. 755

  3. 766

  4. 777


Correct Option: B

lets you connect to a remote host

  1. rlogin

  2. remote

  3. login

  4. ftp


Correct Option: A

returns your username

  1. whoru

  2. username

  3. whoami

  4. none


Correct Option: C

a textual World Wide Web browser

  1. link

  2. lynx

  3. web

  4. emacs


Correct Option: B

best compression for UNIX files

  1. zipplus

  2. winrar

  3. winzip

  4. gzip


Correct Option: D

what is the command use to send email with subject?

  1. mail -sub "subname"

  2. mail -s "subname" "emailid"

  3. mail "emailid" (sends an email with default sub line))

  4. none


Correct Option: B

display last part of file

  1. less

  2. last

  3. tail

  4. more


Correct Option: C

Use this command to count the number of characters, words, and lines in a file

  1. wc

  2. count

  3. cant count words in a file

  4. number


Correct Option: A

It reads the standard input and sends it to the standard output while redirecting a copy of what it has read to the file specified by the user.

  1. tee

  2. foo

  3. log

  4. emacs


Correct Option: A

Which of the following commands is not a filter?

  1. cat

  2. man

  3. pg

  4. head


Correct Option: B

Which of the following is true?

  1. UNIX is a widely used mail system

  2. UNIX is case sensitive

  3. UNIX has a graphical user interface

  4. All of the above are true


Correct Option: D

What is inode?

  1. File status indicator

  2. It is stored in both disk and memory and tracts file status

  3. There is one inode for each file on the system

  4. All the above

  5. None of the above


Correct Option: D

Output of below code is: main() { fork(); fork(); fork(); printf("Hello"); }

  1. "Hello" will be printed 3 times

  2. "Hello" will be printed 4 times

  3. "Hello" will be printed 8 times

  4. Error


Correct Option: C

Which is the not valid state of Unix process?

  1. Waiting

  2. stopped

  3. Zombie

  4. None


Correct Option: D

Which command is used to change your password?

  1. password

  2. pass

  3. passwd

  4. pwd


Correct Option: C

Which command allows you to determine if a host is connected to the Internet?

  1. ping

  2. cmd

  3. nalookup

  4. ls-la


Correct Option: A

The fork() function is used to create a new process from an existing process.

  1. True

  2. False


Correct Option: A
- Hide questions