Blog Sidebar
Travel
Journal
When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees.
/home 디렉토리 하단에 .htaccess 파일중에서“avi”란 단어가 들어간 파일을 모두 찾아보자. [root@zero7 jasmine]# grep “avi” `find /home -name .htaccess`/home/mech007/public_html/main/.htaccess:RewriteCond %{DOCUMENT_ROOT}//main/attach/1/favicon.ico -f/home/mech007/public_html/main/.htaccess:RewriteRule ^favicon\.ico$ attach/1/favicon.ico [E=SURI:1,L]/home/mech007/public_html/main/.htaccess:RewriteRule ^favicon\.ico$ image/icon_favicon_default.ico [E=SURI:1,L] 만약, 검색한 파일리스트만 출력하려면, 아래와 같이 하면 된다. [root@zero7 jasmine]# grep -l “avi” `find /home -name .htaccess`/home/mech007/public_html/main/.htaccess[root@zero7 jasmine]# 입력시 `는 키보드좌측 탭키 바로위 ~자판임.
[root@ns2 ~]# smartctl -a /dev/sdasmartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce AllenHome page is http://smartmontools.sourceforge.net/ Device: SEAGATE ST373207LC Version: 0003Serial number: 3KT04Y9500007609MM1EDevice type: diskTransport protocol: Parallel SCSI (SPI-4)Local Time is: Thu Jul 17 19:47:11 2008 KSTDevice supports SMART and is EnabledTemperature Warning EnabledSMART Health Status: OK Current Drive Temperature: 28 CDrive Trip Temperature: 68 CVendor (Seagate) cache information Blocks sent to initiator = 3138754649 Blocks received from initiator = 1182413804 Blocks read from cache and sent to initiator = 40205361 Number […]
프로그램 명 : dmidecode 2.8 (시스템(bios/dmi) 정보확인)운영체제 LINUX,FreeBSD라이센스 GPL홈페이지 http://www.nongnu.org/dmidecode/ 홈페이지에서 최신 tar.gz 다운로드 tar xvzfp dmidecode-2.9.tar.gzcd dmidecode-2.9makemake install [root@storage0001 dmidecode-2.9]# whereis dmidecodedmidecode: /usr/sbin/dmidecode /usr/local/sbin/dmidecode[root@storage0001 dmidecode-2.9]# dmidecode 매우 복잡한 시스템정보 출력됨 문제점 너무 복잡해서 뭐가 뭔지 모름 그래서, dmidecode를 쉽게 보여주는 유틸을 하나 추가설치한다. http://ezix.org/project/wiki/HardwareLiSter 화면중간쯤에 The latest version is B.02.13 (MD5:e94c728ed037ca706436b5ef71aa392d, SHA1:e27412d47de8efb4adb3646e46affffb95dd384f). 이 부분 클릭하고 다운로드함 wget http://ezix.org/software/files/lshw-B.02.13.tar.gz tar xvzfp lshw-B.02.13.tar.gzcd lshw-B.02.13make 완료됨 cd src./lshw |more(약 2초간 대기….) *-cpu:1 description: CPU physical id: 8 bus info: cpu@1 version: 15.4.3 serial: […]
