adplus-dvertising
frame-decoration

Question

Which command is used to count just the number of characters in a file?

a.

wc - 1

b.

wc -c

c.

wc -w

d.

wc -r

Answer: (b).wc -c

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command is used to count just the number of characters in a file?

Similar Questions

Discover Related MCQs

Q. Which of the following commands is used to list contents of directories?

Q. Which command is used to display a file contents in octal form?

Q. Which command will be used with vi editor to insert text to left of cursor?

Q. In vi editor, forward search is performed using the command.

Q. Which of the following special shell variables is used to process number of the last background job?

Q. Which option will be used with ps command to slow the entire command line of the process being run?

Q. Which of the following command addresses all users who are currently hooked on?

Q. Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it

Q. Which of the following directories contain all the Alias created by a user, including his login directory?

Q. Which of the following commands is used to obtain a list of all files by modification time?

Q. The % key allows you

Q. Which command is used to display the characteristics of a process?

Q. Which of the following commands is used to identify the type of file by context?

Q. The field separator in cut command is specified with

Q. Which of the following options will be used to display number of blocks used by a file?

Q. Which option will be used with touch command to change the access time?

Q. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

Q. Which command is used to display and create files?

Q. The second set of the three permissions (r-) indicates that

Q. Which column contains all details of the permissions of a file when you issue the ls -l command?