Home
Current Affairs January 2024

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.

Correct Answer :

C. Show alphabet, line, word.


Related Questions

What is the correct answer?

4

While installing Linux, users can be created

A. True

B. False

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

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

To unmount a filesystem ________ command is ised

A. Umount

B. unmount

C. dismount

D. mount -u

What is the correct answer?

4

All run levels are stored in

A. /etc/fstab

B. /etc/init

C. /etc/inittab

D. /etc/rc.d

What is the correct answer?

4

Password is applied using

A. psswd

B. pssword

C. uerpasswd

D. passwd username

What is the correct answer?

4

Which command is used to see the content of a file

A. more

B. cp

C. cat

D. rmdir

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

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev

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

Linux is a ---------------Operating System

A. Single User

B. Multi User

C. Time Sharing

D. None of the above

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

Samba is actually a

A. Share

B. File server

C. File

D. None of the above

What is the correct answer?

4

________ gives information about an user

A. who

B. who am i

C. who -i

D. None of the above

What is the correct answer?

4

Samba password and user password are same

A. True

B. False

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

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

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

Shell is a

A. Program

B. Hardware

C. Account

D. None of the above

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

An user can login without password

A. True

B. False

What is the correct answer?

4

To view all the installed RPM packages use

A. rpm -qa

B. rpm -iv

C. rpm -h

D. rpm -I

What is the correct answer?

4

A swap partition is actually

A. Primary partition

B. Extended partition

C. Extended memory

D. Virtual memory

What is the correct answer?

4

If there is any problem with the command, the error is given by

A. Kernel

B. Shell

C. root

D. None of the above

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

init 6 is

A. Shutdown

B. Restart

C. Text mode

D. Graphics mode

What is the correct answer?

4

Linux mount partition must be a primary partition

A. True

B. False

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