Home
Current Affairs January 2024

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

Correct Answer :

B. ls -a


Related Questions

What is the correct answer?

4

Linux is a dedicated server

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

To access a directory the minimum permission required is

A. r

B. w

C. x

D. All

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

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

To remove a directory which is not empty ____ is used

A. rmdir

B. rmdir -r

C. rm -r

D. rm

What is the correct answer?

4

To delete an user along with its home directory, the command is

A. userdel -d username

B. userdel -D username

C. userdel -r username

D. userdel -R username

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

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

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

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

________ 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

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

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

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

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

sort file, will sort the contents of the file and the effect will be reflected in the file

A. True

B. False

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

-wxrwx-x is equivalent to

A. 567

B. 675

C. 571

D. 672

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

_______ 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

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

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

The command to check a partition is

A. fsck

B. fstab

C. fdisk

D. diskdruid

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

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

Home directory of root is

A. /home

B. /bin

C. /root

D. /boot

What is the correct answer?

4

The X-Window system in Linux is a

A. program development environment

B. graphical user interface

C. tool to connect Linux with Windows

D. none of the above

What is the correct answer?

4

All device files are stored in

A. /device

B. /etc/dev

C. /bin

D. /dev