0

operating systems Online Quiz - 96

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

To create an empty file, what command is used?

  1. feel

  2. touch

  3. make

  4. finger


Correct Option: B

UNIX is a multi-user operating system. (True or False)

  1. True

  2. False


Correct Option: A
Explanation:

To solve this question, the user needs to know what a multi-user operating system is. A multi-user operating system is an operating system that allows multiple users to access and use a single computer system simultaneously. This type of operating system is commonly used in large organizations and institutions where many users need access to the same resources.

The correct answer is:

A. True

  1. Preserve Working Directory

  2. Present Workspace Directive

  3. Preserve Workable Diskspace

  4. Present Working Directory


Correct Option: D

There is only one distribution/version of Linux?

  1. True

  2. False


Correct Option: A
  1. pass -change

  2. changepword

  3. chpassword

  4. passwd


Correct Option: D
  1. An E-mail client

  2. A text editor

  3. The UNIX telnet service

  4. An FTP client


Correct Option: B
  1. test $a -eq $b

  2. test $a -equal $b

  3. test $a = $b

  4. sh -c test $a == $b


Correct Option: A
  1. sleep 1 & echo $#

  2. test sleep 1

  3. sleep 1 & echo $?

  4. sleep 1 & echo $!


Correct Option: A,C
  1. $abc=xyz; echo $abc

  2. abc=xyz ; echo $abc

  3. export abc=xyz ; echo $abc

  4. abc=xyz; export abc=xyz ; echo $abc


Correct Option: D
  1. mv new old

  2. none

  3. cp new old

  4. rm new old


Correct Option: A
  1. 2> filename

  2. 1> filename

  3. &> filename

  4. 2> /dev/null


Correct Option: D

What command do you have to use to go to the parent directory?

  1. cd -

  2. cd ..

  3. cd ~

  4. cd /up


Correct Option: C
  1. rm filename

  2. less filename

  3. touch filename

  4. dl filename


Correct Option: A

With what can you stop a process?

  1. stop

  2. kill

  3. delete

  4. shupdown


Correct Option: B

What does the command ls do?

  1. isplay of the contents of a file

  2. Shows a calendar

  3. Display of files and folders, present in the folder where you are

  4. Opening a file


Correct Option: C
  1. command < file

  2. command >> file

  3. command << file

  4. command <> file


Correct Option: B

How to create a new file without opening it?

  1. pico filename

  2. cat filename

  3. more filename

  4. touch filename


Correct Option: D

AI Explanation

To create a new file without opening it, you can use the touch command.

Option A) pico filename - This option is incorrect because pico is a text editor, not a command to create a new file without opening it.

Option B) cat filename - This option is incorrect because cat is a command used to display the contents of a file, not create a new file.

Option C) more filename - This option is incorrect because more is a command used to view a file one screen at a time, not create a new file.

Option D) touch filename - This option is correct because the touch command is used to create a new file without opening it. It updates the access and modification timestamps of the file, and if the file does not exist, it creates an empty file with the specified name.

The correct answer is Option D.

With what command you can see your user name?

  1. pwd

  2. me

  3. i

  4. whoami


Correct Option: D

With what command you can see what folder you are in?

  1. whereami

  2. place

  3. pwd

  4. trace


Correct Option: C

Which structure is found inside journal file system?

  1. mcells

  2. fragments

  3. inodes table

  4. cylinder group


Correct Option: C
  1. execute a remote command

  2. log in and initiate a shell on a remote system

  3. This is a restricted shell on HP-UX.

  4. grant read-only access to a system


Correct Option: C

Which shell does not have history feature?

  1. Bourne shell

  2. Korn shell

  3. C shell

  4. POSIX shell


Correct Option: A
- Hide questions