Home
Current Affairs January 2024

What is the correct answer?

4

Which command is used to cut a file from one location and paste to the other location?

A. cut

B. ct

C. move

D. mv

Correct Answer :

D. mv


The mv command is used to cut a file from one location and paste it to the other location.

Related Questions

What is the correct answer?

4

Which of the following commands are built-in shell commands in the Linux operating system?
a) pwd
b) cd
c) export
d) echo
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which exact command is used to list the files and directories with the size of the file or directory?

A. ls -l

B. ls -s

C. ls -k

D. ls -h

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

What is the full form of JFS?

A. Just File System

B. Journaled File System

C. Joint File System

D. Joker File System

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about touch command in Linux?
a) It is used to create empty files.
b) It is used to update the timestamp of the existing file.
c) It is used to write formatted data into the file.
d) It is used to view the content of the file.
Options:

A. A and B

B. B and C

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which command is used to execute a command based on the number assigned in the command history, here we denote command history number by N?

A. !N

B. #N

C. $N

D. !!N

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 files gets edited when we create a new in Linux operating system?
a) /etc/group
b) /etc/shadow
c) /etc/gshadow
d) /etc/passwd
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about Regular expressions in the Linux operating system?
a) The regular expressions are strings that are used for pattern matching in some Linux commands.
b) The regular expressions are also known as a regex.
c) The regular expressions use some characters that each has a different meaning.
d) Regular expressions can only be used in the Linux commands.
Options:

A. A and B

B. C and D

C. A, B, and C

D. A, B, C, and D

What is the correct answer?

4

Which of the following command is used to configure a public key at the SSH server for a user?

A. ssh-copy-id

B. ssh-public-key

C. ssh-public-id

D. ssh-copy-key

What is the correct answer?

4

What status is returned on an error by the updatdb command?

A. 0

B. 1

C. 2

D. 3

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 exact command is used to remove a user from the group in the Linux system?

A. delgroup d

B. remusr d

C. gpasswd -d

D. rm d

What is the correct answer?

4

In which year vi editor was developed?

A. 1976

B. 1980

C. 1982

D. 1988

What is the correct answer?

4

The grep stands for?

A. Global Regular Expression Print

B. General Regular Expression Pegging

C. General Regular Expression Post

D. Global Regular Expression Post

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 Linux command is used to assign a password to the created user?

A. password

B. newpass

C. passwd

D. pwd

What is the correct answer?

4

Which Linux command is used to know, how long a computer has been running?

A. startup

B. uptime

C. startuptime

D. time

What is the correct answer?

4

There are the following statements that are given below, which of them are correct about the id command in the Linux operating system?
a) This command describes the user id.
b) This command describes the group id.
c) This command describes the list of groups belongs to the user.
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

How to print non-empty line from the given file using AWK?

A. awk 'NF > 0'

B. awk 'NF'

C. awk 'NE > 0'

D. awk 'NE'

What is the correct answer?

4

Which exact command is used to change the group of a user in the Linux system?

A. usermod -g

B. usermod -g

C. usermod -c

D. usermod -c

What is the correct answer?

4

There are the following options that are given below, which of them are not correct environment variables used in the Linux operating system?

A. USERID

B. ENV

C. EDITOR

D. USER

What is the correct answer?

4

What are the basic components of the Linux operating system?
a) Kernel
b) Kernel Modules
c) Shared Libraries
d) User Programs
Options:

A. A and B

B. A, B, and C

C. B, C, and D

D. A, B, C, and D

What is the correct answer?

4

Which of the following directories that contain the executable binary files that require root privileges to perform tasks?

A. /sbin

B. /lib

C. /bin

D. /opt

What is the correct answer?

4

Which of the following directory contains device files?

A. /device

B. /devfile

C. /dev

D. /sys

What is the correct answer?

4

Which directory contains grub configuration file?

A. /lib

B. /usr

C. /boot

D. /etc

What is the correct answer?

4

Which Linux command is used to create an encrypted password?

A. encrypt passwd

B. secure passwd

C. openssl passwd

D. All the above

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 command is used to check a Linux command is a built-in shell command or external command?

A. cmdtype

B. type

C. ctype

D. commandtype

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. ||