# Operation System/Linux2022. 4. 19. 07:56linux 확장자 일괄 변경 rename

rename 기존 변경 *

code-server 설치
# Operation System/Linux2021. 9. 24. 15:48code-server 설치

아이패드 프로 활용할려고 설치해봄. 설치환경 CentOS Linux release 7.9.2009 (Core) code-server-3.12.0 다운로드 # curl -fOL https://github.com/cdr/code-server/releases/download/v3.12.0/code-server-3.12.0-amd64.rpm 설치 # rpm -ivh code-server-3.12.0-amd64.rpm 서비스 시작 # systemctl start code-server@root 설정값 확인 # vi ~/.config/code-server/config.yaml bind-addr: 127.0.0.1:8080 auth: password password: f****************6e85ed0 cer..

[리눅스]vi 에디터  사용법
# Operation System/Linux2021. 6. 15. 10:19[리눅스]vi 에디터 사용법

# 인코딩 인코딩 확인 :set encoding 인코딩 변경 :e ++enc=euc-kr or utf-8 인코딩 변경하여 저장 :set fileencoing=utf-8 # 페이지이동 다음페이지 ctrl+f 이전페이지 ctrl+b # 편집 현재줄부터 마지막줄 삭제 :.,$d 특정라인까지 삭제 :1,100d 전체삭제 gg dG

ext4 filesystem logical volume resizing
# Operation System/Linux2021. 4. 21. 09:16ext4 filesystem logical volume resizing

lvm으로 합쳤던 디스크를 사이즈 줄이고 새로 마운트해야할일이 있어서 아래와 같이 진행하였습니다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113..

[리눅스]SWAP 메모리 생성
# Operation System/Linux2021. 4. 5. 17:50[리눅스]SWAP 메모리 생성

# free -g total used free shared buff/cache available Mem: 3 3 0 0 0 0 Swap: 1 1 0 # dd if=/dev/zero of=/swapfile bs=1M count=2048 # chmod 600 swapfile # mkswap /swapfile Setting up swapspace version 1, size = 2097148 KiB no label, UUID=15db3488-3756-4213-bc12-151e08072f42 # swapon /swapfile # vi /etc/fstab 아래 내용 추가 /swapfile swap swap defaults 0 0 # free -g total used free shared buff/cache ava..

image