Home
Current Affairs January 2024

What is the correct answer?

4

In which unit, time passed in sleep command by default?

A. Seconds

B. Minutes

C. Milliseconds

D. Microseconds

Correct Answer :

A. Seconds


By default time passed in seconds in sleep command.

Related Questions

What is the correct answer?

4

Which of the following characters are used for wildcards in the Linux operating system?
a) ?
b) *
c) []
d) <> 
Options:

A. A and B

B. A and C

C. A, B, and C

D. D

What is the correct answer?

4

How to change the normal user to root user using the terminal in the Linux operating system?

A. Using sudo command

B. Using su command

C. Using super command

D. None of the above

What is the correct answer?

4

Which of the following command is used to update the database used by the locate command?

A. updatelocate

B. updatelocatedb

C. locatedb

D. updatedb

What is the correct answer?

4

There are the following commands that are given below, which of them are correct locate command in the Linux operating system?
a) The locate command is also used to search a file.
b) The locate command searches the file into the database.
c) The locate command slower than find command.
d) The locate command search file in MySQL database only.
Options:

A. A and B

B. A and C

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to kill a process by name?

A. killall

B. kill -n

C. kill -p

D. kill -s

What is the correct answer?

4

What is the full form of AWK?

A. Active Working Kit

B. Active Well Kudos

C. Aho Weinberger Kernighan

D. Anderson Washington Kernighan

What is the correct answer?

4

Which of the following environment variables contains the path of the user's unique id?

A. UID

B. USERID

C. USRID

D. ID

What is the correct answer?

4

Which of the following command is used to replace the specific word, for example we want to replace inclusion by exclusion?

A. echo inclusion | sed 's/in/ex'

B. echo inclusion | sed 's/ex/in'

C. echo inclusion | sed 'r/in/ex'

D. echo inclusion | sed 'R/in/ex'

What is the correct answer?

4

Which of the following statements are the correct about XXXwc command?
a) This command is used to count the lines of a file.
b) This command is used to count the words of a file.
c) This command is used to count the characters of a file.
d) All the above.
Options:

A. A and B

B. A and C

C. B and C

D. D

What is the correct answer?

4

Which of the following option is used for a basic regular expression in the grep command?

A. -B

B. -G

C. -P

D. -E

What is the correct answer?

4

Which exact command is used, when we want to add execute permission to all owners of the file?

A. chmod all x

B. chmod ax

C. chmod a+x

D. None of the above

What is the correct answer?

4

There are the following statements that are given below, which of them are correct system libraries in Linux operating system?
a) System libraries are a special program.
b) We can use kernel functionalities using system libraries.
c) System libraries are user programs.
d) System libraries used system calls.
Options:

A. A and B

B. B and C

C. A, B, and D

D. A, B, and C

What is the correct answer?

4

Which of the following terminal command is used to send an email?

A. email

B. mail

C. electronicmail

D. mailcmd

What is the correct answer?

4

Which command is used to check the type of file?

A. type

B. file

C. filetype

D. filetypes

What is the correct answer?

4

Which of the following commands are used to display the information about the Linux commands?
a) man
b) info
c) infocmd
d) All the above
Options:

A. A and B

B. A, B, and C

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to find files whose permissions are 765 in the current directory?

A. find . -perm 765

B. find . -per 765

C. find . -p 765

D. find . -prm 765

What is the correct answer?

4

Which of the following command is used to repeat the last command in the vi editor?

A. Dot (.)

B. !

C. @

D. $

What is the correct answer?

4

Which of the following operator is used to execute multiple commands in a single line?

A. ;

B. %

C. &&

D. ||

What is the correct answer?

4

There are the following statements that are given below which of them are correct about the tracepath command in the Linux operating system?
a) It is also used for network troubleshooting.
b) This command requires root privileges.
c) By default, it is installed in the Linux system
d) All of the above
Options:

A. A and B

B. B and C

C. A and C

D. D

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about GID in the Linux operating system?
a) GID is a group identification number that is used it identify a group in Linux OS.
b) GID is provided by the Linux operating system to the newly created group.
c) GID is provided by the user who created the group in the Linux operating system.
d) GIDs are stored in /etc/group file.
Options:

A. A and B

B. A, B, and D

C. A, B, and C

D. B, C, and D

What is the correct answer?

4

There are the following statements that are given below, which of them are the correct about the uptime command in the Linux system?
a) We can get the current system time using uptime command.
b) We can get the number of users logged in, using uptime command.
c) This command also displays CPU load average.
d) This command also displays the duration for which the computer has been running.
Options:

A. A and B

B. B and D

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

The scope of an environment variable can be?

A. Local

B. Global

C. Both

D. None

What is the correct answer?

4

Which option is used in sort command, if we want to sort the content of the file based on a specific column number?

A. -c

B. -k

C. -n

D. -f

What is the correct answer?

4

How can we differentiate between file and directory from the output of ls command?

A. Directories are mentioned in capital letters in the output of ls command.

B. The d character is used before permissions in the output of ls command.

C. Both of the above

D. None of the above

What is the correct answer?

4

Which of the following command is used to change the group owner of a file?

A. group

B. chgroup

C. chown

D. chgrp

What is the correct answer?

4

Which of the following command is used to display the last executed commands list?

A. lastcmd

B. last

C. history

D. chistory

What is the correct answer?

4

Which of the following command is used to extract text from binary or executable files in the Linux operating system?

A. strings

B. string

C. str

D. strbin

What is the correct answer?

4

Which run-level is used with the init command to reboot the system?

A. 0

B. 1

C. 4

D. 6

What is the correct answer?

4

Which of the following symbol is used to match the empty string at the edge of a word?

A. \

B. >

C. B

D. 

What is the correct answer?

4

Which of the following is not a data directory?

A. /mnt

B. /root

C. /home

D. /proc