Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- execution engine
- optional
- intelij
- wagon-ssh
- feign
- 람다표현식
- zipWith
- closeable
- resilience4j
- jvm
- tcp
- Kotlin
- 동작방식
- 코딩테스트
- circuitbreaker
- 날짜쿼리
- n+1
- try-catch-finally
- webflux
- GC
- 4-way-handshake
- java
- Class Loader
- try-with-resources
- Hotspot VM
- try-catch
- AutoCloseable
- Runtime data area
- springboot
- jetbrain
Archives
- Today
- Total
JuBin's personal study blog
nohup 명령어 본문
반응형
# nohup
설명
백그라운드 프로세스로 작업할 떄 사용하는 명령어.
nohup은 실행한 명령을 자동으로 백그라운드로 보내지 않고 , 사용자가 명령행 뒤에 '&'를 붙여야 한다.
HUP(Hangup) 시그널을 무시하고 프로그램을 지속적으로 실행할 떄 사용.
명령어
nohup [명령] &
실습
1) nohup
[root@localhost /]# echo hello
hello
[root@localhost /]# nohup echo hello
(nohup java -jar HDBSNC_API-0.0.1-local-jubin.jar -Dspring.profiles.active=production &_
nohup: ignoring input and appending output to `nohup.out' 이 화면에 출력된다
nohup 명령어로 echo hello 명령을 수행한다.
수행한 명령이 현재위치 nohup.out 파일에 로그로 기록된다.
반응형
'Linux' 카테고리의 다른 글
[Linux] 프로젝트 배포 스크립트 작성 (0) | 2021.07.02 |
---|---|
Linux/Ubuntu 명령어 정리 (0) | 2021.01.12 |
리눅스 심볼릭링크 생성/삭제 예제 (0) | 2020.09.20 |