this post was submitted on 29 Jul 2023
540 points (94.7% liked)

linuxmemes

20880 readers
2 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

There's a bat too, if you look for it

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (1 children)

Right, I always forget it can do more than just print file contents. Well, not planning on remembering it tomorrow.

[โ€“] [email protected] 5 points 1 year ago* (last edited 1 year ago)

cat file1 file2 > file3 => the contents of both file1 and file2 concatenating their contents into file3