wget 사용하기 실패시 무한 재시도 wget --tries=inf [URL] 더보기 ubuntu에서 압축하기 매일 옵션을 까먹어서 메모 1. tar 압축 tar -cvf file.tar myfile 풀기 tar -xvf file.tar 2. tar.gz 압축 tar -zcvf file.tar.gz myfile 풀기 tar -zxvf file.tar.gz 3. zip 압축 zip file.zip myfile zip -r file.zip myfile (하위 폴더까지) 풀기 unzip file.zip unzip file.zip -d [path] (해당 경로에 압축해제) 더보기 Ubuntu에서 대용량 디스크 마운트하기 4TB가 넘어가면 ubuntu에서 인식이 안된다. 마운트가 안되서 사용할 수 없는 상황 gpt로 format해서 mount를 하자 1. disk 정보확인 sudo fdisk -l 2. 파티션 만들기 sudo gparted [disk] gpt로 만듬, ext4로 추천 (parted) mklabel gpt (parted) unit TB (TB단위로 사용) (parted) mkpart (parted) pritn 로 확인 3. 포맷하기 sudo mkfs -t ext4 [disk] 4. 마운트하기 mount [distk] [path] 5. 마운트 확인 df -h 6. 자동 마운트 sudo vi /etc/fstab에 추가 [disk] [path] ext4 defaults 0 0 e.g, /dev/sdb /mnt e.. 더보기 이전 1 2 3 4 5 6 ··· 12 다음