LoginSignup

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

More than 3 years have passed since last update.

seq

Last updated at Posted at 2020-05-05

できること

  • 連番を出力する

基本構文

$ seq 10

1〜10の数字を標準出力に出力する。

よく使う構文

フォーマットして出力する

$ seq -f "Line %g" 10

Line 数字のフォーマットで出力される。

開始、終了、ステップを指定

$ seq 1 2 9

1〜9のうち奇数を出力する

よく使うオプション

その他

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