æ¡å¤æåæ¹æ³ãã失æéã®ã»ããã¿ã¡ã«ãªãããï¼ ã¨ããã§hoståãtaihaãªã®ã¯å®å®æ§ã«é¢ä¿ãªãã§ã!!
æ¡å¤æåæ¹æ³ãã失æéã®ã»ããã¿ã¡ã«ãªãããï¼ ã¨ããã§hoståãtaihaãªã®ã¯å®å®æ§ã«é¢ä¿ãªãã§ã!!
é常ãªãä»ã®ãã¼ã«ã¨çµã¿åããããã2ï½3ã¹ããããå¿ è¦ãªå¦çãzshã®å¤æ§ãªå±éå¦çãç¨ããã°ä¸çºã§çµæãå¾ããããã¨ãå¤ãã ã¨ã¤ãªã¢ã¹ ã¨ã¤ãªã¢ã¹ã¯æ軽ã«è¨å®ã§ãããã«å¹æãå¾ããã便å©ãªæ©è½ã§ãããä»ã®ã·ã§ã«ã§ã使ããåºæ¬çãªã¨ã¤ãªã¢ã¹ã®ä»ã«ãzshã«ã¯ä»¥ä¸ã®ã¨ã¤ãªã¢ã¹ãç¨æããã¦ããã æ¥å°¾è¾ã¨ã¤ãªã¢ã¹ ã°ãã¼ãã«ã¨ã¤ãªã¢ã¹ æ¥å°¾è¾ã¨ã¤ãªã¢ã¹ æ¥å°¾è¾ï¼suffixï¼ã¨ã¤ãªã¢ã¹ã¯ããã¡ã¤ã«ã®æ¡å¼µåã¨ãããéãã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ã®é¢é£ä»ãã¨ãè¨ããæ©è½ã§ãç¹å®ã®æ¡å¼µåãç¹å®ã®ããã°ã©ã èµ·åã«çµã³ä»ãããæ¥å°¾è¾ã¨ã¤ãªã¢ã¹ã¯ alias -s ã§ç»é²ããã alias -s pdf=xpdf ã¨ããã¨ãæ¡å¼µåã ".pdf" ã®ãã¡ã¤ã«ãã³ãã³ãã©ã¤ã³ã®ã³ãã³ãä½ç½®ã§ãèµ·åãããã¨xpdfãèµ·åãã¦éãã % ls foo.pdf hoge.pdf % foo.pdf zsh:
src /dev/full is always full FreeBSD 11.0-CURRENTã«çä¼¼ããã¤ã¹ãã¡ã¤ã«/dev/fullã追å ããã¾ããï¼ãªãã¸ã§ã³265132â ï¼â ã/dev/fullã¯ãã£ã¹ã¯å®¹éããã«ç¶æ ã模æ¬çã«ä½ãåºãã¦ããããã¤ã¹ãã¡ã¤ã«ã§ããã£ã¹ã¯å®¹éããã«ç¶æ ã«ãªã£ã¦ããå ´åã®ã½ããã¦ã§ã¢ã®åä½ããã§ãã¯ããã¨ãã£ãç®çã§ä½¿ããã¾ãã å³ãæ°ãã追å ããã/dev/fullçä¼¼ããã¤ã¹ãã¡ã¤ã« $ ls -l /dev/full crw-rw-rw- 1 root wheel 0x9 May 3 14:39 /dev/full $ /dev/fullãããã¼ã¿ãèªã¿è¾¼ãã¨NULæåãã¼ã¿ï¼0x00ï¼ãåãåºããã¾ãããã®åãã¯/dev/zeroã¨åãã§ãã å³ãèªã¿è¾¼ã¿ã«é¢ãã¦ã¯/dev/fullã¯/dev/zeroã¨åã $ dd if=/dev/ful
Ubuntu 9.04ã§ã¯æ§ã ãªæ°æ©è½ã追å ããã¾ããããã®ä¸ã«ã¯"screen-profiles"ã¨åä»ãããããGNU Screenã®è¨å®éãå«ã¾ãã¦ãã¾ããããã¯ã¿ã¼ããã«ã«CPUãã¡ã¢ãªã®å©ç¨çãç¡ç·LANã®æ¥ç¶å質ã»ã¢ãããã¼ã¿ã®æç¡ãªã©ãªã©ãå¤ãã®ã¤ã³ã¸ã±ã¼ã¿ã表示ãããã¨ãã§ãããã®ã§ããä»åã¯ãã®screen-profilesã®ä½¿ãæ¹ãç´¹ä»ãã¾ãããããã¦ãscreen-profilesã®ææ°çã"byobu"ï¼å±é¢¨ï¼ãç´¹ä»ãã¾ãã screen-profilesã®æ¦è¦ GNU Screenã¯ç¬¬19åã§ã触ããéããã¿ã¼ããã«ãé »ç¹ã«å©ç¨ããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ã¯æ¬ ãããªããã®ã§ããsshã§ãã°ã¤ã³ãã¦Screenãèµ·åãã¦ä½æ¥ãè¡ãï¼screenâ ï¼â ãScreenãdetachï¼screen -rï¼ãã¦åæ¥ç¶ãã¨ãã£ã使ãæ¹ã¯ãã¿ã¼ããã«ãä¸å¿ã«ä½æ¥ãè¡ãå ´åã®å®ç³ã®ã²ã¨ã¤
zshã使ãå§ãã¦æåã«æ°ã«ãªãç¹ã®ãã¡ãããã«è¨å®ãã¦ããã«å¹æãå®æã§ããå³å¹è¬çãªãã®ãä»åã¯ç´¹ä»ãããã ããã³ãã ããã¾ã§ã¨ã¯éãã·ã§ã«ãèµ·åãã¦ã¾ãç®ã«ããã®ãããã³ããã§ããããå¤ããã¨ã¡ãã£ã¨ããéåæãããããã®éåæã¯çµæ§å¤§åã§ã¹ã¼ãã¼ã¦ã¼ã¶ã«åãæ¿ãããããã¾ãè¨å®ãã¦ããªããã·ã³ã触ã£ã¦ãããã¨ãããã¨ãå®æã§ããã®ã§æ éã«ä½æ¥ãé²ãããã£ããã«å©ç¨ã§ããã zshã«ä¹ãæããã¨ããããããéåæãæããããã¾ã§ã®ã·ã§ã«ã¨ä¼¼ããã®ã«ããããªããããããªãããã¡ãã£ã¨ããéåæãä¿ã£ã¦ããã¾ã§ã¨ã¯éãæ©è½ãããããå©ç¨ããã®ã ãã¨ããå¿æ§ãã«ãããã©ãã ããããå¿æ§ãã¯ã¨ãããã¨ãã¦ãããã³ããåºåã«ãzshã®ç´°ãããªé æ ®ãããã®ã§ããããæ´»ãããªãã®ã¯æã§ããã ãã®æ©è½ããã«ã«æ´»ããã¦ãããã¨ã¾ã§ã¯è¡ããªãããçè ã® ~/.zshrc ã®ããã³ããè¨å®é¨åã¯æ¦ã
æ¬é£è¼ã§ã¯ç¬¬ä¸ç·ã®Perlããã«ã¼ãåæ¿ããã§å·çãã¦ããã¾ããä»åã®ããã«ã¼ã¯songmuãããã¨æ¾æ¨é 幸ããã§ããã¼ãã¯cronã§ãã ãªãæ¬ç¨¿ã®ãµã³ãã«ã³ã¼ãã¯ãæ¬èªãµãã¼ããµã¤ãããå ¥æã§ãã¾ãã cronã¨ã¯ï¼ cronã¯æå®æ¥æã«ã¸ã§ãã®èªåå®è¡ãè¡ãã¸ã§ãã¹ã±ã¸ã¥ã¼ã©ã§ããUNIXç³»ã®OSã§ããã°å®è£ ã®éããããããã»ã¼æ¨æºã§ã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãã ä½æ¥èªååããã¿ã¹ã¯ãèªåå®è¡ããããªã©ã¨ãã£ãå ´åã«cronã¯é¿ãã¦ã¯éãã¾ãããPerlã§ãããå¦çãæ¸ãéãªã©ã«å¤ãã®äººãæ´»ç¨ãã¦ããã¨æãã¾ããããã¹ããã©ã¯ãã£ã¹ãããããæãæã使ã£ã¦ãã人ãå¤ãã®ã§ã¯ãªãã§ããããã æ¬ç¨¿ã§ã¯ãcronæ´»ç¨ã«ããããã¹ããã©ã¯ãã£ã¹ã«ã¤ãã¦ã話ãã¾ãã cronã®ä½¿ãã©ãã cronã®ä½¿ãéã¯ã主ã«æ¬¡ã®3ã¤ãèãããã¾ãã aï¼ã¢ããªã±ã¼ã·ã§ã³ã®ã¸ã§ãã®å®è¡ bï¼ã·ã¹ãã ã«é¢ãã
ä»åã¯zshã®èªãæ©è½ã®è±å½¢ã¨ãè¨ããè£å®æ©è½ã«ã¤ãã¦ç´¹ä»ããããzshã®è£å®ã¯å¼·å¤§ã§ãä¾ç¤ºããè¨å®ã®æå³ãç¥ããæ¸ããã¨ããã¨ããã ãã§æ¬ã«ãªã£ã¦ãã¾ãï¼ç´150ãã¼ã¸åï¼ã®ã§ãç´°ããæå³ã¯èªè ã®æ¨æ¸¬ã«ã¾ããã¦ãå°ãå¤ãã¦ä¾¿å©ã«ã«ã¹ã¿ãã¤ãºããå ´åã®ãã³ãã交ããªãã解説ãé²ãããã è£å®ã®æå¹å åæåãã¡ã¤ã«ããããã¯ã³ãã³ãã©ã¤ã³ã§ã以ä¸ãå ¥åãããã¨ã§zshã®ããããè£å®æ©è½ãæå¹åãããã autoload -U compinit && compinit è£å®ã«é¢ãããã¼å²ãå½ã¦ã¯ããã¤ãããããæä½éãã¾ãå©ç¨ããããã«ä»¥ä¸ã®2ã¤ã®ãã¼ãã¤ã³ããã¾ãè¦ãã¦ããã°ããã ããã Tab (C-i) - expand-or-complete è£å®ã®å®è¡ã ESC C-d (ã¾ãã¯è¡æ«ã®ã¿ C-d) - list-choices (delete-char-or-list) ããããã
端æ«ã§ä½æ¥ããããªããç¹ã«sshãªã©ã§ãããã¯ã¼ã¯å¾ãã«ä½æ¥ãè¡ããªããä»®æ³ç«¯æ«ç®¡çã½ããã¦ã§ã¢ã§ããGNU Screenã¯å¿ é ã¨ãã£ã¦ããã§ããããUbuntu 10.04ã§ããã°ãGNU Screenãããã«ä¾¿å©ã«ä½¿ãããã®ã¢ããªã±ã¼ã·ã§ã³ãbyobuããæåããå°å ¥ããã¦ããã®ã§ããã¡ãã使ã£ã¦ããã¦ã¼ã¶ãå¤ãã¨æãã¾ãï¼byobuã«ã¤ãã¦ã¯æ¬é£è¼72ååç §ã注1â ï¼â ã ä»é±ã®ã¬ã·ãã¯ãGNU Screenã¨åãä»®æ³ç«¯æ«ç®¡çã½ããã¦ã§ã¢ã§ãããtmuxãã¿ã¼ããã«ãã«ããã¬ã¯ãµãç´¹ä»ãã¾ãã GNU Screenã®å©ç¹ã¨ã¯ GNU Screenã®å©ç¹ãç°¡åã«ãããããã¦ããã¾ããããGNU Screenã«ã¯å¤ãã®æ©è½ãããã¾ãããçè ã主ã«ä½¿ã£ã¦ããã®ã¯ä»¥ä¸ã®ãããªæ©è½ã§ãã GUIã®ã¿ãæ©è½ã®ããã«ãè¤æ°ã®ç«¯æ«ãèµ·åãã¦åãæ¿ãããã 端æ«ãç»é¢åå²ãã¦ä½¿ããã¨ãã§ãã 端æ«ä¸ã§
Dominic Alves æ®æ®µä½æ°ãªãå©ç¨ãã¦ãã/tmpã¨/var/tmpã æèãã¦ä½¿ãåãã¦ãæ¹ãåãã¦ãªãæ¹ãããã£ããããã¨æãã¾ãã Linuxã®ãã¡ã¤ã«ã·ã¹ãã ã¨ãã¦ã®åå¨æ義ããä¸æãã©ã«ãã¨ãã¦ã®æ©è½ãæ¹ãã¦æèãã㨠é常ã«ä¾¿å©ãªåå¨ã§ãã /tmpã¨/var/tmpã®éã ã/tmpã¨/var/tmpã®éãã«ã¤ãã¦è¿°ã¹ããã»ã»ã»ã¤ã³ãã©ã¨ã³ã¸ãã¢ã®å ¥ç¤¾è©¦é¨ã®åé¡ã«åºã¦ãããã§ããã ãã¦åç´ãªè§£çã§ãããã·ã¹ãã çãªãã¨ãè¨ãã°ä»¥ä¸ãããã§ãã(RHEL) /tmp /var/tmp ã©ã¡ãããã£ã¬ã¯ããªé ä¸ã¯tmpwatchã³ãã³ãã«ããç£è¦ãããã¡ã¤ã«ã®åé¤ãçµã¿è¾¼ã¾ãã¦ãã¾ãã $ cat /etc/cron.daily/tmpwatch #! /bin/sh flags=-umc /usr/sbin/tmpwatch "$flags" -x /tmp/.X1
oh-my-zsh ã®ç°å¢ã§ãpeco-select-history ãåããªã - Qiita è¿½è¨ 2014å¹´ 7æ 7æ¥ ã·ã§ã«ã¹ã¯ãªããã¨æ¸ãã¦ãã¾ãæ¼ ç¶ããã¾ããã, ããã§è¿°ã¹ã¦ãã ãã¨ãåé¡ã«ãªãã®ã¯, .bashrc, .zshrcã«é¢æ°, aliasè¨å®çãã³ãã¼ ãããå ´åã, sourceã³ãã³ãã§ãã¡ã¤ã«ãèªã¿è¾¼ãå ´åã§ã. non-interactiveã«å®è¡ãããã·ã§ã«ã¹ã¯ãªããã«ã¤ãã¦ã¯ç¹ã« åé¡ãªãã§ã. åé¡ç¹ ããããªãã¨, å ¬éãããã³ãã³ããèªåã®ç°å¢ã«å°å ¥ããå ´å, aliasã«ããæ£ããåããªãå ´åãããããã§ã. aliasãã¤ããã¡ãª ã³ãã³ã(ls, grepç)ãã·ã§ã«ã¹ã¯ãªããã«å«ã¾ãã¦ãã㨠ç¹ã«åé¡ãèµ·ããå¯è½æ§ãé«ããªãã¾ã. ä¾ pecoã使ã£ã¦ ã«ã¬ã³ããã£ã¬ã¯ããªã®ãã¡ã¤ã«ããã¼ã¸ã£ã§éã ä¾ãèãã¦ã¿ã¾ããã. åç´ã«è
naoya_itoã®ç«ãå´ããã·ã§ã«tips - Togetter ãããèªãã§ãµã¨æ¸ããããªã£ãã®ã§ãã¡ãªã¿ã«åã¯bash使ã£ã¦ãã¾ãã CTRLã使ã£ã便å©ç³» ã¾ããUNIXãªæä½ãããã ãã¼ãã¤ã³ã æå³ CTRL + s ãã¼å ¥åãåãä»ããªããã ç»é¢åºåæãã CTRL + q ä¸è¨è§£é¤ CTRL + z ããã¯ã°ã©ã¦ã³ãã«. fgã§æ»ã CTRL + l ç»é¢ãã¯ãªã¢ãclearã¨åç CTRL + c ç¾å¨ã®å¦çãåæ¢ CTRL + d exitã¨åç CTRL + r historyããã³ãã³ãæ¤ç´¢ emacsã£ã½ãã㤠ã©ã£ã¡ãã¨ããã¨ãã¼æä½ã«è¿ããåºæ¬ã¯emacsãmetaã¯åã¯optionã«å²ãå½ã¦ã¦ããã¨ãããã触ããã人ã¯ESCã§OKã ãã¼ãã¤ã³ã æå³ CTRL + a è¡é CTRL + e è¡æ« CTRL + f â CTRL + b â CTRL
ããã¯ç´ æµããããµã¤ãã Command-line-fuã§ã¯Linuxãªããã®ã³ãã³ãã©ã¤ã³ã§ä½¿ããã¯ã³ã©ã¤ãã¼ï¼ä¸è¡ããã°ã©ã ï¼ãæ稿ã»å ±æã§ããã èªåããã使ãã¯ã³ã©ã¤ãã¼ãä¿åãã¦ããã¦ä½¿ããè¯ããä»ã®é人ã®æãçããè¯ããã®ç´ æ´ããããµã¼ãã¹ã§ããã ã¡ãã£ã¨ã®ããã¦ã¿ãã ãã§ããã¸ã¼ãä¸è¡ã§ããã¾ã§åºæ¥ããã ã»ã»ã»ãã¨ããå°æããã£ã¦ããªãåå¼·ã«ãªãã ã¾ãæ´æ°æ å ±ã¯RSSãTwitterã§ãé ä¿¡ãã¦ããã®ã§æ¥ã åå¼·ï¼ã¨ãã人ã«ã¯ä¾¿å©ã ãããããããå°æãã¦ãã¦ã®å ±æãµã¤ãã¯ããã§ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}