공부/리눅스
쉘(Shell) 스크립트 작성 및 실행하기
happyst
2021. 11. 4. 02:04
현재 사용중인 쉘의 종류 확인하기
echo $SHELL

사용가능한 쉘의 종류 확인하기
cat /etc/shells

shell script를 저장할 directory 생성
vi test 명령어: shell script 작성
chmod 명령어: test 파일의 권한 수정


shell script 실행
