Linux gradle빌드 후 실행

cheolhakja·2022년 4월 12일

cloud

목록 보기
2/4

Linux slash dot(./) meaning

https://www.baeldung.com/linux/execute-file-using-dot-slash

Although we are in the same directory as the script.sh file, Bash could not find this file. Therefore, we need to specify the relative or absolute path to the file so that shell knows where our executable file is.

In Linux, the dot character (.) denotes the current directory.

linux gradle프로젝트를 빌드 후 실행

./gradlew build

build/libs java -jar ${filename}

./gradlew clean build

agora-0.0.1-SNAPSHOT-plain.jar

agora-0.0.1-SNAPSHOT.jar

프로젝트 종료하는 법

How do I run a Linux command in the background?

^C 를 누르면 command를 입력할 수 있게 된다. 사실 프로그램이 종료된 것이었다. 터미널을 빠져나오더라도 프로그램이 정상적으로 실행되게 하는 법.

커맨드 뒤에 (띄어쓰기)& 를 입력한다.

리눅스 백그라운드 실행

0개의 댓글