Belowland
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chraebsli to Programmer Humor@programming.dev • 1 year ago

Touch a file in Linux

programming.dev

message-square
106
fedilink
1.17K

Touch a file in Linux

programming.dev

chraebsli to Programmer Humor@programming.dev • 1 year ago
message-square
106
fedilink
alert-triangle
You must log in or register to comment.
  • @tubaruco@lemm.ee
    link
    fedilink
    20•1 year ago

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

    • @ulterno@lemmy.kde.social
      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)
      • @Tangent5280@lemmy.world
        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?

        • @Octopus1348@lemy.lol
          link
          fedilink
          9•1 year ago

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

    • @Navigate@lemmings.world
      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!

      • @kautau@lemmy.world
        link
        fedilink
        10•1 year ago

        That’s why we have bat now

        https://github.com/sharkdp/bat

        • @Hamartiogonic@sopuli.xyz
          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?

          • @DrWeevilJammer@lemmy.ml
            link
            fedilink
            3•
            edit-2
            1 year ago

            Bat bat bo-at

            Bonbaten-fana fo-fat

            Fee-fi-fo-fat

            Bat!

          • @kautau@lemmy.world
            link
            fedilink
            9•1 year ago

            Exactly

Programmer Humor@programming.dev

!programmer_humor@programming.dev
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: !programmer_humor@programming.dev

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
  • 43 users / day
  • 308 users / week
  • 1.14K users / month
  • 4.46K users / 6 months
  • 2 subscribers
  • 1.55K Posts
  • 50.6K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.18.1
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org