diff --git a/linux b/linux index da4bb643e17ea2a6ad8bca508036202846cd0f64..5daec427a512408d9323e535cccca386a17e84fe 100644 --- a/linux +++ b/linux @@ -14,8 +14,19 @@ 11. mv + "파일 이름" + "디렉토리 이름" : 파일의 위치를 이동 12. passwd : 비밀번호 변경 13. who | word : 누가 access해 있는지 목록 확인 -14. -15. +14. tar : + tar -c(create라는 뜻) -f(file이라는 뜻)+ file이름 + file을 copy해 올 directory 이름 : + tar -c -f -v + file이름 + dir 이름: + tar cvf + file이름 + dir이름 + + tar tvf + tar file이름 : 파일 내부를 들여다 봄 + tar xvf + tar file이름 : 파일 내부의 파일들을 풀어놓음 + +15. du : disk를 얼마나 썼는지 알려줌. + du -h : 단위 붙여서 알려줌 + +16. gzip + file이름 : 압축 +17. gunzip + file이름 : 다시 압축 풀기 https://www.guru99.com/linux-commands-cheat-sheet.html 참고 링크 (linux command cheat sheet)