Linux Philosophy

时间:2022-01-10 15:01:50

These days I read the book Linux and the Unix Philosophy.

Here are some principles:

  • Little is graceful
  • Make each program do one thing
  • Construct prototype as soon as possible
    (So I think it is a wonderful idea to use Python or Bash scripts...)
  • Portability is more important than efficiency
  • Use plain text to store data
  • Benefit from Leverage effect
  • Use Shell-script to enhance the leverage effect and portability
  • Avoid Compulsive-User-Interface
  • Create each program as a filter
    • Use stdout/stdin/stderr as output/input

Think.
Try.
And grow up.