Home
About Us
Contact Us
Privacy Policy
Search
Home
→
Basic of linux unix
→
What command is used to count just the number of lines contained in a file ?
Related MCQs
Which of the following commands is used to assign executable permission to the owner of the file named “note” ?
What command is used with vi editor to append text at end of line ?
In OSI network architecture, the routing is performed by__________?
Which command will be used with vi editor to replace text from cursor to right ?
What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt) ?
What port does squid listen, by default ?
In vi editor, forward search is performed using the command?
What TCP/IP protocol is used for remote terminal connection service ?
Which of the following command can you execute to count the number of lines in a file ?
Which of the following is a valid format for mounting a CD-ROM drive ?
How many networks and nodes per network, are allowed by the Class B network?
What service is not monitored by inetd ?
Which of the following command can be used to rename a file in UNIX ?
What command is used to change the working directory ?
What types of installations require a special boot disk ?
In which tcp_wrappers file can you specify to allow all connections from all hosts ?
What command is used to display the characteristics of a process ?
The command used to remove the directory is__________?
Which of the following command is used to count just the number of lines contained in a file ?
Which shell’s wild-cards is used to match a single character ?
Which of the following is invalid filename ?
Which of the following keys is used to move the cursor to the end of the paragraph?
What command is used to list the jobs currently in print queues ?
What can he used to set up a firewall on a Linux system ?
Where can system and mail logs be found in Ret Hat Linux ?
What command is used to display a file contents in octal form ?
Which class network is used for a collection of a small number of networks with a large number of nodes ?
Which of the following command is used to access an SMB share on a Linux system ?
Which of the following command is used to create a Linux installation boot floppy ?
Which of the following signs is used to back up over typing errors in vi ?
Which of the following commands is not the vi Input mode command ?
Which command is used to save the standard output in a file, as well as display it on the terminal ?
Which of the following commands can be used to get information about yourself ?
If a file has read and write permissions for the owner, then the octal representation of the permissions will be__________?
The command chmod 761 note is equivalent to__________?
The command to count the number of files in the current directory by using pipes, is__________?
Which command is used to print a file ?
Which of the following commands can be used to get information about all users who are currently logged into the system ?
Which command is used to copy a file wb with the same name from the programs directory to the misc directory ?
Which of the following commands is used to get directory one level up ?
Which command will be used with vi editor to replace single character under cursor with any number of characters ?
Which of the following is not a filter ?
Which of the following commands is used to display your working directory ?
The % key allows you__________?
Which option will be used with ps command to slow the entire command line of the process being run ?
Which symbol is used to separate more than one command in the same command line ?
Which of the following commands is used to display the directory attributes rather than its contents ?
Which command is used to sort the lines of data in a file in reverse order__________?
What command is used to assign only read permission to all three categories of the file’letter’ ?
Who has developed the Linux ?
What command is used to count the number of files in the current directory by using pipes ?
What command is used to count just the number of lines contained in a file ?
A. wc – r
B. wc – w
C. wc – c
D. wc – l
Correct Answer:
D. wc – l
✔
Last Updated:
April 06, 2019