You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
2013-12-21 æ±ã¢ã¸ã¢æåå¹ åé¡ã¨ã®æ¦ãã®è¨é² ããã«ã¡ã¯ãããã°ãå§ãã¦2æ¥ç®ã«ãªã wacky ã§ãããã®è¨äºã¯ KMC ã¢ããã³ãã«ã¬ã³ãã¼ 2013 ã® 21 æ¥ç®ã®è¨äºã§ããæ¨æ¥ã®è¨äºã¯ uiureo ããã® ChatPad ã§ã®ä¼è©±ã¯ç°¡åã«çè´ããã ã§ãããä»åã®è¨äºã®ã¿ã¤ãã«ã¯ããambiguousãªæåå¹ ã2ã§ã256è²è¡¨ç¤ºã§ã罫ç·ãã¡ããã¨è¡¨ç¤ºãããtmuxãã®äºå®ã§ããããè²ã æ¸ãã¦ããã¡ã«å¤ããããªã£ãã®ã§ãå¤ãããã¨ã«ãã¾ããã æ±ã¢ã¸ã¢æåå¹ åé¡ã¨ã¯ KMC ã®ã¢ããã³ãã«ã¬ã³ãã¼ããã©ã£ã¦ãã®è¨äºãè¦ã¦ãã人ã®ä¸ã«ã¯ãã¯ã©ã¤ã¢ã³ãã¨ãã¦ä½ããã® Unix ãåããã¦ãã¦ãä¸æ¥ã®ã»ã¨ãã©ã端æ«ï¼ã¨ãã©ã¦ã¶ã¨ mikutter ï¼ã®ä¸ã§éãã人ãå¤ãã¨æãã¾ããèªåããã®ä¸äººã§ãããã¦ã端æ«ã®ä¸ã§ãâãâãªã©ã®æåå¹ ã Ambiguous ãªæåãæã¤ã¨
% /bin/ls -laF /var/log â -rw-r--r--  1 neko   nyaan   117649 Feb 22  2022 azumakuniyuki % /bin/cat /var/log/azumakuniyuki â ã¾ã ããã°ã®ç·´ç¿ä¸(´âï½) FIGletã¯âã®æ§ãªæåã大ãããããã¼ã«ã§ãè¨ãã°æåå°ç¨ã®ã¢ã¹ãã¼ã¢ã¼ããåºåããããã°ã©ã ã§ããåããããªç®çã®ããã°ã©ã ã¨ãã¦ã¯bannerã³ãã³ã(MacOS Xãªã/usr/bin/banner)ãããã¾ãããfigletã³ãã³ãæ¹ãããæè»ã«å¤å½©ãªæåã表示ã§ãã¾ãã åã¯ãµã¼ã管çã®è£å©çãªãã¼ã«ã¨ãã¦ãã®FIGletã使ã£ã¦ãã¾ãããã©ããªæãã§å½¹ç«ã¤ã®ãæ¸ãã¦ã¿ã¾ãã FIGletã®ç¨é FIGletã®ä½ã大ããªæåã¯è¦è¦çã«èªèããããããµã¼ãã®è¨å®ãã¡ã¤ã«ãªã©ã§ç¹ã«éè¦ãªé¨åãFIG
% /bin/ls -laF /var/log â -rw-r--r--  1 neko   nyaan   117649 Feb 22  2022 azumakuniyuki % /bin/cat /var/log/azumakuniyuki â ã¾ã ããã°ã®ç·´ç¿ä¸(´âï½) ãã¿ããªã®ãã¼ã ãã£ã¬ã¯ããªä¸ã®æ§æãæãã¦ãã ãã - ã¾ãããããè¦ãã®ã§ããã¡ã®$HOMEã®æ§é ãç½æ¥ã®ä¸ã«æãä¸ããäºã«ãããã¨æã£ã次第ã§ãã UNIX(ç³»OS)ã¯Solarisããå§ã¾ããFreeBSD, OpenBSD, MacOS X, ä»äºã§Linuxã使ãã¾ãããæ¦ãã©ãã§ãåããããª$HOMEã®æ§æã«ãã¦ãã¾ãã æåã®é ã¯ç°å¢ãå¤ãããã³ã«ãã£ã¬ã¯ããªåå¤ããããåæ§æãããããããã試è¡é¯èª¤ãã¦ãã¾ããããæçµçã«ã¯$HOME以ä¸ããã¡ã¤ã«ã·ã¹ãã é層æ¨æº(Filesystem Hi
ãã£ã¹ãã¬ã¤ãµã¼ãã¼éçºããã¸ã§ã¯ããWaylandãã®Kristian Hogsbergæ°ã¯10æ22æ¥ããWayland 1.0.0ãããã³ãã®ãªãã¡ã¬ã³ã¹å®è£ ãWeston 1.0.0ããå ¬éããããã£ã¹ãã¬ã¤ãµã¼ãã¼ã¨ãã¦ã®åºæ¬çãªæ©è½ãããããä»å¾ã®éçºã«åãããã¼ã¹ã«ãªããªãªã¼ã¹ã¨ããã Waylandã¯2008å¹´ã«Hogsbergæ°ãéå§ããããã¸ã§ã¯ããLinuxãªã©UNIXç³»OSåãã®ãã¹ã¯ãããç»é¢æç»ãè¡ããã£ã¹ãã¬ã¤ãµã¼ãã¼ããã³ãã®ãããã³ã«ã§ãX Windows Systemã®ç½®ãæãã¨ä½ç½®ä»ãããããã¨ããããã¢ãã³ãªã½ããã¦ã§ã¢ã¢ã¼ããã¯ãã£ã¸ã®å¯¾å¿ã軽éããç°¡ç´ åãªã©ãç¹å¾´ã¨ããUbuntuãFedoraãªã©ãæ¡ç¨ãè¨ç»ãã¦ããã Wayland 1.0ã«ã¤ãã¦Hogsbergæ°ã¯ããããã³ã«ã«åºæ¬çãªæ©è½ãæããä»å¾æ°æ©è½ãæ§ç¯ããåå°ã«ãªãã¨èª¬æãã¦ã
æ¬è¨äºã¯ ã¿ã¼ããã«ãã«ããã¬ã¯ãµ Advent Calendar 2011 : ATND ã®ï¼ï¼æ¥ç®ã§ããï¼ï¼æ¥ç®ã¯ tmux â¡ ssh ãªçæ´» - ææªãã¼ã¯ ã§ãããè¨å®ã«ãã£ã¦ ssh ããæä½ãå éã§ããã®ã¯ã¿ã¼ããã«ãã«ããã¬ã¯ãµã®å¼·ã¿ã®ä¸ã¤ã§ããããããã§ã¯ ï¼ï¼æ¥ç®ã®è¨äº ã®ç¶ãã¨ãã¦éçºç GNU Screen ã«ãããã¦ã£ã³ãã¦é¢é£ã®å¤æ´ç¹ã«ã¤ãã¦èª¬æãã¾ãã 足ããªããã¦ã£ã³ã㦠çãã㯠GNU Screen ãã©ã®ããã«ã使ãã«ãªã£ã¦ãã¾ããï¼ ç§ã®ä¾ãç´¹ä»ãã¾ãã¨ãããç¹å®ã®ãããã¹ãã« ssh ã㦠screen ãèµ·åããããããè¤æ°ã®ãªã¢ã¼ããµã¼ãã«ãã°ã¤ã³ãã¦å種ã³ãã³ãä½æ¥ããã°ãè² è·ã®ç£è¦ãªã©ã§ä½¿ç¨ãã¦ãã¾ãã ã¨ããã対象ã¨ãªããµã¼ããå¢ãã¦ããã¨ãããã«å¿ããæ°ã®ã¦ã£ã³ãã¦ãä½æãã¾ãã®ã§ 40 åã§ã¯è¶³ããªãå ´åãåºã¦ãã¾ãããã®æ°ã®å£ãä½æ¥
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? #!/bin/bash ########################################################### # ãã®ã¹ã¯ãªããã®ç¹å¾´ # # åä¿¡ã»ééã«ã¤ãã¦ã¯åºæ¬çã«ç ´æ£ãããã¯ã¤ããªã¹ãã§è¨±å¯ãããã®ãæå®ããã # éä¿¡ã«ã¤ãã¦ã¯åºæ¬çã«è¨±å¯ããããã ãããµã¼ããè¸ã¿å°ã«ãªãå¤é¨ã®ãµã¼ãã«è¿·æããããå¯è½æ§ãããã®ã§ã # å¿é ãªå ´åã¯ãéä¿¡ãåä¿¡åæ§ã«åºæ¬ç ´æ£ã»ãã¯ã¤ããªã¹ãã§è¨±å¯ããããã«æ¸ãæããã¨è¯ãã #########################################
åå解説ããããã«ãã·ã¹ãã ã³ã¼ã«ã¯éæ³ã®é¢æ°ã§ããªããã°ãä¸æè°ãªãã®ã§ããªããã«ã¼ãã«ã«æ£ç´ã«å¦çãä¾é ¼ãããã®ã§ããä»åã¯ãæ¨æºã©ã¤ãã©ãªé¢æ°ã¨ã®éãã«ã¤ãã¦è§£èª¬ãã¾ããï¼ç·¨éé¨ï¼ ã·ã¹ãã ã³ã¼ã«ã使ã£ã¦ã¿ãåã« ä»åããç°¡åãªã·ã¹ãã ã³ã¼ã«ããã°ã©ãã³ã°ãéãã¦ããããããã·ã¹ãã ã³ã¼ã«ããã©ããã£ããã®ã§ããããç´¹ä»ãã¦ãããã¨æããã·ã¹ãã ã³ã¼ã«ã«è§¦ããããã®ç°å¢ãã©ãæ§ç¯ãããã¨ããç¹ã«ã¤ãã¦ã¯ãé£è¼ï¼ãã¾ããèããªãVim 第8åãVimãããã°ã©ã éçºç°å¢ã«ãã¦ãã¾ãããã«è©³ããã¾ã¨ãã¦ããããã¡ããåèã«ç°å¢ãæ§ç¯ãã¦ã»ããã å ã«æããè¨äºã§ã¯ãFreeBSDã¨Ubuntuãä¾ã¨ãã¦ç°å¢æ§ç¯æ³ã解説ãã¦ãããã»ãã®ç°å¢ï¼Mac OS X LionãUbuntu 11.10ãSolaris 11ï¼ã使ããã¦ããæ¹ã®ããã«ã使ç¨ããã³ãã³ããããããã®ç°å¢ã§ç½®ãæããæ¹æ³
ãã®ææ¸ã§ã¯ã¾ããé¢æ°ãã¤ã³ã¿ã¨ãã®åãã§ãã¯ã«ã¤ãã¦è¿°ã¹ãå¾ã§ãUNIXã®ã·ã°ãã«æ©è½ã«ã¤ãã¦è§£èª¬ãããããã¦ãã¦ã£ã³ãã¦ã·ã¹ãã ã®ããã°ã©ãã³ã°ã§å¤ç¨ããããã³ã¼ã«ããã¯ãã«ã¤ãã¦è§£èª¬ããã ã¡ãªã¿ã«ã·ã°ãã«ã®æ©è½ã¯æ¬è³ªçã«ã¯ UNIX ã«åºæã§ãããä»ã®ï¼¯ï¼³ã«ããªãããã§ã¯ãªããããã®ç°åã«ã¤ãã¦ã¯çè ã¯é¢ç¥ããªããã¾ããUNIXã§ã®ã·ã°ãã«ã®å®è£ ã«ã¤ãã¦ã¯ Linux ãåºæºã«è§£èª¬ããã¦ãããUNIX ã·ã°ãã«ã¯ãå®ã¯å ·ä½çãªå®è£ ã«ããã¦å¤§å¤å·®ãããæ©è½ãªã®ã ããä¸å¿ POSIX ã§ãããå®è£ ããªãããã¨ãã風ã«æ±ºã¾ã£ã¦ã¯ãããå¾çºã® Linux ã¯æ¯è¼çãã¸ã¡ã«ãããå®è£ ãã¦ããã®ã§ãã¾ããLinux ãåºæºã«ããã®ãç¡é£ã¨ãããã®ã§ãããï¼ã¦ã¼ã¶æ¯ã®åé¡ãå¥ã«ãã¦ãï¼ãå¿è«ãä¼çµ±çã«éè¦ãªãããããSysVã·ã°ãã«ããBSDã·ã°ãã«ãã«ã¤ãã¦ããã£ããã¨è§£èª¬ãã¦ãããããã¯ãã
SSHã¯ã©ã¤ã¢ã³ããããã並ã¹ã¦ãã¼ã¹ããã¾ããã®ã許ãããã®ã¯å°å¦çã¾ã§ã ãã ã¨è¨ã£ã¦ã¿ããã£ãã ãã§ããããã«ã¡ã¯ã Capistranoã§ãµã¼ãæ§ç¯ãçååããæ¹æ³ãç´¹ä»ãã¾ãããµã¼ãæ§ç¯ã®èªååã¨ããã°ChefãPuppetãæåã§ãããCapistranoã¯ãµã¼ãã«SSHæ¥ç¶ããã§ããã°å©ç¨ã§ããã¡ãªãããããã¾ãããã¼ã¿ã»ã³ã¿ã«æã¡è¾¼ããã¼ãPCã«Capistranoãä»è¾¼ãã§ããã°ä¾¿å©ãªãã¼ã«ã«ãªãããçæéã«æ¤è¨¼ç¨ã®ãµã¼ããæ§ç¯ããå ´åãæç¨ãªãã¼ã«ã«ãªãã§ããããCapistranoã¯ãããã¤ãã¼ã«ã¨ãã¦ä½¿ããããã¨ãå¤ãã§ããããµã¼ãæ§ç¯ã«ãæç¨ã§ãã Capistranoã¯Rubyã§æ¸ããããã¼ã«ã§ãè¤æ°ã®ãµã¼ãã«SSHæ¥ç¶ãã¦ã³ãã³ããå®è¡ã§ãã¾ããåæ§ã®ãã¼ã«ã¨ãã¦expectãããã¾ãããCapistranoã®ã¹ã¯ãªããã¯Rubyã®å é¨DSLãªã®ã§æ¸ããããæ¡
/bin/shã®å®ä½ã¨ãã¦ã¯ashï¼dashï¼ãbashãkshã®æ¡ç¨ä¾ãå¤ããã©ã®ã·ã§ã«ãBourne shellã®æ©è½ã«å ãã¦ãæ¡å¼µæ©è½ãæä¾ããã FreeBSDãªã©ã®ï¼BSDç³»ã®OSã¯ãashã/bin/shã¨ãã¦ä½¿ã£ã¦ãããashã¯POSIX.1ï¼POSIX:2008ï¼ã«ããããã®BSDæ¡å¼µæ©è½ãåãè¾¼ãã ã·ã§ã«ã ãã¡ã¢ãªããã¾ãæ¶è²»ãããé«éã«åä½ããã»ãã®ã©ã¤ãã©ãªã«ä¾åãããã¨ãå°ãªããå¾ã£ã¦ãrootãã¬ã¹ãã¥ã¼ã·ã¹ãã ã®ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ãã·ã¹ãã ã®ã·ã§ã«ã¹ã¯ãªããã¨ãã£ãå ´é¢ã§æ¡ç¨ããã¦ããã Mac OS Xã¯bashã/bin/shã«æ¡ç¨ãã¦ãããFedoraãopenSUSEãªã©ã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãbashã/bin/shã«æ¡ç¨ãã¦ãããLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ãUbuntuãDebianãLinux Mintãªã©ã¯ãé«éã«åä½ãã
OpenSolarisã®å¾ç¶ãç®æãOpenIndianaããã¸ã§ã¯ãã¯9æ14æ¥ãææ°çãOpenIndiana oi_151aããå ¬éããããªã¼ãã³ã½ã¼ã¹ã§éçºããã¦ããSolarisæ´¾çã«ã¼ãã«ãIllumosãããã¼ã¹ã¨ããåã®ãã«ãã¨ãªããä»®æ³åã§ã¯KVMãµãã¼ããå ãã£ã¦ããã OpenIndianaã¯ãç±³Oracleã«ããOpenSolarisããã¸ã§ã¯ãã®æ¯æ´ååå¤æ´ãåããThe Illumos Foundationã2010å¹´9æã«çºè¶³ãããããã¸ã§ã¯ããThe Illumos Foundationã¯ãSolarisãã¼ã¹ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãéçºããç±³Nexentaã®éçºè ãä¸å¿ã¨ãªã£ã¦ç«ã¡ä¸ããéå¶å©çµç¹ã§ãOpenSolarisã®OSã¨ãããã¯ã¼ã¯é¨åã§ããOS/Netï¼ONï¼ã«ãããã¾ã§ã¯ãã¼ãºãã ã£ãã³ã³ãã¼ãã³ãããªã¼ãã³ã«ãããã®ãå ãããIllumo
Debianã§LDAPãµã¼ããç«ã¦ã¦ã¿ãéã®èªåç¨ã¡ã¢ã誤ããå¤ããç¡ä¿è¨¼ã OpenLDAP server (slapd)ãå°å ¥ ã¤ã³ã¹ãã¼ã« % sudo apt-get install slapd % sudo vi /etc/ldap/ldap.conf ... BASE dc=example,dc=com HOST xxx.xxx.xxx.xxx TLS_CACERT /etc/ssl/certs/myhost.pem ... % åºæ¬è¨å® 管çè ã¢ã«ã¦ã³ããè¨å®ãããã¾ããslapdèªèº«ã®è¨å®ããè¨å®ãã¡ã¤ã«ã§ã¯ãªã è¨å®ãã¼ã¿ãã¼ã¹ã«è¨é²ããããè¨å®ããã % sudo slappasswd -h '{SSHA}' ... % sudo vi /etc/ldap/slapd.conf ... suffix "dc=example,dc=com" ... rootdn "cn=
Warning: getimagesize(http://images.amazon.com/images/P/4798018007.09.THUMBZZZ.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/html/blog/wp-content/plugins/simple-amazon/include/sa_generate_html_class.php on line 137 Linuxã®ã¦ã¼ã¶èªè¨¼ã«LDAPãå©ç¨ããå ´åã®æ³¨æç¹ãç´¹ä»ãã¾ãã â»è¨å®æ¹æ³çã®è©³ç´°ã«ã¤ãã¦ã¯ä»åã¯å²æãã¾ãã é常Linuxã®ã¢ã«ã¦ã³ãèªè¨¼ã«LDAPãå©ç¨ããå ´åãPAMãçµç±ãã¦èªè¨¼ããããã¨æãã¾ãã ãã®æãLDAPãµã¼ãã«ãªã
ãã¤ãã¿ã¼ã§ãApacheãã°ãtailä¸ã«ã¹ãã¼ã¿ã¹ã³ã¼ãé¨åã ãã«è²ã¤ãããããã£ã¦ã®ãè¦ãã®ã§ä½ã£ã¦ã¿ãã #!/bin/sed -f ## MEMO # [0m reset # [1m bold # [3m italic # [4m underline # [5m blink # [30m black # [31m red # [32m green # [33m yellow # [34m blue # [35m magenta # [36m cyan # [37m white s/\(HTTP\/1..\"\) \(2[0-9][0-9]\) /\1 \x1b[34m\2\x1b[0m / s/\(HTTP\/1..\"\) \(3[0-9][0-9]\) /\1 \x1b[32m\2\x1b[0m / s/\(HTTP\/1..\"\) \(4[0-9][0-9]\) /\1
ãã¹ããè©ä¾¡ã«ä½¿ããããªãªã¼ãã³ã½ã¼ã¹ã®ãã®ãéãã¦ã¿ã¾ããã netperf ã iozone ã¯ãã使ããã¨ãå¤ãã§ãããã®ä»ã試ãã¦ã¿ãäºå®ã§ãã I/Oãã¹ã ãã¡ã¤ã«ã·ã¹ãã I/Oãã¹ã bonnie http://www.textuality.com/bonnie/ bonnie++ http://www.coker.com.au/bonnie++/ IOzone http://www.iozone.org/ Iometer http://www.iometer.org/ tiobench http://sourceforge.net/projects/tiobench/ Threaded I/O tester è² è·ãã¼ã«ï¼ãã¼ãã¸ã§ãã¬ã¼ã¿ï¼ stress http://weather.ou.edu/~apw/projects/stress/ CPU,ã¡ã¢ãª,I/O,ãã£ã¹
Linux 㧠signal + ãã«ãã¹ã¬ãããã¨ããã¨ãã³ãã©ã§ãããããããã¨ããã¨ãããã¯ããæªå¤¢ã®ããã«å¤§å¤ã§ã²ã¨ã¤ signal å¦çç¨ã¹ã¬ãããç¨æããã®ãå®ç³ã®ããã§ãã ãã¦ã¯ã¦ããããªãã¨ã§ FreeBSD ãããããã³ã¼ããæ¸ã㦠fork ããåä¾ãååãã¦ãããã¨ããã¨ãããå ¨ãåãã¦ãã¾ãã⦠orz ããã¯ã©ããããã ãã??ã¨èª¿ã¹ãçµæ 空㮠signal handler ã signal ã§ãããã§ããã¨åãã ããã¨ããããã¾ããã ã¯ã¦ãã¦ãããã¯ã«ã¼ãã«ã«ã©ããªå®è£ ã®å·®ãããã®ã§ãããã? ããã¦ãä»ã®BSDã§ã¯ã©ããªã£ã¦ããã®ã§ãããã? ãããä»åã®çåã§ãã å®é¨ ã²ã¨ã¾ããããªã³ã¼ãã使ã£ã¦å¼æ°ã« 0-3 ã渡ãã¦å®é¨ãã¾ããä¸èº«ã¯ãããªæãã®ããã°ã©ã ã§ãã #include <stdio.h> #include <signal.h> #in
Linuxçã®ã³ãã³ãã©ã¤ã³ã§ä½¿ãã便å©ãªã¯ã³ã©ã¤ãã¼ããä¸çä¸ã®ã¿ããªã§å ±æãã¡ãããã¨ãããCommand-line-fuãã¨ãããµã¤ããç´ æµï¼ All commands 以åã100SHIKIããã§ãã以ä¸ã®ããã«ç´¹ä»ããã¦ãã¾ããï¼ Command-line-fuã§ã¯Linuxãªããã®ã³ãã³ãã©ã¤ã³ã§ä½¿ããã¯ã³ã©ã¤ãã¼ï¼ä¸è¡ããã°ã©ã ï¼ãæ稿ã»å ±æã§ããã èªåããã使ãã¯ã³ã©ã¤ãã¼ãä¿åãã¦ããã¦ä½¿ããè¯ããä»ã®é人ã®æãçããè¯ããã®ç´ æ´ããããµã¼ãã¹ã§ããã ã¡ãã£ã¨ã®ããã¦ã¿ãã ãã§ããã¸ã¼ãä¸è¡ã§ããã¾ã§åºæ¥ããã ã»ã»ã»ãã¨ããå°æããã£ã¦ããªãåå¼·ã«ãªãã ã³ãã³ãã©ã¤ã³ã§ä½¿ããè¶ çµ¶ä¾¿å©ãªã¯ã³ã©ã¤ãã¼ãæ稿ã»å ±æã§ãããCommand-line-fuã | 100SHIKI ã§ããµã¤ãã§æ°ããæ稿ãããã¯ã³ã©ã¤ãã¼ããã©ã¦ã¶ã§çºãããããµã¤ãã§ãã¼ã¯ã¼ãæ¤ç´¢ããããRS
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}