반응형 쉘 alias (1) 썸네일형 리스트형 쉘 - 파일을 alias로 등록해 간단하게 파일 실행하기 (톰캣 파일) 서블릿과 JSP를 배우려고 톰캣을 설치했는데. homebrew로 설치했더니 아래와 같은 경로에 설치되었다. /opt/homebrew/Cellar/tomcat/ 터미널에서 만약 - 톰캣을 실행하려면, 이 파일을 실행 >>> /opt/homebrew/Cellar/tomcat/10.1.16/libexec/bin/startup.sh - 톰캣을 종료하려면, 이 파일을 실행 >>> /opt/homebrew/Cellar/tomcat/10.1.16/libexec/bin/shutdown.sh 둘 다 직접 타자치기도 귀찮고 경로 외우기도 귀찮다. alias run-tomcat='/opt/homebrew/Cellar/tomcat/10.1.16/libexec/bin/startup.sh' alias end-tomcat='/op.. 이전 1 다음