よく使うコマンド

exec : 実行中のシェルを別のコマンドで置き換える

export : 環境変数の設定

example :
export PATH=“sample/bin”:$PATH

env : 一時的に環境変数の設定

source : 実行中のシェル内でファイルを実行

example :
source filename

history : コマンド履歴の表示

example :
history 10 : コマンド履歴を10行表示 !10 : コマンド履歴の10行目を実行

time : コマンドの実行時間を表示

example : time

sleep : 指定した時間の待機

example :
sleep number(sec)

man : コマンドのマニュアルの表示

example :
man ls

help : 組み込み用コマンドのマニュアルの表示

example :
man cd

whatis : 簡単にコマンドを説明

example :
whatis ls