OS(3)
-
Linux 정리 2
FSSTND(Filesystem Standard)- /etc 실행파일 존재하면 안됨.- /usr 변경 가능 파일이 존재하면 안됨. read-only 마운트 가능해야 함.FHS(Filesystem Hierarchy Standard) Shareable Unshareable Static /usr /opt /etc /boot Variable /home /var/mail /var/run /var/lock - / 루트 파티션. /etc /sbin 은 반드시 root 파티션에 존재해야 함.- /boot initial 부팅 관련된 파일만 존재. 다른 설정 파일은 /etc 에 존재.- /bin ls, cp, mount 같은 중요 실행 명령 존재. vi 같은 대량 실행파일은 있으면 안됨.- /sbin fdisk 등의 시스..
2015.03.30 -
solaris 11 에서 /usr/ucb/ps 가 없다.
Solaris 는 ps 명령어에 Full line 으로 보여주지 않기 때문에 예전부터 /usr/ucb/ps 를 사용하여 프로세스를 확인했었다.11 부터는 /usr/ucb/ps 와 /usr/bin/ps 가기능이 합쳐졌다고.. man 이 알려주었다.기존 ps 명령어는 그대로...>ps -ef | grep javaucb 의 ps 옵션은 - 없이>ps auxww | grep java간단하네요...
2014.03.31 -
Linux 정리
Linuxcommand 정리1.Tee : System out 을 보여주고 동시에 file 에 저장$>echo “Tee is working.” | tee work.out2.Xargs : 뒤에 오는 명령어에 덧붙여서 실행$>find . –name “*.out” | xargs rm $>rm `find . –name “*.out”`$>find . -name "*.out" -exec rm {} \;3.Cut : delimiter를 기준으로 text를 잘라 보여줌$>cut -d':' -f1 find ./my-work | cpio –o > /media/pen/my-work.cp..
2012.05.21