Section: User Commands (1) Updated: 2000/06/09 Index JM Home Page roff page å称 grep, egrep, fgrep, zgrep - ãã¿ã¼ã³ã«ãããããè¡ã表示ãã æ¸å¼ grep [options] PATTERN [FILE...] grep [options] [-e PATTERN | -f FILE] [FILE...] 解説 grep ã¯ã FILE ã§ååãæå®ãããå ¥åãã¡ã¤ã« (ãã¡ã¤ã«ãæå®ããã¦ãªããã file ã®é¨åã« - ãæå®ãããå ´åã¯æ¨æºå ¥å) ãèªã¿è¾¼ã¿ãä¸ãããã PATTERN ã«ãããããé¨åãå«ãè¡ãæ¢ãã¾ãã ããã©ã«ãåä½ã§ã¯ã grep ã¯ãããããè¡ã表示ãã¾ãã ããã«ã2 ã¤ã®ããã°ã©ã egrep 㨠fgrep ãå©ç¨å¯è½ã§ãã egrep 㯠gr
2010/06/03 ã¨ã«ãã¼ã¢ã¤ã¸ã£ãã³ï¼LPI-Japanï¼ã¯6æ3æ¥ããLinuxæ¨æºæç§æ¸ããiPad対å¿ã¢ããªã±ã¼ã·ã§ã³åãã6æä¸æ¬ããç¡åã§æä¾ãããã¨ãçºè¡¨ããã LPI-Japanã¯ãLinuxããã³ãªã¼ãã³ã½ã¼ã¹æè¡ã«é¢ããã¹ãã«ç¿å¾æ¯æ´ãç®çã¨ããç¹å®éå¶å©æ´»åæ³äººã§ãæ¥æ¬å½å ã§Linuxæè¡è èªå®è©¦é¨ï¼LPICï¼Linux Professional Institute Certificationï¼ãå®æ½ãã¦ãããLinuxæ¨æºæç§æ¸ã¯ãLinuxã®æ®åãç®çã«éçºããç¡åã§æä¾ãã¦ããæè¡ææã2008å¹´9æã®æä¾éå§ä»¥æ¥ããã§ã«10ä¸ãã¦ã³ãã¼ãã®å®ç¸¾ãæã¤ãå ¨246ãã¼ã¸ã®ã³ã³ãã³ãã ã LPI-Japanã¯ãããiPadåãã¢ããªã¨ãã¦æä¾ãããã¨ã«ãããæç§æ¸ãæ°è»½ã«æã¡éã³ããã¤ã§ãå©ç¨ã§ããããã«ãªããããLinuxã®å¦ç¿ç°å¢ãããã«åºããã¨ãã¦ãããä»
ãããã¯ã¼ã¯ãç¨éã«åããã¦IPã¢ãã¬ã¹æå® Linuxãã·ã³ã®IPã¢ãã¬ã¹ãå¤æ´ãããæãããã¾ãã Windowsãªãç°¡åã§ããããããã¯ã¼ã¯æ¥ç¶ã®ããããã£ãå¤æ´ããã ãã ã¾ããæ®éã«PCã使ãå¤ãã®å ´åãIPã¢ãã¬ã¹ãèªååå¾ã§ããããã Linuxãµã¼ãã¼ãä½ã£ãå ´åãªã©ã¯ãèªååå¾ã§ã¯ãããã¯ã¼ã¯æ§æãçµãã¾ããã ãããã¯ã¼ã¯ãã«ã¼ã¿ã«ãããã¦ãLANå ã®ç¶æ³ã«ãããã¦ã Linuxã®IPã¢ãã¬ã¹ãå¤æ´ããæ¹æ³ãã¿ã¦ããã¾ãããã ä¸æçã«IPã¢ãã¬ã¹ãå¤æ´ããå ´å ãã·ã³ã®åèµ·åãä½ãããªãã§ãã¨ã«ããä¸æçã«IPã¢ãã¬ã¹ãå¤æ´ããå ´åã¯ä»¥ä¸ã§ãã #ifconfig eth0 192.168.0.100 ï¼ä¸è¨ã®å ´åã192.168.0.100ã«å¤æ´ï¼ ããã§ãä¸æçã«ãã·ã³ã®IPã¢ãã¬ã¹ãå¤æ´ãã¾ãã ã§ãããåèµ·åããã¨ãã¨ã®IPã¢ãã¬ã¹ã«æ»ã£ã¦ãã¾ãã¾ãã æä¹ ç
ååã¯Windowsã§ã®ãµã¼ããPCã®ããã«ããã¯ç®æã®ç°¡åãªè¦åãæ¹ããç´¹ä»ããã¦ããã ãã¾ããããè¦æãããã¾ããã®ã§ä»åã¯Linuxã®å ´åããç´¹ä»ãããã¾ãã 4ã¤ã®ä¸»è¦ããã«ããã¯è¦ç´ ã®å¾©ç¿ã§ãã ãµã¼ããPCã«ã¯4ã¤ã®ä¸»è¦ããã«ããã¯è¦ç´ ãããã¾ãããã®ãããããããã«ããã¯ã¨ãªã£ãå ´åã·ã¹ãã å ¨ä½ã®ã¬ã¹ãã³ã¹ãä½ä¸ãã¾ãã CPU使ç¨ç ã¡ã¢ãªä½¿ç¨é ãã£ã¹ã¯I/O TCPã³ãã¯ã·ã§ã³æ° Linuxã«ããã¦ã¯ããã«ããã¯ç®æã以ä¸ã®ããã«è¦åãããã¨ãã§ãã¾ãã 1. CPU使ç¨ç CPU使ç¨çã常ã«100%ã«è¿ãå ´åã¯CPUãããã«ããã¯ã§ãããã¨ãå¤æãã¾ããCPU使ç¨ç¶æ³ãç°¡åã«èª¿ã¹ãã«ã¯3ã¤ã®æ¹æ³ãããã¾ãããtopããwããvmstatãã³ãã³ãã使ãæ¹æ³ã§ãã -----------------------------------------------------
ããã§ã¯ããããã¯ã¼ã¯ä¸ã®ãµã¼ãã¼åã³ã¯ã©ã¤ã¢ã³ããã·ã³ã®æå»åæãã¨ãããã®ãããã³ã«ã§ããNTPï¼Network Time Protocol ï¼ã«ã¤ãã¦è§£èª¬ãã¦ããã¾ããPCã®æå»ã¯ãã¶ã¼ãã¼ãä¸ã®ãªã¢ã«ã¿ã¤ã ã¯ããã¯ï¼RTC)ã«ãã£ã¦æéã表示ããã¦ãã¾ããããã®æéã¯ãã¾ãæ£ç¢ºã§ã¯ãªããæ¯æ¥å°ãã¥ã¤æéãçã£ã¦ããã¾ãï¼é»æ± ã®æ¶è度ã«ãããã¾ãããå¹´éç´10åç¨åº¦ï¼ãNTPãµã¼ãã¼ã¯ãã¿ã¤ã ãµã¼ãã¼ã«æ¥ç¶ãããã©ã¸ãªã»ã¯ããã¯ãååæè¨ããæå»ãåå¾ããUTC (åå®ä¸çæ)ã«åæããããã¨ãã§ãã¾ããPCã®æå»ãçã£ã¦ããã¨ãã¡ã¼ã«ã®éåä¿¡æå»ãçã£ããããã¾ãã«ã¨ã£ã¦ãããã°ã®åå¾æéãªã©ãçã£ã¦ãããã¨ã«ãªãã¾ããLinuxã§ã¯æ¨æºã§NTPãµã¼ãã¼ãä»å±ãã¦ããã®ã§æ¯éãæ´»ç¨ãã¦æå»åæãè¡ãã¾ãããã
2024-09-30 iPhone 16 Pro è³¼å ¥ IT ãè²·ãç© iPhone 14 Pro ã2å¹´ã»ã©ä½¿ã£ã¦ãããããããªã¼ãã¸ãã£ã¦ããã¨æãã¦ãããã¨ã¨ãæ éäºé²çãªæå³åããApple Intelligence ãä½æãããã¦è³¼å ¥ãä»åã¯ãäºç´éå§15åå¾ã«è³¼å ¥æç¶ãã(15åãå¾ ã¡è¡åã«å ¥ã£ã¦ããããã§è³¼å ¥ãªãã¬ã¼ã·ã§ã³ä¸å¯ã ã£ã) ⦠2024-08-24 SwitchBotãã©ã°ããã®ãã¡ã¼ã ã¦ã§ã¢æ´æ°ã§ã¢ãããã¼ãã10%ã§æ¢ã¾ã£ã¦å¤±æããå ´å IT ã¿ã¤ãã«ã®éããªã®ã§ããã以å X (Twitter) ã«ãã¹ãããã¨ãããæéãçµã£ã¦ãã¡ããã¡ãã Like ãçãã®ã§ãããã«ã転è¨ãã¦ããã¾ããSwitchBot ãã©ã°ããã®ãã¡ã¼ã ã¦ã§ã¢æ´æ°ããã¦ãã¾ãããã¢ãããã¼ãã10%ã§æ¢ã¾ã£ã¦å¤±æããæ¹ã¸ããã©ã°ã⦠2024-08-12 西æ°å®¿ ä»äºå±æ¬åº - æ¯
Fedora Coreãæ¨æºã§æ¡ç¨ãã¦ããyumã³ãã³ãã¯ãRPMããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¢ãããã¼ããªã©ãè¡ãããã®ããã°ã©ã ã ã Fedora Core 1ãèªåæ´æ°ããã«ã¯ï¼yumç·¨ï¼ã§èª¬æããããã«ãã·ã¹ãã ãæ´æ°ããã ãã§ããã°ã
October 2, 2008 â 2:42 pm PHPï¼ã§ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã¦ã§ããµã¼ãã¹ã®éçºãããéãZend Framework(ZF)ãå½¹ã«ç«ã¤ãå¼·ãæ¨å¥¨ãããã¨ã®è©±ãèãã(Google Web Serviceã®You-tubeä¸ã®ãã¢ã ã£ãã¨æãï¼ãæ©éãæããµã¼ãã«ãããããã¤ã³ã¹ãã¼ã«ãããã¨ã«ããããã¥ã¢ã«(ããã°ã©ãåããªãã¡ã¬ã³ã¹ã¬ã¤ãï¼ãèªãã§è¦ãã¨ããã®ãï¼ï¼ï¼ãã¤ã³ã¹ãã¼ã«ãã®åé ã«ã Zend Frameworkã¯PHP 5.1.4以éã§ãªãã¨åä½ãã¾ãããããããZendã¨ãã¦ã¯5.2.3以éã使ããã¨ãå¼·ãæ¨å¥¨ãã¾ããã¨ããã®ãã5.2.3ããåã®ãã¼ã¸ã§ã³ã¨æ¯ã¹ã¦å®å ¨æ§ãããã©ã¼ãã³ã¹ãåçã«åä¸ãã¦ããããã§ãã ã¨è¨è¿°ããã¦ããããããåãã¦ãæããµã¼ããPHPãã¼ã¸ã§ã³ãææ°ã®å®å®ç5.2.6ã«ã¢ããã°ã¬ã¼ããããã¨ã«ããªããã°ãã¨ä½æ¥ã
ããã§ã¯ããã°ã®è¥å¤§åãé²ãããã®ãã°ã®ãã¼ãã¼ã·ã§ã³ã«ã¤ãã¦è§£èª¬ãã¦ããã¾ããsyslog ãä»ã®ããã»ã¹ãåºåãããã¡ã¤ã«ã¯æ¾ç½®ãã¦ããã¨ã©ãã©ããµã¤ãºã大ãããªãããã£ã¹ã¯ã¹ãã¼ã¹ãå§è¿«ãã¦ããã¾ããã¤ã³ã¹ãã¼ã«æã¯/var ãã£ã¬ã¯ããªã®ãã£ã¹ã¯å æçã0%ã§ãã£ã¦ããæ°é±éãæ°ã¶æçµéãããã¨ã«ãã£ã¨ããéã«å æçãå¢å¤§ãã¦ãããã¨ã«æ°ãã¤ãã¨æãã¾ãããããããããã®åºåããããã°ãä½ä¸ä»£åãã¼ãã¼ã·ã§ã³ããããã¨ãã£ããã¨ãäºã決ãã¦ããã°ãæå®ãã以ä¸ã®ãã¡ã¤ã«ã¯ä½æãããªããªãããã®ä¸ã§ãã°ããã¼ãã¼ã·ã§ã³ããã¦ããã®ã§ãã°ãµã¤ãºã®è¥å¤§åãé²æ¢ãããã¨ãã§ããã®ã§ããRPMã§ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ããæ¹ã¯ãã»ã¨ãã©ãã°ã®ãã¼ãã¼ã·ã§ã³ãã«ã¹ã¿ãã¤ãºããå¿ è¦ã¯ããã¾ããããã½ã¼ã¹ããã³ã³ãã¤ã«ãã¦ã¤ã³ã¹ãã¼ã«ããå ´åã«ã¯ããã°ã®ãã¼ãã¼ã·ã§ã³ã¯å¿ é ã®ä½æ¥ã¨ãªãã¾ããã¾
ããã®è¨äºã®æè¦æé ï¼ ç´ 2 åã ãã¹ãåãæå®ãã¦ã¤ã³ã¹ãã¼ã«ããå¾ã«ãããã¹ãåãå¤æ´ãããï¼ãã¨ããå ´åã®å¯¾å¦æ¹æ³ã 以ä¸ã®ããã«ãã¦ãã¹ãåãå¤æ´ãããã¨ã¯ã§ãããããªãã¼ãï¼åèµ·åï¼ããã¨ãã¨ã«æ»ã£ã¦ãã¾ãã®ã§æ³¨æãå¿ è¦ã # hostname å¤æ´å¾ã®ãã¹ãå å®å ¨ã«ãã¹ãåå¤æ´ãåæ ãããã«ã¯ä»¥ä¸ã®æé ãå¿ è¦ã ï¼ï¼/etc/hosts ã®å¤æ´ # vi /etc/hosts ï¼ï¼/etc/sysconfig/network ã®å¤æ´ # vi /etc/sysconfig/network ï¼ï¼ãªãã¼ãï¼åèµ·åï¼ # reboot ï¼ã®ä»£ããã«ã以ä¸ã®ããã«ãããã¯ã¼ã¯ããã¤ã¹ãåèµ·åããã°ããã¨ãããµã¤ãããããããªãã¼ãããªãã¨å¤æ´ãåæ ãããªãã£ãã # /etc/rc.d/init.d/network restart åèãµã¤ã OSãåèµ·åãã¦ãæ°ãã¹ãåã«ãã
rsync ã®ã¦ã§ããã¼ã¸ã¸ããããrsync ã¯ããµã¤ãºããã大ãããªããã¡ã¤ã«ã®è»¢éã«é©ãããªã¼ãã³ã½ã¼ã¹ã®ã¦ã¼ãã£ãªãã£ã§ããrsync 㯠GNU General Public License ã«åºã¥ããèªç±ã«å©ç¨ãããã¨ãã§ãã¾ãã rsync 2.5.4rsync ã®ææ°ãã¼ã¸ã§ã³ã¯ 2.5.4 ã§ãã ãã®ãã¼ã¸ã§ã³ã®å¤æ´ç¹ã¯ä»¥ä¸ã®éãã§ã: rsync 2.5.4 (13 March 2002) "Imitation lizard skin" BUG FIXES: * Additional fix for zlib double-free bug. (Martin Pool, Andrew Tridgell) (CVE CAN-2002-0059) ENHANCEMENTS: * Merge in changes from zlib 1.1.3 to zlib 1.1.4.
æ´èµ°ãã¦ã©ãã©ãã¡ã¢ãªãé£ãã¹ã¯ãªããã OSå ¨ä½ã®ã¡ã¢ãªä½¿ç¨é(CentOS5 ... ã«ã¼ãã«ã¯2.6ç³»ã«ãªã)ã®åä½ã«ã©ããªå½±é¿ãä¸ããã®ããã£ã¦ã®ãè¦ãããã«ä»¥ä¸ã®ãããªãã¹ãããã¦ã¿ã¾ãããä»çµã¿ã¯ã ãããç解ãã¦ããã©ãç´°ããæ°å¤ã追ã£ããã¨ã¯ãªãã£ãã®ã§ãã£ã¦ã¿ã¾ããã sshã§ãã°ã¤ã³ãã¦ãtopãç«ã¡ä¸ãããããã»ã¹ãè¦å¼µãç¨æããã¦ãã å¥ã®sshããã¡ããã¦ã Perlã¯ã³ã©ã¤ãã¼ã§ä»¥ä¸ã®ãããªããã»ã¹ãèµ°ããã(ãã®ããã»ã¹ãtopã§è¦å¼µã) # 1ç§ãã¨ã«5MBåä½ã§ã¡ã¢ãªãé£ãããã»ã¹ # æ°å¤ã¯ã好ã¿ã§ perl -e "while(1){ sleep 1; push @h , 1 x 1024 x 1024 x 5 } " ã¡ãªã¿ã«topã§è¦å¼µãã¨ã㯠ã¡ã¢ãªä½¿ç¨éã§ã½ã¼ããããããã«ã㦠topèµ·åä¸ã« shift + o ãæ¼ã㦠n ãæ¼ã㨠å®ã¡ã¢ãª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}