How to use the wc command | Linux commands part 7

Published: 19 December 2020
on channel: The Data Guy
1,372
89

#wc #bash #linux #terminal
On Linux and Unix-like operating systems, the wc command allows you to count the number of lines, words, characters, and bytes of each given file or standard input and print the result.

In this tutorial, we will show you how to use the wc command through simple and practical examples.
wc filename : to count the no of lines words and characters/bytes in a file.
wc -l filename : to count the no. of lines.
wc -w : to count the no. of words.
wc -c : to count the no. of characters/bytes.
wc -L : to count the no. of characters/bytes of the longest line of the file .

-----------------------------------------------------------------------
▶️Find command in linux :    • How to use the find command | Linux c...  

▶️Basic commands in Linux Part 1 :    • Basic commands in Linux - Part 1 | li...  
▶️Basic commands in Linux part 3 :    • Basic commands in Linux - Part 2 | li...  
----------------------------------------------------------------------------------------------------
🤖Join our discord server : https://discord.io/thedataguy
---------------------------------------------------------------------------------------------------
Follow shazib on :
✅GitHub (https://github.com/shazx06)

✅Linked In (  / md-shazib  
...)

📌I'm DeTeam Content Creator. If you would like to join our community to grow your channel or just have a chat with us then use this link: https://invite.gg/DeTeam
––––––––––––––––––––––––––––––
Fragments by Nomyn   / nomyn  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: http://bit.ly/l-fragments
Music promoted by Audio Library    • Fragments – Nomyn (No Copyright Music)  
––––––––––––––––––––––––––––––
🎵 Track Info:
Title: Fragments by Nomyn
Genre and Mood: Ambient + Calm
———


Watch video How to use the wc command | Linux commands part 7 online without registration, duration hours minute second in high quality. This video was added by user The Data Guy 19 December 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,372 once and liked it 89 people.