Home
Current Affairs January 2024

What is the correct answer?

4

The main function of grep is

A. look for numeric

B. look for string match a regular expression..

C. look for string without regular expression.

D. None of them.

Correct Answer :

B. look for string match a regular expression..


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

To check if a service is running, the command is

A. Ntsysv

B. setup

C. /etc/rc.d/init.d/service

D. /etc/serice

What is the correct answer?

4

_______ is used to rename files

A. ren

B. move

C. rename

D. mv

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

During Linux booting the init program is called by

A. ROM

B. Bootstrap

C. Sysinit

D. Kernel

What is the correct answer?

4

The main function of grep is

A. look for numeric

B. look for string match a regular expression..

C. look for string without regular expression.

D. None of them.

What is the correct answer?

4

A user is logged in on a terminal; root tries to delete the user. Will the user be deleted?

A. Yes

B. No

What is the correct answer?

4

init 6 is

A. Shutdown

B. Restart

C. Text mode

D. Graphics mode

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

who -h is used to

A. Print column headings

B. Hide detail.

C. Hide user name.

D. All of the above.

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

To get information about the Ethernet card, ___________ command is used

A. ipconfig

B. ifconfig

C. eth0

D. man Ethernet

What is the correct answer?

4

Default file system type of Linux is

A. etx

B. ext2

C. etx3

D. mimix

What is the correct answer?

4

Samba is actually a

A. Share

B. File server

C. File

D. None of the above

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

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

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

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

A. .bashrc

B. .bash_rc

C. .bash_profile

D. .bashprofile

What is the correct answer?

4

To start graphics mode use

A. init 3

B. init 5

C. init 0

D. init 6

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

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

/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

To see the process status which command you will use?

A. chmod

B. ps

C. ls-l

D. head

What is the correct answer?

4

Hidden file can be viewed using

A. ls -l

B. ls -a

C. ls -h

D. None of the above

What is the correct answer?

4

What will be the output of the command 'tail sample'?

A. Last 10 lines of the file.

B. Last 15 lines of the file

C. Last 5 lines of the file

D. First 10 lines of file.

What is the correct answer?

4

Which command is used for character translation?

A. td

B. vi

C. tr

D. tail

What is the correct answer?

4

-wxrwx-x is equivalent to

A. 567

B. 675

C. 571

D. 672

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

The symbol of wildcard(s) is

A. w

B. `

C. ? *

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