Home
Current Affairs January 2024

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

Correct Answer :

A. Number of lines


Related Questions

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

________ 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

User passwords are stored in

A. /etc/password

B. /root/password

C. /etc/passwd

D. /root/passwd

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

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

While installing Linux, users can be created

A. True

B. False

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.

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

There can be only ----- job in foreground.

A. 1

B. 2

C. 3

D. 4

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 to view the partition information is

A. fsck

B. fstab

C. fdisk

D. diskdruid

What is the correct answer?

4

cat > abc, if the requested file does not exist, error will be given by

A. Kernel

B. Shell

C. root

D. None of the above

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

Samba is actually a

A. Share

B. File server

C. File

D. None of the above

What is the correct answer?

4

_______ will add contents to an existing file

A. cat > file

B. cat >> file

C. cat file | file1

D. cat file > file1

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

Read & Write permission means

A. 1

B. 6

C. 2

D. 0

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

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

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

To change the ownership of a file use

A. chmod

B. chgrp

C. chown

D. change

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

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

A. True

B. False

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

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev

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

An user can login without password

A. True

B. False

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

To start graphics mode use

A. init 3

B. init 5

C. init 0

D. init 6

What is the correct answer?

4

Which command is used for character translation?

A. td

B. vi

C. tr

D. tail