Linux cat command Example | Linux print file content on terminal
Linux chown Command In Hindi : chown Command Examples
AWS S3-Snowflake Pipeline Example | Snowflake Tutorials In Hindi
Web developer roadmap : How to become web developer ? web development kya hai ?
Generator Functions In JavaScript In Hindi | JavaScript Generator Functions
Variables In Snowflake In Hindi | Snowflake Variables In Hindi
AWS Storage Service In Hindi : Types of AWS Storage Services
If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
Linux में wc
command का use किसी file में words / line व characters count करने के लिए किया जाता है। हालाँकि इसमें और भी options होते हैं जिन्हे आप wc --help
command run करके देख सकते हैं।
$ wc --help
Example के लिए हम एक test
name की file बनाकर उसमे content insert करेंगे , फिर wc command का use करके word count करेंगे
$ toch test $ cat > test hello ! how are you? I hope , you are getting it :) press ctrl+d to save and exit.
Note* Linux में touch command का use file create करने cat command का use file में content write और concatenate करने के लिए किया जाता है।
File content में word count करने के लिए -w option का use किया जाता है।
$ wc -w test 13 test
File में lines print करने के लिए -l
option का use किया जाता है।
$ wc -l test 3 test
characters print करने के लिए -m
option का use किया जाता है।
$ wc -m test 52 test
byte counts, print करने के लिए -c
parameter का use किया जाता है।
$ wc -c test 52 test
Loading ...
Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)
Get connected with me. :) LinkedIn Twitter Instagram Facebook