Linux端末テクニック

1163 ワード

コマンドラインのショートカットctrl + p上反転命令は、方向キー上ctrl + n下反転命令に相当し、方向キー下ctrl + bカーソルが左に移動することに相当し、方向キー左ctrl + fカーソルが右に移動することに相当し、方向キー右ctrl + aが命令行頭に戻ることに相当し、ホームキーctrl + eが行尾に戻ることに相当する.endキーctrl + backspaceに相当カーソルを削除する前の文字ctrl + dカーソルを削除した後の文字shitf + pageup端末アップページshitf + pagedown端末ダウンページctrl + lクリア画面、clearコマンドに相当
man使用
コマンドフォーマット:man+[num(オプション)]+コマンドパラメータの説明:
       1   Executable programs or shell commands
       2   System calls (functions provided by the kernel)
       3   Library calls (functions within program libraries)
       4   Special files (usually found in /dev)
       5   File formats and conventions eg /etc/passwd
       6   Games
       7   Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7)
       8   System administration commands (usually only for root)
       9   Kernel routines [Non standard]

man操作命令 後ろへ反転b前へ反転ENTER後ろへ反転k前へ反転
クエリー関連コマンドコマンド:man -k kill