Linux ETC

쉘 프롬프트 상에서 경로 변경시 아래 명령을 통해 바로 이전 디렉토리로 이동할 수 있습니다.

# cd -

 

ex)

[root@localhost usr]# pwd
/usr

[root@localhost usr]# cd /home/
[root@localhost home]# cd -
/usr/
[root@localhost usr]#