Linux 16

linux log 생성하기

m.blog.naver.com/ice0423/221932781410 리눅스에서 로그는 정말 중요한 도구입니다. 리눅스 자체에서 echo를 사용하여 출력을 할 수도 있고, python 파일을 실행할 때 print를 하는것도 파일에 저장할 수 있다면 그걸 나중에 볼 수 있기 때문에, 훨씬 좋다고 봅니다. 로그를 저장하는 방법은 간단합니다. > 한개는 파일 생성, (덮어쓰기) >> 두개는 파일 에 붙여쓰기 입니다. $ python3 file.py > file.log # file.log 있을 경우 지우고 새로 생성 $ python3 file.py >> file.log # file.log 있을 경우 그 이후 붙여씀 joonyon.tistory.com/98 쉽게 설명한 nohup 과 &(백그라운드) 명령어 사용법 ..

Linux/Ubuntu 2020.12.08

Linux 터미널 개발도구 - Tmux

사실 나는 Terminal을 많이는 써 왔지만 Tmux는 아직 익숙하지는 않다. 사실 몰라도 그렇게 개발에 많이 좌우되는 도구는 아니다. 하지만 조금 더 깔끔하게 개발하려면, 그리고 ssh 연결이 끊길 가능성이 있을 때 작업을 할 경우에는 굉장히 유용한 도구라고 할 수 있겠다. 잘 정리되어 있는 페이지 (영어) : www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ Making tmux Pretty and Usable - A Guide to Customizing your tmux.conf Customize the look and feel of tmux www.hamvocke.com 1. Installation - Ubuntu인 경우 apt-get ..

Linux 2020.11.10

Ubuntu 18.04에서 tensorflow 설치하기 (Nvidia Jetson Tx2, wheel)

일단 official document for Jetson은 이거다 docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html Installing TensorFlow For Jetson Platform :: NVIDIA Deep Learning Frameworks Documentation Installing TensorFlow for Jetson Platform provides you with the access to the latest version of the framework on a lightweight, mobile platform without being restricted to TensorFlow Lite. doc..

Linux/Ubuntu 2020.10.19