PLAY PODCASTS
'head'- print the beginning of files - Video Man Pages

'head'- print the beginning of files - Video Man Pages

DistroTube on Odysee

March 15, 20263m 59s

Audio is streamed directly from the publisher (player.odycdn.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

thumbnail

The 'head' command is used to print the beginning lines of a file.

- Print first 10 lines in a file:
head path/to/file

- Print first 10 lines of multiple files:
head path/to/file1 path/to/file2 ...

- Print the first 5 lines (-n 5) of a file:
head -n 5 path/to/file

- Print everything but the last 5 lines (-n -5) of a file:
head -n -5 path/to/file

- Print the first 12 bytes (-c) of a file:
head -c 12 path/to/file

- Print everything but the last few bytes of a file:
head -c -12 path/to/file

- Use verbose mode (-v) to print headers giving file names:
head -v file1
NOTE When running 'head' on multiple files, verbose is the default mode.

- Use quiet mode (-q) to suppress the printing of headers giving file names:
head -q file1 file2
NOTE When running 'head' on a single file, quiet is the default mode.

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=2bI-HlSG3_I