명령어 모음

2022. 8. 5. 14:42·Study/Linux

실행파일 백그라운드 실행
testScript.sh &

서버 꺼져도 다시 실행되도록 실행
nohup ./main &

Background Process 확인하기
ps -ef

nohup 종료
kill PID

nohup 로그 
nohup 으로 실행된 스크립트 위치에 nohup.out 이라는 로그 자동 생성됨

 

'Study > Linux' 카테고리의 다른 글

Linux 직접만든 .sh 의 sudo command not found  (1) 2022.09.26
E: Unable to locate package  (0) 2022.09.02
Centos 폰트 설치  (0) 2022.08.18
Remote host identification has changed  (0) 2022.06.13
삽질했던 리눅스 문제들  (0) 2022.06.13
'Study/Linux' 카테고리의 다른 글
  • E: Unable to locate package
  • Centos 폰트 설치
  • Remote host identification has changed
  • 삽질했던 리눅스 문제들
_WooHyun_
_WooHyun_
  • _WooHyun_
    Nerd
    _WooHyun_
  • 전체
    오늘
    어제
    • 분류 전체보기 (79)
      • Study (60)
        • Algorithm (24)
        • Unreal Engine (19)
        • C++ (1)
        • Maya (1)
        • GoLang (3)
        • Mysql (3)
        • Linux (7)
        • Server (2)
      • Projects (0)
        • Unreal Engine (0)
        • Server (0)
      • 개발일지 (8)
        • Unreal Engine (7)
        • Art (1)
        • Server (0)
      • 미래 (5)
      • 개발아이디어 (0)
      • 잡지식 (2)
  • 블로그 메뉴

    • 홈
    • 방명록
    • 글쓰기
    • 블로그설정
  • 링크

    • GitHub
  • 공지사항

  • 인기 글

  • 태그

  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
_WooHyun_
명령어 모음
상단으로

티스토리툴바