Answer Posted / samrat biswal
wc -l <file_name> will display the number of lines present
in that file or the record count
wc -w <file_name> will display the number of words present
in that file
wc -c <file_name> will display the number of character
present in that file
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Give the command for finding the current date.
How do I run a bash script?
Write a command to kill the last background job?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Why is it called a shebang?
what is the advaantage of each user having its own copy of the shell?
What is “chmod” command?
What are the commands in UNIX to list the files in a Directory?
Who wrote grep?
What is command substitution?
How does shebang work?
What are file commands?
What do chgrp command do?
What are grep patterns?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.