How to use the wc command | Linux commands part 7

preview_player
Показать описание
#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 .

-----------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Follow shazib on :

...)

––––––––––––––––––––––––––––––
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
––––––––––––––––––––––––––––––
🎵 Track Info:
Title: Fragments by Nomyn
Genre and Mood: Ambient + Calm
———
Рекомендации по теме
Комментарии
Автор

Wow this is actually good not like others who just do and not explain

sudhakulkarni
join shbcf.ru