LoginSignup
1
1

More than 5 years have passed since last update.

Linux標準教科書読んだ cat

Last updated at Posted at 2016-01-04

cat

ファイル内容表示コマンド

cp ファイル名
オプション 概要
-n 行番号を付加して表示

catでファイル作成

catをリダイレクトすることでファイルに内容を書き込んで作成できる。
書き込みを終了するときはEOF。下の例だとCtrl+Dで書き込みを終了する

cat > hello.txt
hello
1
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
1
1