- 공유 링크 만들기
- 이메일
- 기타 앱
참조: https://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid /etc/systemd/logind.conf 수정 HandleLidSwitch=ignore logind 재시작 $ sudo service systemd-logind restart
Purewell's Personal Blog
Bash 스크립트가 끝날 때, 특정 함수를 실행하도록 할 때, trap 명령을 사용할 수 있다.
#!/usr/bin/env bash
_finish() {
echo "끝!"
}
trap _finish EXIT
댓글
댓글 쓰기