전체 글 1446

COMMAND

리모트화면 제어 ctrl-l ☞ 화면 clear ctrl-t ☞ 두개의 문자가 서로 뒤바뀜 ctrl-u, ctrl-w ☞ 커서 왼쪽의 문자들 삭제 cd - ☞ 바로 전 디렉토리로 이동 프로그램이 설치된 위치알기 which mysql 디렉토리내 모든내용 그대로 복사하기 find . -depth -print | cpio -pmdvl /home/user/copy 특정 용량 알기 du -s /home/* | awk '$1 > 10000' du -sh /home/* du -sk ~ # 현재 로그인한 계정의 총 사용량 확인 du -sk /home1 # home1의 총 사용량 확인 du -sk /home1 * #상위디렉토리별로 사용량을 알고 싶을때(홈페이지 계정별 사용량을 알고싶을때) Set UID 파일 찾기 fin..

os/Window 2006.09.22

로그파일의 Format

Log ☞ $HTTP_REFERER (경유지주소 변수) LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined :: 로그파일의 Format 211.198.81.13 - - [31/May/2001:20:22:11 +0900] "GET /ihmailing/ihopen.php HTTP/1.1" 200 14 1. 접속한 Client IP주소 혹은 도메인 2. Remote_IDENT 3. 사용자명 ( .htaccess .htpasswd 에 정의된 사용자 ID ) 4. Client 접속 시간 [ day/month/year:hour:minute:second zone ] 5. Client 요청 종류 [ GET, POST ] 6...

pe/standard 2006.09.22

HEADER

void header ( string string [, bool replace [, int http_response_code]]) header()은 raw HTTP 헤더를 전송하기 위해 사용한다. HTTP 헤더에 관한 자세한 정보는 HTTP/1.1 규격을 할것!!. file저장시 헤더구분 header("Content-type: text/plain"); // text header("Content-type: text/html"); // html header("Content-type: application/vnd.ms-powerpoint"); // ppt header("Content-type: application/msword"); // doc header("Content-type: application/vn..

pe/standard 2006.09.22
반응형