0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

seq コマンド

Last updated at Posted at 2020-11-13

seqコマンドについて学習したので、記事にします。

数値を出力する

【コマンド例】

seq 10

1から10までの数値を出力する

seq -w

先頭を0で埋めて桁数を揃える

seq 5 10

開始する数値と終了する数値を指定して出力する

seq 1 2 10

1から10までの数値を2ずつ増やしながら出力する

seq -s x 10

数値に区切りを入れる
キャプチャ.PNG

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?