Home
Current Affairs January 2024

What is the correct answer?

4

Output of 'sort > shoppinglist' is

A. Sorting file but not save in file.

B. Without sorting but save in file.

C. Sorting and save in a file.

D. All of the above.

Correct Answer :

C. Sorting and save in a file.


Related Questions

What is the correct answer?

4

Read & Write permission means

A. 1

B. 6

C. 2

D. 0

What is the correct answer?

4

mkdir - p is used for

A. Making directory under parent directory.

B. Making directory non existing parent directory.

C. Specified the mode of directory.

D. None of the above

What is the correct answer?

4

In comm the 2nd column displays

A. Lines unique in the first file

B. Lines unique in the second file

C. Lines common in the both file

What is the correct answer?

4

The mounted partition information is stored in

A. /etc/passwd

B. /etc/fstab

C. /etc/inittab

D. /sbin/lilo

What is the correct answer?

4

The core of Linux OS is also called

A. Kernel

B. Shell

C. root

D. bash

What is the correct answer?

4

wc -l will give the

A. Number of lines

B. Number of characters

C. Number of words

D. All of the above

What is the correct answer?

4

To create multiple directories in one shot ________ is used

A. mkdir

B. mkdir -a

C. mkdir -p

D. mkdir -h

What is the correct answer?

4

The encrypted password is stored in which field of /etc/password file ?

A. first

B. second

C. third

D. last

What is the correct answer?

4

Output of the command 'wc <filename>' is

A. Show only line

B. Show only word.

C. Show alphabet, line, word.

D. Show only file name.

What is the correct answer?

4

To give all permission to a file to all users the command is
all of the above

A. chmod a+777 file

B. chmod a+rwx file

C. chmod ugo+7 file

D. none of the above

What is the correct answer?

4

/dev is used for

A. Executable file

B. Contains include file

C. Contain compiler file.

D. Device file & resource file.

What is the correct answer?

4

Linux mount partition must be a primary partition

A. True

B. False

What is the correct answer?

4

An user can login without password

A. True

B. False

What is the correct answer?

4

To delete user the command is

A. rm <username>

B. delete <username>

C. userdel <username>

D. any one of the above

What is the correct answer?

4

When an user is deleted it home directory contents are also deleted

A. True

B. False

What is the correct answer?

4

Which command is used to see the system date?

A. Time

B. Date

C. Month

D. None of these

What is the correct answer?

4

The command for changing the permission relating to files is

A. ls-l

B. head

C. tail

D. chmod

What is the correct answer?

4

The type of shell mostly used for Linux is

A. bash

B. korn

C. bourne

D. C-shell

What is the correct answer?

4

Which command is used to compare files?

A. cmp

B. diff

C. head

D. All of these

What is the correct answer?

4

While installing Linux, users can be created

A. True

B. False

What is the correct answer?

4

Protocols used by Linux are

A. TCP/IP &UUCP

B. UDP & UUCP

C. PPP & UDP

D. None of the above

What is the correct answer?

4

ls - t is used for

A. Sort by name

B. Sort by date

C. Sort by time stamp

D. Sort by alphabetic order

What is the correct answer?

4

To setup a Firewall, the command is

A. ntsysv

B. setup

C. /etc/firewall

D. /etc/install

What is the correct answer?

4

ls j?e - output will be

A. Filenames with 3 charcter

B. Filenames with 4 charcter

C. Filenames with 5 charcter

D. Filenames with 10 charcter

What is the correct answer?

4

The command to view the partition information is

A. fsck

B. fstab

C. fdisk

D. diskdruid

What is the correct answer?

4

What is the meaning of chmod 444 stuf?

A. Gives all user write permission.

B. Gives all user execute permission.

C. Gives all user read permission.

D. All of the above.

What is the correct answer?

4

Linux kernel file name is

A. vmlinux

B. vmlinuz

C. lynx

D. linux

What is the correct answer?

4

To search a pattern in a file _________ can be used

A. grep

B. egrep

C. find

D. search

What is the correct answer?

4

Linux is a

A. Multi Tasking OS

B. Multi User OS

C. Dedicated Server

D. All of the above

What is the correct answer?

4

For a user _______ is an autoexec.bat equivalent file in Linux

A. .bashrc

B. .bash_rc

C. .bash_profile

D. .bashprofile