Commandline 101: cat, Not Just for Purring

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,356
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 11, 2009

Linux Journal's Shawn Powers demonstrates the cat command.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • I like weird squares, I myself have been a weird square for many years.

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • its not the same like cat. echo just outputs ONE single line. you cannot enter n lines by pressing enter like with cat. maybe "type > file.txt" would do like cat. but i did not tested it yet.

  • If i remember correctly, Windows users can do this instead (not necessarily the easiest way):

    echo This is file 1>file1.txt

    echo This is file 2>file2.txt

    echo This is still file 2>>file2.txt

    type file1.txt>file3.txt

    type file2.txt>>file3.txt

  • Haha, and even then, she will see weird squares. Now I'm endorsing new software!

  • For convention sake. If Johnny wants to send his fancy new file3.txt file to Mom and see how awesome the cat file is -- Mom should be able to open it on her Windows 3.1 box. :D

  • Super new user tip. But why the .txt? Linux has magic number file recognition, so extensions are redundant.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more