シェルの便利コマンド

  • 投稿者:
  • 投稿カテゴリー:Linux
### [Ctl]+[u]で入力文字がすべて削除される ###
root@hostname:/home/shimizu#

### 現在のシェルを調べる ###
root@hostname:/home/shimizu# echo $SHELL
/bin/bash

### シェルを変更する ###
root@hostname:/home/shimizu# chsh
root のログインシェルを変更中
新しい値を入力してください。標準設定値を使うならリターンを押してください
        ログインシェル [/bin/bash]:

### シェル設定を表示 ###
root@hostname:/home/shimizu# stty -a
speed 38400 baud; rows 38; columns 211; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D
...