「Bash Shell Cheatsheet」をダウンロード

ダウンロード
開発元からダウンロード

cat

The cat command reads a file passed as a parameter and by default print its contents to standard output.
Passing multiply files as parameters concatenates the files and then prints to standard output.

echo

The echo command prints its arguments to standard output.

  $ echo Hello World
  Hello World

If you call echo without any parameters, the command prints a new line.

echo

The echo command prints its arguments to standard output.

  $ echo Hello World
  Hello World

If you call echo without any parameters, the command prints a new line.

head

The head command reads the first 10 lines of any passed in text and prints its contents to standard output. You can change the default 10 lines to any number by manually passing in the desired size. For example, the following prints all 50 lines of the file.

$ head -50 test.txt

 

Software

Posted by arkgame