From 21810116614d25b7c8aa2bf6c27b7007ae56d708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=9E=84=20=ED=98=84=EC=95=84?= <hyon2001@ajou.ac.kr>
Date: Tue, 29 Mar 2022 04:58:22 +0000
Subject: [PATCH] Update linux

---
 linux | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/linux b/linux
index da4bb64..5daec42 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)
-- 
GitLab