hpr0953 :: LiTS 003: cut
Using the cut command
Hosted by Dann on Wednesday, 2012-03-28 is flagged as Explicit and is released under a CC-BY-SA license.
cut.
(Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr0953
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:11:31
Linux in the Shell.
Linux In The Shell aims to explore the use of many commands a user can run in the Bash Shell. Tutorials include a write up with examples, an audio component about the write up, and a video component to demonstrate the usage of the command.
The website is https://www.linuxintheshell.com/
In the third in his series Dann, shows us the benefits of the cut command:
The cut command, as the man page states, "removes sections from each line of a file." The cut command can also be used on a stream and it can do more than just remove section. If a file is not specified or "-" is used, the cut command takes input from standard in. The cut command can be used to extract sections from a file or stream based upon a specific criteria. An example of this would be cutting specific fields from a csv (comma separated values) file. For instance, cut can be used to extract the name and email address from a csv file with the following content:
https://www.linuxintheshell.com/2012/03/28/episode-003-cut/ for the complete shownotes, including video.