ps -ef |grep "/manage.py runserver 0:8080" |grep "/root/" |awk '{print $1}'

 

 

 

cat /etc/redhat-release |awk '{print $3}' |awk 'BEGIN {FS="."} {print $1"???"$2}'

 

 

 

날짜 가져오기

date |awk '{print$1$2$3}'

 

 

 

시간 가져오기

date |awk '{print$5}' |awk 'BEGIN {FS=":"} {print$1$2$3}'

 

 

+ Recent posts