블로그
-
[노트 필기] 리눅스에 대해 알아보자. 21. 시스템 관리 f. 프로세스 관리 bg, fg, nice, 모니터링 df, dmesg, iostat 1, netstat, free.
z, job and bg Foreground = fg Run process even after exit = nohup process & OR = nohup process > ; /dev/null 2>&1 & Kill a process by name = pkill Process priority = nice ex, nice -n 5 process
blog.naver.com · 2026.03.27
-
OneDriveGUI 설치
install -r requirements.txt 실행: cd src/ python3 OneDriveGUI.py 또는 cd src/ nohup python3 OneDriveGUI.py > ; /dev/null 2>&1& 중복 파일이 생기는 문제가 있어 sync option을 Download only로 설정해서 쓴다.
blog.naver.com · 2025.04.29
-
linux file 삭제 crontab
59 23 * * * sh ~/apache-tomcat-7.0.65/bin/logDelete.sh > /dev/null 2>&1 http://program.egloos.com
blog.naver.com · 2016.10.06
-
보안 관련 예방
MySQL은 커맨드 상에 SQL 명령어를 입력하면 자동으로 홈 디렉토리의 history 파일에 저장 ▶ cat /dev/null > ~/.mysql_history 로 history 파일 삭제 2.
blog.naver.com · 2015.05.27
-
리눅스 문자열, 파일, 디렉토리 찾기 ( find / grep )
-r 2> /dev/null (문자열이 들어간 화일찾기, 대소문자 구분안함) find를 이용하여 문자열을 찾아보자 문법 : Usage: find [path...] [expression] 1 : find ./ -exec grep -l "문자열" {} \; 2> /dev/null (문자열찾기) 2 : find ./ -exec grep -il
blog.naver.com · 2011.04.21
-
[Shell Script] Preparing tool for shrinking (VMWare)
zero"DUMMY="zero" FilledCheck () { while :; do echo -n " [=] Progressing $i ..... " CURSIZE=`df -h $i 2& gt;/dev/null| grep $i | awk -F" " '{ print $5 }'` echo $CURSIZE sleep 1 if [ "$CURSIZE" == "100%" ];
blog.naver.com · 2010.02.11
-
[Shell Script] Assembly Compile
's/\.c/\.o/g'` TARGET=`echo $SRCFILE | sed -e 's/\.c//g'` COLLECT2="$DPATH/collect2" $CC1 $SRCFILE 2& gt;/dev/null $AS $AS_OPT $ASMFILE -o .......
blog.naver.com · 2007.03.08