Home
Current Affairs January 2024

What is the correct answer?

4

Which of the following command is used to rename the file names that contain text with txt in the current directory?

A. rename 'r/txt/text' *

B. rename 'e/text/txt' *

C. rename 's/txt/text' *

D. rename 's/text/txt' *

Correct Answer :

D. rename 's/text/txt' *


Related Questions

What is the correct answer?

4

Which command is used to read data from the standard input device and write to the standard output and one or more files?

A. tea

B. tei

C. tie

D. tee

What is the correct answer?

4

Which of the following types of encodings are used by the strings command?
a) 16-bit little endian
b) 16-bit big endian
c) 7-bit byte ASCII
d) None of the above
Options:

A. A and B

B. B and C

C. A, B, and C

D. D

What is the correct answer?

4

Which of the following built-in variable is used that contains the name of the specified file in the AWK command?

A. NAME

B. FILENAME

C. FNAME

D. FN

What is the correct answer?

4

Which of the following statements are the correct about XXXcomm command?
a) The comm command is used to compare the data of two files.
b) It displays three columns in the output by default.
c) It displays two columns in the output by default.
d) The comm command is used to communicate with the TCP socket.
Options:

A. A

B. B

C. A and B

D. C and D

What is the correct answer?

4

Which of the following configuration file is used by updatedb command?

A. /etc/db.conf

B. /etc/locatedb.conf

C. /etc/updatedb.conf

D. /etc/update.conf

What is the correct answer?

4

There are the following statements that are given below, which of them is correct about Linux kernel?

A. The kernel is the main part of the Linux root file system.

B. The kernel is a core part of OS, which acts as a bridge between hardware and user programs.

C. The kernel is one kind of shell used by system calls.

D. None of the above

What is the correct answer?

4

Which of the following commands are used to kill a running process in the Linux system?
a) kill
b) killall
c) pkill
d) xkill
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

By default, how many last lines shown by tail command?

A. 5

B. 8

C. 10

D. 12

What is the correct answer?

4

Which of the following command is known as bang bang in the Linux operating system?

A. ##

B. ,

C. !!

D. @@

What is the correct answer?

4

Which command is used to create a new group in the Linux operating system?

A. creategroup

B. addgroup

C. groupadd

D. groupcreate

What is the correct answer?

4

Which command is used to remove a file?

A. remove

B. rm

C. rmfile

D. delete

What is the correct answer?

4

Which of the following directories contains binary files?
a) /sbin
b) /lib
c) /bin
d) /var
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 of the following is not the correct option used with route command?

A. add

B. delete

C. -net

D. -host

What is the correct answer?

4

Which command is used to see what permissions will be provided to the newly created file by default?

A. default

B. unmask

C. permissions

D. defperm

What is the correct answer?

4

Which of the following character is used to identify the symbolic link file in the output of ls command?

A. s

B. c

C. l

D. _

What is the correct answer?

4

Which command is used to know information about a password?

A. change

B. knowpass

C. passinf

D. info

What is the correct answer?

4

Which of the following directories does not take disk space?
a) /proc
b) /dev
c) /var
d) /home
Options:

A. A and B

B. A, B, and C

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

Which command is used to rename the existing group?

A. rename

B. rengroup

C. groupmode

D. groupmod

What is the correct answer?

4

Which of the following command is used to add a key to the SSH agent?

A. agent

B. ssh-agent

C. add-key

D. ssh-add

What is the correct answer?

4

What is the full form of GPL in Linux licensing?

A. Global Public License

B. General Private License

C. General Public License

D. Global Private License

What is the correct answer?

4

Which command is used to querying DNS to get mapping information about the domain name and IP address?

A. netstate

B. nslookup

C. netinfo

D. domainlookup

What is the correct answer?

4

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

A. uu

B. x

C. X

D. u

What is the correct answer?

4

Which command is used to compress a file?

A. zip

B. gzip

C. ezip

D. mzip

What is the correct answer?

4

Which of the following is the first process executed by the kernel during the booting time of the system?

A. crond

B. init

C. bootp

D. none of the above

What is the correct answer?

4

Which of the following commands are external commands in the Linux operating system?
a) cat
b) file
c) help
d) man
Options:

A. A and B

B. C and D

C. A, B, and D

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to change the only modification time of a file in the Linux operating system?

A. touch -m

B. touch -k

C. touch -p

D. touch l

What is the correct answer?

4

Which option is used to know only system running time using the uptime command?

A. -p

B. -u

C. -l

D. -k

What is the correct answer?

4

Which of the following are non-standard directories?
a) /lost+found
b) /var
c) /run
d) /cdrom
Options:

A. A and B

B. A and C

C. A, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following symbols are used for a regular expression in the Linux?
a) $
b) ?
c) _
d) +
Options:

A. A and B

B. A, B, and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which of the following types of regular expressions are used in the Linux operating system?
a) Basic Regular Expression
b) Extended Regular Expression
c) Crond Regular Expression
d) Perl Regular Expression
Options:

A. A and B

B. A, B, and D

C. A, B, and C

D. A, B, C, and D