환경

 - Ubuntu 18.04.6 LTS

 

U-05(상)

 

 - 판단기준 : /etc/profile 파일과 $HOME/.profile 파일의 PATH 환경변수 맨 앞이나 중간에 '.' 기호 포함여부

 

1. /etc/profile, $HOME/.profile 출력

2. egrep으로 '.' 기호가 앞, 중간에 올 수 있는 경우의 수 검사

 

 

#script 작성

 

 

#실행결과

 

 

출처 : https://krcert.or.kr/data/guideView.do?bulletin_writing_sequence=35988

+ Recent posts