Related Questions
What is the correct answer?
4
Suppose that a text file abc.txt that contains multiple lines, then how to print all complete lines with line numbers using AWK?
A. awk '{print NS,$1}' abc.txt
B. awk '{print NR,$0}' abc.txt
C. awk '{print NR,$1}' abc.txt
D. awk '{print NS,$1}' abc.txt
What is the correct answer?
4
Which of the following command is used to undo the last command in the vi editor?
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:
What is the correct answer?
4
Which of the following command is used to delete current line from the file?
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:
What is the correct answer?
4
Which exact command is used to show information about specified interface?
What is the correct answer?
4
What is the default size of MTU in the Linux operating system?
a) cat
b) file
c) help
d) man
Options:
What is the correct answer?
4
Which of the following operator is used to comment lines in a shell script file?
What is the correct answer?
4
Which of the following notations are correct for owners of a file?
a) a
b) o
c) u
d) g
Options:
What is the correct answer?
4
Which of the following commands are used to create files in the Linux Operating System?
a) cat
b) echo
c) touch
d) printf
Options:
What is the correct answer?
4
Which of the following symbol is used to match preceding character N times or more than N times?
What is the correct answer?
4
Which of the following command is used to enable the shell expansion?
What is the correct answer?
4
Which of the following information can be viewed using ifconfig command in the Linux operating system?
a) IP address
b) Mac address
c) MTU
d) All of the above
Options:
What is the correct answer?
4
What is the full form of JFS?
What is the correct answer?
4
Which of the following symbol is used to match the empty string at the beginning of a word?
What is the correct answer?
4
Which of the following command is used to delete scheduled tasks?
What is the correct answer?
4
Which of the following keyword is used to specify the time of 4pm in at command for scheduling tasks?
What is the correct answer?
4
Which exact command is used to see the calendar of the year 2020?
What is the correct answer?
4
Which exact command is used to create a user with a specified name for the home directory, here we will create a user with user1 name and name of the home directory will be MyHome?
A. useradd -m /MyHome user1
B. useradd -m -d /MyHome user1
C. useradd -m -h /MyHome user1
D. useraddhome /MyHome user1
What is the correct answer?
4
Which of the following number is used for read permission in the Linux operating system?
What is the correct answer?
4
By default, which files store output of the command that executed with nohup utility?
What is the correct answer?
4
Which of the following statements are the correct about grep command?
a) This command is used to filter the content of the file.
b) This command is not used to filter the content of the file.
c) We can search the specified word in the file using grep command.
d) There is no grep command that exists in the Linux operating system.
Options:
What is the correct answer?
4
Which of the following command is used to know about the swap memory of the system?
What is the correct answer?
4
Which command is used to enable/disable password for a particular user?
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?
What is the correct answer?
4
Which command is used to rename a file?
What is the correct answer?
4
There are the following statements are given below, which of them are the correct about the ps command in the Linux system?
a) This command is used to display information about processes running in the system.
b) This command displays the memory occupied by a system call.
c) This command displays the process id of the running processes.
d) This command displays the name of the running processes.
Options:
What is the correct answer?
4
Which exact command is used to change the group of a user in the Linux system?
What is the correct answer?
4
Which of the following directory contains the scripts related to service used in the Linux operating system?
D. /etc/services/scripts/
What is the correct answer?
4
Which of the following command is used to display the memory map of processes in the Linux system?