0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Linux】ちょっと便利なコマンドまとめ

Last updated at Posted at 2021-04-02

本記事は、ほぼ自分のためのメモです。

cat -n 行数と共に出力

##sed  ある特定の行数のみ出力

catはファイルの中身をすべて出力するがsebは特定の行数を指定可能

sed -n 5p filename #5行目指定
sed -n 5,8p filename #5~8の3行を出力

随時追加していきます。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?