ls
현재 경로에 존재하는 파일/폴더 확인
pwd
현재 위치한 경로 출력하기
cd
디렉토리 이동하기
이전 경로로 돌아가기
touch
파일 생성하기
touch test.txt
Shell
복사
mkdir
폴더 생성하기
mkdir test
Shell
복사
cat
파일 내용 확인하기
cat test.txt
Shell
복사
rm
파일 삭제하기
rm test.txt
Shell
복사
rmdir
폴더 삭제하기, 단 폴더 내에 파일이 없어야 가능
rmdir test
Shell
복사
rm -r
파일을 갖고 있는 폴더 삭제하기
rm -r test2
Shell
복사
cp
파일/폴더 복사하기
cp test.txt test2.txt
Shell
복사
mv
파일/폴더 이동시키기, 이름 변경하기
mv test.txt test
Shell
복사
test.txt 파일을 test 폴더로 이동시키기
mv test2.txt test_changed.txt
Shell
복사
test2.txt 파일을 test_changed.txt 파일로 이름 변경하기
clear
터미널 정리하기
history
이전에 사용한 명령어 확인하기