▲ 1173 ▼ Touch a file in Linux (programming.dev) submitted 2 years ago by chraebsli@programming.dev to c/programmer_humor@programming.dev 92 comments fedilink hide all child comments
[–] tubaruco@lemm.ee 20 points 2 years ago (2 children) what is cat's use if not seeing whats inside a file? permalink fedilink source parent hideshow 4 child comments replies: [–] Navigate@lemmings.world 62 points 2 years ago (2 children) 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. permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 10 points 2 years ago (2 children) That’s why we have bat now https://github.com/sharkdp/bat permalink fedilink source parent hideshow 4 child comments replies: [–] 0x0@lemmy.dbzer0.com 50 points 2 years ago (2 children) To bonbatenate files? permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 9 points 2 years ago Exactly permalink fedilink source parent [–] DrWeevilJammer@lemmy.ml 3 points 2 years ago* Bat bat bo-at Bonbaten-fana fo-fat Fee-fi-fo-fat Bat! permalink fedilink source parent [–] Hamartiogonic@sopuli.xyz 1 point 2 years ago Cat with wings? Isn’t a bat more like a rat with wings? permalink fedilink source parent [–] Mad_Punda@feddit.de 2 points 2 years ago TIL I never realized. Thanks! permalink fedilink source parent [–] ulterno@lemmy.kde.social 28 points 2 years ago (1 child) It 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) permalink fedilink source parent hideshow 2 child comments replies: [–] Tangent5280@lemmy.world 2 points 2 years ago (1 child) Doesnt computers do this automatically if you try to copy over a file larger than its per file size limit? permalink fedilink source parent hideshow 2 child comments replies: [–] Octopus1348@lemy.lol 9 points 2 years ago No. It just gives an error that it's too big. permalink fedilink source parent
[–] Navigate@lemmings.world 62 points 2 years ago (2 children) 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. permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 10 points 2 years ago (2 children) That’s why we have bat now https://github.com/sharkdp/bat permalink fedilink source parent hideshow 4 child comments replies: [–] 0x0@lemmy.dbzer0.com 50 points 2 years ago (2 children) To bonbatenate files? permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 9 points 2 years ago Exactly permalink fedilink source parent [–] DrWeevilJammer@lemmy.ml 3 points 2 years ago* Bat bat bo-at Bonbaten-fana fo-fat Fee-fi-fo-fat Bat! permalink fedilink source parent [–] Hamartiogonic@sopuli.xyz 1 point 2 years ago Cat with wings? Isn’t a bat more like a rat with wings? permalink fedilink source parent [–] Mad_Punda@feddit.de 2 points 2 years ago TIL I never realized. Thanks! permalink fedilink source parent
[–] kautau@lemmy.world 10 points 2 years ago (2 children) That’s why we have bat now https://github.com/sharkdp/bat permalink fedilink source parent hideshow 4 child comments replies: [–] 0x0@lemmy.dbzer0.com 50 points 2 years ago (2 children) To bonbatenate files? permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 9 points 2 years ago Exactly permalink fedilink source parent [–] DrWeevilJammer@lemmy.ml 3 points 2 years ago* Bat bat bo-at Bonbaten-fana fo-fat Fee-fi-fo-fat Bat! permalink fedilink source parent [–] Hamartiogonic@sopuli.xyz 1 point 2 years ago Cat with wings? Isn’t a bat more like a rat with wings? permalink fedilink source parent
[–] 0x0@lemmy.dbzer0.com 50 points 2 years ago (2 children) To bonbatenate files? permalink fedilink source parent hideshow 4 child comments replies: [–] kautau@lemmy.world 9 points 2 years ago Exactly permalink fedilink source parent [–] DrWeevilJammer@lemmy.ml 3 points 2 years ago* Bat bat bo-at Bonbaten-fana fo-fat Fee-fi-fo-fat Bat! permalink fedilink source parent
[–] DrWeevilJammer@lemmy.ml 3 points 2 years ago* Bat bat bo-at Bonbaten-fana fo-fat Fee-fi-fo-fat Bat! permalink fedilink source parent
[–] Hamartiogonic@sopuli.xyz 1 point 2 years ago Cat with wings? Isn’t a bat more like a rat with wings? permalink fedilink source parent
[–] Mad_Punda@feddit.de 2 points 2 years ago TIL I never realized. Thanks! permalink fedilink source parent
[–] ulterno@lemmy.kde.social 28 points 2 years ago (1 child) It 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) permalink fedilink source parent hideshow 2 child comments replies: [–] Tangent5280@lemmy.world 2 points 2 years ago (1 child) Doesnt computers do this automatically if you try to copy over a file larger than its per file size limit? permalink fedilink source parent hideshow 2 child comments replies: [–] Octopus1348@lemy.lol 9 points 2 years ago No. It just gives an error that it's too big. permalink fedilink source parent
[–] Tangent5280@lemmy.world 2 points 2 years ago (1 child) Doesnt computers do this automatically if you try to copy over a file larger than its per file size limit? permalink fedilink source parent hideshow 2 child comments replies: [–] Octopus1348@lemy.lol 9 points 2 years ago No. It just gives an error that it's too big. permalink fedilink source parent
[–] Octopus1348@lemy.lol 9 points 2 years ago No. It just gives an error that it's too big. permalink fedilink source parent