DistroTube on Odysee

'wc' - count words lines and bytes - Video Man Pages


Listen Later

The 'wc' command counts the number of lines, words or bytes in a file.

- Count lines (-l) in a file:
wc -l path/to/file

- Count words (-w) in a file:
wc -w path/to/file

- Count bytes in a file:
wc -c path/to/file

- Count characters (-m) in a file, taking multi-byte characters into account:
wc -m path/to/file

- Count lines, words, and bytes in a file:
wc path/to/file

- Count lines, words, and bytes from stdin:
cat path/to/file | wc
NOTE This is NOT a "useless use of cat" since the output is slightly different than 'wc file'.

- Get character length of the longest line in a file:
wc -L path/to/file

REFERENCED:
โ–บ https://gitlab.com/dwt1/vidman - Video Man Pages

WANT TO SUPPORT THE CHANNEL?
๐Ÿ’ฐ Patreon: https://www.patreon.com/distrotube
๐Ÿ’ณ Paypal: https://www.paypal.com/donate/?hosted_button_id=MW3ZFGS8Q9JGW
๐Ÿ›๏ธ Amazon: https://amzn.to/2RotFFi
๐Ÿ‘• Teespring: https://teespring.com/stores/distrotube

DT ON THE WEB:
๐Ÿ•ธ๏ธ Website: http://distro.tube
๐Ÿ“ GitLab: https://gitlab.com/dwt1
๐Ÿ—จ๏ธ Mastodon: https://fosstodon.org/@distrotube
๐Ÿ‘ซ Reddit: https://www.reddit.com/r/DistroTube/
๐Ÿ“ฝ๏ธ Odysee: https://odysee.com/@DistroTube:2

FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
๐ŸŒ Brave Browser - https://brave.com/
๐Ÿ“ฝ๏ธ Open Broadcaster Software: https://obsproject.com/
๐ŸŽฌ Kdenlive: https://kdenlive.org
๐ŸŽจ GIMP: https://www.gimp.org/
๐Ÿ’ป VirtualBox: https://www.virtualbox.org/
๐Ÿ—’๏ธ Doom Emacs: https://github.com/hlissner/doom-emacs

Your support is very much appreciated. Thanks, guys!
...
https://www.youtube.com/watch?v=ODkPRwd3l8w
...more
View all episodesView all episodes
Download on the App Store

DistroTube on OdyseeBy DistroTube