上向き矢印キーで、以前に実行したコマンドを再度呼び出す。
コマンドの入力途中で、TABキーを押す。
~$ history
>> 1 echo "hello world"
>> 2 pwd
~$ echo "hello world"
>> hello world
~$ pwd
>> /home/ubuntu
# カレントディレクトリ
~$ ls
>> public_html
# ディレクトリ指定
~$ ls /home
>> ubuntu
~$ ls -a
>> bash_history .bash_logout .bashrc .gnupg .profile public_html .tmux
~$ ls -l
>> total 4
>> drwxr-xr-x 2 ubuntu ubuntu 4096 Sep 25 22:31 public_html
~$ echo "hello world" > foo.txt
~$ cat foo.txt
~$ cp foo.txt bar.txt
~$ mv bar.txt new.txt
~$ rm new.txt
~$ mkdir test
~$ cp foo.txt test
~$ cp foo.txt test/bar.txt
~$ cd practice/
# 1つ上のディレクトリに移動
~$ cd ..
# 2つ上のディレクトリに移動
~$ cd ../..
# 相対パスで移動
~$ cd ./practice
$ cd ~
$ cd ~
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install R