20140130

Linux cat command [short] summary

It can be used for...


  • Displaying files on the screen
  • Creating new files

BUT! it should be used for...

  • Merging files
  • Sending the contents of the file through a pipe so it can be processed by another command

So avoid the first two things because...

  • Your eyes will hurt if you display a file on the screen [try it with pdf files xD], even if you use more or less commands, furthermore sometimes what's written on the file will be processed as a command and bad things will happen.
  • A text editor where the only things to do are type and press ctrl+d to exit? really? vim exists so use it!

TODO: add links

0 comentarios:

Publicar un comentario

Con la tecnología de Blogger.