728x90 OS/linux60 vim 워드랩 자동 줄바꿈 취소 하는 방법 자동 줄바꿈 취소 :set nowrap 자동 줄바꿈 :set wrap 2021. 6. 15. linux swap 생성 방법 9:52 root@hostname:/> swapon -s Filename Type Size Used Priority /swap.img file 8388604 8388520 -2 9:53 root@hostname:/> dd if=/dev/zero of=swap32g.img count=32 bs=1GiB 32+0 records in 32+0 records out 34359738368 bytes (34 GB, 32 GiB) copied, 129.372 s, 266 MB/s 9:56 root@hostname:/> mkswap swap32g.img mkswap: swap32g.img: insecure permissions 0644, 0600 suggested. Setting up swapspace version .. 2021. 6. 2. 리눅스 램 디스크 생성 리눅스 램 디스크 생성 df -h mkdir /mnt/ramdisk mount -t tmpfs -o size=1G tmpfs /mnt/ramdisk df -h 2021. 5. 26. 리눅스 캐시 제거 free -m Clear PageCache only. sync; echo 1 > /proc/sys/vm/drop_caches Clear dentries and inodes. sync; echo 2 > /proc/sys/vm/drop_caches Clear PageCache, dentries and inodes. sync; echo 3 > /proc/sys/vm/drop_caches will flush the file system buffer sync 확인 free -m 2021. 5. 26. 이전 1 2 3 4 5 6 7 ··· 15 다음 728x90