Touch a file in Linuxprogramming.devimage chraebsli ( @chraebsli@programming.dev ) cake Programmer Humor@programming.dev • 4 months ago message-square45fedilinkarrow-up1665
arrow-up1665imageTouch a file in Linuxprogramming.dev chraebsli ( @chraebsli@programming.dev ) cake Programmer Humor@programming.dev • 4 months ago message-square45fedilink
minus-square tubaruco ( @tubaruco@lemm.ee ) linkfedilink15•4 months agowhat is cat’s use if not seeing whats inside a file?
minus-square Navigate ( @Navigate@lemmings.world ) linkfedilink38•4 months agoIt is short for concatenate, which is to join things together. You can give it multiple inputs and it will output each one directly following the previous. It so happens to also work with just one input.
minus-square Mad_Punda.de ( @Mad_Punda@feddit.de ) linkfedilink2•4 months agoTIL I never realized. Thanks!
minus-square ulterno ( @ulterno@lemmy.kde.social ) linkfedilinkEnglish16•4 months agoIt is to use along with split. e.g. You take a single large file, say 16GB Use split to break it into multiple files of 4GB Now you can transfer it to a FAT32 Removable Flash Drive and transfer it to whatever other computer that doesn’t have Ethernet. Here, you can use cat to combine all files into the original file. (preferably accompanied by a checksum)
what is cat’s use if not seeing whats inside a file?
It is short for concatenate, which is to join things together. You can give it multiple inputs and it will output each one directly following the previous. It so happens to also work with just one input.
TIL
I never realized. Thanks!
It is to use along with
split
. e.g.split
to break it into multiple files of 4GBcat
to combine all files into the original file. (preferably accompanied by a checksum)