본문 바로가기

OS

(11)
wsl2 / zsh에서 miniconda 설치하기 velog.io/@exploit017/wsl2-zsh-%ED%99%98%EA%B2%BD%EC%97%90%EC%84%9C-miniconda-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0 wsl2 / zsh 환경에서 miniconda 설치하기 Flask를 사용해보고 싶기도 하고, 취업을 위한 빠른 러닝 커브를 위해 도서를 구입했습니다. 제목은 《 깔끔한 파이썬 탄탄한 백엔드 》 입니다. 아직 책 초반이지만 좋은 책의 기운이 뿜뿜 느껴 velog.io
Windows에 WSL2 설치하기 1. Microsoft store에서 Windows Terminal을 설치한다 2. Windows Terminal을 관리자 권한으로 실행 3. 윈도우 터미널 (PowerShell)에서 아래 명령어 차례로 실행 > dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart > dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart 4. 재부팅 후, 윈도우 터미널에 wsl 명령어 입력 - 여기서 wsl 명령어가 안되면 Enable-WindowsOptionalFeature -Online -FeatureN..
Ubuntu 18.04 - Resolution is stuck at 640x480, can't change it 어느날 Ubuntu에서 모니터가 640 x 480으로 고정되고, 다른 비율은 나타나지 않는 경우가 발생했다. nvidia graphic driver 문제인 것 같았다. 검색 - 출처: Graphics and resolution problems (Nvidia) in Ubuntu 18.04 after update $ sudo apt purge nvidia* ## if you reboot here , the computer will use Nouveau driver. ##check the recommended drivers $ ubuntu-drivers device ## that show me 390 as recommended but didn't work , 340 works in my case $ sudo ..
vim 여러 줄 주석/문자 추가하기 명령어 모드(ESC)에서 V를 누르면 Visual Mode로 진입한다 원하는 만큼 블록을 설정하고 :를 누르면 '
리눅스에서 실수로 파일 이동/파일 삭제 예방하기 리눅스에서 rm, mv, cp를 하다가 실수로 삭제/덮어쓰기를 하게되고 이전 파일을 잃어버리게 되는 경우가 있다. 그때는 -i 옵션을 주면 삭제/덮어쓰기가 발생할 경우 사용자에게 한번 더 물어본다. 본인이 쓰는 터미널에 맞게 ~/.zshrc나 ~/.bashrc에서 다음 작업을 해준다. alias rm='rm -i' alias mv='mv -i' alias cp='cp -i' 그리고 source ~/.zshrc 해준다. 제대로 alias가 적용되었는지 확인하고 싶으면, 터미널에 alias를 입력하면 alias 설정된 목록이 나타난다.
zsh auto suggestions github.com/zsh-users/zsh-autosuggestions
Ubuntu 환경에서 vscode에 한글 입력시, 자음모음 분리 / 겹받침 분리/ 받침 분리 현상 해결 File -> Preferences -> Settings -> Text Editor -> Font -> Font Family 에서 'Droid Sans Fallback'을 제거한다 - 출처: 우분투 환경에 VScode에 한글 입력시 자음모음 분리 이슈
Ubuntu(Linux) 로그인 모니터 main monitor로 설정하기 멀티 모니터를 사용중인데, 메인 모니터로 설정한 모니터에서 로그인 화면이 뜨는 것이 아닌, 우선순위가 두 번째인 모니터에서 로그인 화면이 뜨는 현상이 발생했다. - 출처: Is there to make the login screen appear on the external display in 18.04? Is there to make the login screen appear on the external display in 18.04? On Ubuntu 18.04, I have connected my laptop to an external display and I am able to set the external display as primary and external display only mode. ..