The Paste Utility - Yes, I Know IT ! Ep 23

Published: 23 July 2018
on channel: Yes, I Know IT !
899
24

📂 Go to https://yesik.it/EP23 to download the files used in this video so you can practice on your own system.

Links, time markers and a ton more in the description below. ▼

====
THE PASTE COMMAND
====
In a previous video, we talked about the cut command which can be used to extract columns from a CSV or tabular text data file.The paste command does the exact opposite: it merges several input files on a line-by-line basis to produce a new delimited text file from them.


▶ The Paste Command(   • The Paste Utility - Yes, I Know IT ! ...  )


----
HOW IS IT RELATED TO OTHER COMMANDS?
----
I already mentioned in the introduction the cut command(https://yesik.it/EP22) that can be used to split delimited or fixed-width text files in individual columns that can later be merged back using the paste command. Something that can be useful when you need, for example, to re-order the columns of a table.

But the paste command identify the corresponding data based only on their physical position in the file (their "line number"). Sometimes though, we would like to merge data based on their content. If that’s your need, I suggest you take a look at the join utility(https://yesik.it/EP14) instead.


----
HOW CAN I TAKE THE MOST OF THIS VIDEO?
----
I encourage you to download the files used on the video(https://static.yesik.it/EP23/Yes_I_Kn...) so you will be able to try the same commands as me on your own system.

The link above will allow you to download a gzipped tar archive of the files used in the video. To extract the content of that archive on your system, you can use the command:

tar xzf Yes_I_Know_IT-EP23.tar.gz
cd EP23


----
TIME LINKS
----
If you don’t have the time to watch the video entirely, here are few links to jump directly to the section that interests you the most:


▶ Reminder: how to use the cut command to split a CSV file?(   • The Paste Utility - Yes, I Know IT ! ...  )
▶ How to make a new delimited text file from individual data column?(   • The Paste Utility - Yes, I Know IT ! ...  )
▶ How to swap ("transpose") rows and columns using the paste command serial mode?(   • The Paste Utility - Yes, I Know IT ! ...  )
▶ Introducing the column utility to convert data from a delimited to a fixed-width text format(   • The Paste Utility - Yes, I Know IT ! ...  )


----
SHARE TO HELP ME REACH MY NEXT YOUTUBE MILESTONE!
----
It’s a lot of work to maintain this channel, and the only thing I can take joy in from what I do is seeing more subscribers and the channel growing. That’s why I’m asking you to recommend and share these links on your social media and websites. Thanks!


▶ Subscribe to "Yes I Know IT" YouTube channel(https://yesik.it/youtube?sub_confirma...)
▶ The Paste Command(   • The Paste Utility - Yes, I Know IT ! ...  )!


#Paste #Linux #Unix #POSIX #Utility #CLI #CommandLine #CommandLineTool #YesIKnowIT


Watch video The Paste Utility - Yes, I Know IT ! Ep 23 online without registration, duration hours minute second in high quality. This video was added by user Yes, I Know IT ! 23 July 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 899 once and liked it 24 people.