Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chraebsli to Programmer [email protected] • 1 year ago

Touch a file in Linux

programming.dev

message-square
94
fedilink
1.2K

Touch a file in Linux

programming.dev

chraebsli to Programmer [email protected] • 1 year ago
message-square
94
fedilink
  • @[email protected]
    link
    fedilink
    21•1 year ago

    what is cat’s use if not seeing whats inside a file?

    • @[email protected]
      link
      fedilink
      English
      28•1 year ago

      It is to use along with split. e.g.

      1. You take a single large file, say 16GB
      2. Use split to break it into multiple files of 4GB
      3. Now you can transfer it to a FAT32 Removable Flash Drive and transfer it to whatever other computer that doesn’t have Ethernet.
      4. Here, you can use cat to combine all files into the original file. (preferably accompanied by a checksum)
      • @[email protected]
        link
        fedilink
        2•1 year ago

        Doesnt computers do this automatically if you try to copy over a file larger than its per file size limit?

        • @[email protected]
          link
          fedilink
          9•1 year ago

          No. It just gives an error that it’s too big.

    • @[email protected]
      link
      fedilink
      62•1 year ago

      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.

      • Mad_Punda.de
        link
        fedilink
        2•1 year ago

        TIL

        I never realized. Thanks!

      • @[email protected]
        link
        fedilink
        10•1 year ago

        That’s why we have bat now

        https://github.com/sharkdp/bat

        • @[email protected]
          link
          fedilink
          1•1 year ago

          Cat with wings? Isn’t a bat more like a rat with wings?

        • Trailblazing Braille Taser
          link
          fedilink
          50•1 year ago

          To bonbatenate files?

          • @[email protected]
            link
            fedilink
            3•
            edit-2
            1 year ago

            Bat bat bo-at

            Bonbaten-fana fo-fat

            Fee-fi-fo-fat

            Bat!

          • @[email protected]
            link
            fedilink
            9•1 year ago

            Exactly

Programmer [email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 41 users / day
  • 408 users / week
  • 1.26K users / month
  • 4.56K users / 6 months
  • 3 subscribers
  • 1.62K Posts
  • 57.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org