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 1 year has passed since last update.

Linux:基本操作(自分用)

0
Last updated at Posted at 2024-12-14

Shellの基本操作

入力補完

#途中まで入力してTabキーを押すとファイル名やディレクトリ名を補完してくれる。
Tab

カーソルの移動

#カーソルを先頭行に移動
Ctrl + a
#カーソルを末尾に移動
Ctrl + e

画面のクリア

#画面をクリアする
Ctrl + l

処理の中断

#実行中の処理を中断
Ctrl + c
#実行中の処理を一時停止
Ctrl + z

画面出力の停止と再会

#画面出力の停止
Ctrl + s
#出力の再開
Ctrl + q

入力したコマンドの履歴

#入力した履歴が番号付きで表示される
history

1 ls
2 cd ..
3 cat

#履歴からコマンドを使用する「!番号」
!1

ディレクトリの指定

記号 説明
~ ホームディレクトリ
. カレントディレクトリ(現在いる場所)
.. 一つ上のディレクトリ
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?