39
23

More than 3 years have passed since last update.

Linux echoコマンドで改行出力

Last updated at Posted at 2018-02-08
$ echo -e "\n"

デフォルトの改行も出力されるので2個の改行が表示されることになる。

$ echo -n -e "\n"

-nオプションをつけると、1つしか表示されません

39
23
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
39
23