Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
å ã ã¯ãã·ã¢èªã®æ²ç¤ºæ¿ã«åºã¦ãããè·å ´ã§ã®å°ããªãã¨ããªãã§ãèªååãã¦ããããã«ã¼ã®è©±ãè±èªã«ç¿»è¨³ãããHacker Newsçã§è©±é¡ã«ãªã£ã¦ãã¾ãã xxx(ãã³ãã«å): ãªã¼ã±ã¼ããã«ãæ å½ã¨ã³ã¸ãã¢ã転è·ã§è¾ã [â¦] å ã ã¯ãã·ã¢èªã®æ²ç¤ºæ¿ã«åºã¦ãããè·å ´ã§ã®å°ããªãã¨ããªãã§ãèªååãã¦ããããã«ã¼ã®è©±ãè±èªã«ç¿»è¨³ãããHacker Newsçã§è©±é¡ã«ãªã£ã¦ãã¾ãã xxx(ãã³ãã«å): ãªã¼ã±ã¼ããã«ãæ å½ã¨ã³ã¸ãã¢ã転è·ã§è¾ãã¡ã¾ã£ããæ¬å½ã«ã¿ã¼ããã«ã«ä½ãã§ããããªãã¤ã ã£ãããããã ããVimã大好ãã§ã.dotãã¡ã¤ã«ã§å³ãæãã¦ãMarkdownã§wikiã«æ稿ãããããªã¿ã¤ãã⦠ããä½ããããä½ã§ãã90ç§ä»¥ä¸æãããããªãã¨ããã£ãããã¹ã¯ãªããã§èªååãã¡ãããã ã xxx: ããããããã§æã ã¯ããã«ãã¦ãå½¼ã®ãããããéºç£ããè¦ã¦ãã¨ããã ã xxx
Linuxã·ã¹ãã ããã°ã©ãã³ã° ä½è : Robert Love,ããã¼ãã©ã,åä½æ²»éåºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2008/04/16ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 5人 ã¯ãªãã¯: 181åãã®ååãå«ãããã° (29件) ãè¦ã çµå Unix/Linuxã®æ¨æºã³ãã³ãã§2ã¤ã®ãã¡ã¤ã«ã®å ±ékeyã§é£çµãããã¨ãã§ãã¾ããå ±ékeyã§ã®çµåã«ã¯joinã³ãã³ããå©ç¨ãã¾ããjoinã«ããSQLã®inner joinã«è¿ããã¨ãã³ãã³ãã ãã§åºæ¥ã¦ãã¾ãã¾ããä»ã¾ã§ããã¹ãå¦çãã³ãã³ãã§è¡ãäºãå°ãªãã£ãã®ã§joinã®æ´»ç¨æ¹æ³ãç¥ãã¾ããã§ããããä»å調ã¹ãå 容ãè¨é²ãã¾ããä¼¼ãã³ãã³ãã¨ãã¦pasteã¨ãããã®ãããããã¡ãã¯åãè¡æ°ã®å 容ãåç´ã«çµåãã¾ãããã¡ãã«ã¤ãã¦ãç°¡åã«ç´¹ä»ãã¾ãã join joinåã«sort joinã³ãã³ããå©ç¨ããå ´åã¯2ã¤ã®ãã¡
ã¢ãã¯ããªls ã¿ã¼ããã«ã§ä½¿ãããã³ãã³ãã®ä»£è¡¨ã¨ããã°lsããªã«ãè¨å®ããªããã°å³1.1ã®ããã«è¡¨ç¤ºããããã¢ãã¯ãæªãã¯ãªããããã¯ããã«ã©ã¼ã®æ¹ãä¸ç®è¦ã¦æ¦è¦ãã¤ãã¿ããããä»åã¯ã«ã©ã¼è¡¨ç¤ºã«ã¤ãã¦ããã¦ã¿ããã å³1.1 ãªã«ãè¨å®ããªããã°ã¢ãã¯ããªä¸ç â æ¸ãããã¨è¨ãããã¨ããªã ã«ã©ã¼ãªls - FreeBSD lsã³ãã³ãã®åºåãã¢ãã¯ãããã«ã©ã¼ã«å¤ããæ¹æ³ã¯ãlsã³ãã³ãã®å®è£ ãã¨ã«ç°ãªããFreeBSDã®lsã³ãã³ããªããªã¹ã2.1ã®ããã«è¨å®ããã°ãããç°å¢å¤æ°LSCOLORSã«è²ãæå®ãã¦ãã³ãã³ãã®å¼æ°ã«-Gã ã ãªã¹ã2.1 FreeBSDã§lsãã«ã©ã¼è¡¨ç¤º export LSCOLORS=exfxcxdxbxegedabagacad alias ls="ls -G" å³2.2 FreeBSD lsã§ã«ã©ã¼è¡¨ç¤º ç°å¢å¤æ°LSCOLORSã«ããã¦æå®ãã¦ã
Linuxã®ã·ã§ã«ã«ã¯ãæ¨æºã§ä½¿ç¨ãããbashã®ã»ãã«cshãkshãtcshãzshãªã©ããããç¾å¨ä½¿ç¨ãã¦ããã·ã§ã«ãä½ãã調ã¹ãã«ã¯ãç°å¢å¤æ°ã®SHELLã表示ããã¨ããã
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
2008å¹´09æ26æ¥00:00 ã«ãã´ãªæ¸è©/ç»è©/åè©iTech ã³ãã³ãã©ã¤ã³ã¦ã¼ã¶ã¼å¿ æº - æ¸è© - bashã¯ãã¯ãã㯠ãªã©ã¤ãªã¼ç¢éæ§ããããã¤ãã©ããç®æ¬å¾¡ç¤¼ã bashã¯ãã¯ãã㯠Carl Albing / JP Vossen / Cameron Newham æ ªå¼ä¼ç¤¾ã¯ã¤ã¼ã訳 [åè:bash Cookbook] ããããã°ãããããªãã£ãã ããæå³ã(Perl|Python|Ruby)ã¯ãã¯ããã¯ããéè¦ã¨ãè¨ããããããã æ¬æ¸ãbashã¯ãã¯ããã¯ãã¯ãä¸çã§ãæãæ®åããshellãBashã®ã¯ãã¯ããã¯ã§ããã¨åæã«ã2008å¹´ç¾å¨ã«ããããããã©ã«ãã®ã³ãã³ãã©ã¤ã³ç°å¢ãã«ããã¦ãããããããã«ã¯ã©ãããããããããããªãã¡ãCLIã¯ãã¯ããã¯ãã¨ãã¦ãæ©è½ããããæ¸ãããä¸åã æ¬æ¸ã®ä½ããããã¨ããã°ãä½ãããBashã§ãããã¨ãã¦ããªããã¨ãç®
ä»ã®è¨èªããæ¸ãæ £ãã¦ãããã·ã§ã«ã¹ã¯ãªãããæ¸ããã¨ããã¨ãããããªãé¨åã§ããã£ãããããã¨ãããã¾ãããç°¡åãªå¦çã ããã·ã§ã«ã¹ã¯ãªããã§æ¸ãããã¨æã£ã¦ãç¡é§ã«æéãããã£ã¦ãã¾ã£ã¦ã¯ä»æ¹ãªãã§ãããã ä»åã¯åãã¦ã·ã§ã«ã¹ã¯ãªãããæ¸ãã¨ãã«ãããããããªç¹ã«ã¤ãã¦èª¬æããããã¨æãã¾ãã å®è¡æ¨©éãã¤ãã åç´ã«ãã¡ã¤ã«ãçæãã¦ãä¸è¨ã®ç¨ã«å®è¡ãããã¨ãã¦ãå®è¡ã¯ã§ãã¾ããã # touch test # ./test sh: ./test: Permission denied # touch foo # ./foo sh: ./foo: Permission denied ããã¯ãã¡ã¤ã«ã«å®è¡æ¨©éãã¤ãã¦ããªããããèµ·ããç¾è±¡ã§ãã chmodã³ãã³ãã使ã£ã¦å®è¡æ¨©éãã¤ãã¦ããã¾ãããã # chmod +x test # ./test # chmod +x foo #
FreeBSDæ¨æºã®ã·ã§ã«ã¯cshï¼tcshï¼ã§ãããUNIXã§æ¨æºçã«ä½¿ããã¦ããshããLinuxã§ãã使ããã¦ããbashãªã©ä»ã®ã·ã§ã«ã«å¤æ´ãããã¨ãå¯è½ã§ãã ãã ãããã®ä½æ¥ã¯ééããã¨æ£å¸¸ã«ãã°ã¤ã³ã§ããªããªã£ããããã®ã§åå注æãã¦è¡ã£ã¦ãã ããã ä¾ãã°ã·ã§ã«ãbashã«å¤æ´ãããæã¯ä»¥ä¸ã®ããã«è¡ãã¾ããbashã¯æ¢ã«ã¤ã³ã¹ãã¼ã«ãã¦ãããã®ã¨ãã¾ãã æåã«ä½¿ãããã·ã§ã«ã /etc/shells ã«ãã¹ãæ¸ããã¦ããã確èªãã¾ãã ãã®ãã¡ã¤ã«ã«ãã¹ãæ¸ããã¦ããªãå ´åã¯æåã§è¿½å ããå¿ è¦ãããã¾ãã bashãè¨è¿°ããã¦ãããã確èªããã«ã¯ã > cat /etc/shells | grep bash ã¨å®è¡ãã > cat /etc/shells | grep bash /usr/local/bin/bash ãªã©ã¨è¡¨ç¤ºãããã°OKã§
IDEã®çºå±ãAjaxãªã©ç¾å¨ã®ãããããã«ã¨ã£ã¦GUIã¨ãã¾ããä»ãåããããã¨ã¯éçºå¹çãä¸ããããã§å¿ é ã¨ããããããããªãããã·ã§ã«ã¨ããCUIç°å¢ãæ ¹å¼·ã人æ°ããããGUIã¨éã£ãã«ã¹ã¿ãã¤ãºãã¢ã¸ãªãã£ãå¹çã®è¯ããå¹ åºã対å¿ãã©ãããã©ã¼ã ãªã©ããªãã¦ã¯ãªããªããã®ã ã æ¬é£è¼ã§ã¯ããããCUIç°å¢ã®å å®ãè£ä½ãããã¨ãç®çã¨ãã"zsh"ã«ã¤ãã¦èªã£ã¦ã¿ããã¨ãããããã¤ã¦zshã¯UTF-8ã®æ±ããå¼±ãã¨ããããã£ããããããããã¶ãã¨æ¹åããããã1å¹´ã§zshã¸ç§»è¡ããããç¶æ³ãæ´ã£ã¦ãã¦ãããã¯ãããã«ã¯æªããªãã¿ã¤ãã³ã°ã ã æåã«è»½ãzshã«ã¤ãã¦ç´¹ä»ãã¦ãããã ååã«ã¤ã"z"ã®æåã¯ãã究極ã®ãã¨ããæå³ãããããã¦ãããããã系統ã¨ãã¦ã¯shç³»ã§ãããã¤ã¾ããzshã¯shç³»ã®è¶ é«æ©è½ã·ã§ã«ã¨ãããã ãããLinuxãªã©ã®ã¦ã¼ã¶ã¼ã§ããã°shç³»ã§ãããã¨ã®æå³
IBMã®ãµã¤ãã§ãLearn 10 good UNIX usage habitsãã¨ããè¨äºãçºè¡¨ããã¦ãã¾ããã é¢ç½ãã£ãã®ã§è¦ç´ãã¦ã¿ã¾ããã å¤ãªé¨åãããããç¥ããªãã®ã§è©³ç´°ã¯åæãã覧ä¸ããã åæã¨ã¯ä¸é¨ç°ãªãã¾ãã æ¬ãã¼ã¸ã¹ãã¼ã¹ãªã©ã®é¢ä¿ã§ã³ãã³ãå¼æ°ãªã©ãçãçç¥ãã¦ãã¾ãã åæã®ãµã³ãã«ã³ãã³ããééã£ã¦ãããããã®ã§ãä¿®æ£ãã¦ããé¨åãããã¾ãã åæãä¿®æ£ãã¦ããã®ã¯ãtar.gzãzãªãã·ã§ã³ã使ããªãã§xfvãããã¨ãã¦ããã¨ããã¨ãxargsã«lsã§ã¯ãªãls -lã渡ãã¦ããé¨åã§ãã ãã¨ã説ææãçããã¦ãã¾ã£ã¦ãã¾ãã 1. ãã£ã¬ã¯ããªã®ä½æ è¯ã使ãã³ãã³ãã®ä¸ã¤ã§ããmkdirã§ãããé¢åèã使ãæ¹ããã¦ãã¾ãããï¼ æªãä¾ ~/ $ mkdir a ~/ $ cd a ~/a $ mkdir b ~/a $ cd b ~/a/b/ $ m
2006å¹´11æ02æ¥18:30 ã«ãã´ãªä¸æ¥ä¸è¡éé There's more than one way to kill'em ãããããä»ã®ã³ãã³ããçµã¿åããã¦ãå¯è½ãªä¾¿å©ç³»ã³ãã³ãããè¦ããã®ã¯ãããããã ã¨æãã Unixã¨ããèããã Mike Gancarz / è³å°¾ æ¡ è¨³ [åè: The Unix Philosophy] æè¡ã¡ã¢å¸³ - pgrep, pkill ã使ç¨ãã¦ããã»ã¹ã殺ãæè¿ãä¼ç¤¾ã§ã·ã§ã«ã®æä½æ¹æ³ã«ã¤ãã¦æãã¦ããã®ã ãã pgrep / pkill / skill / pidof ã¨ãã£ã 便å©ãªããã»ã¹æä½ç³»ã³ãã³ããç¥ããªã人ãå®ã«å¤ãã ä¾ãã°ãpgrepã¯OS Xã«ã¯ãªããkillallãªããããã©ãã¡ãªã¿ã«FreeBSDã«ã¯å ¨é¨ããã®ã ãã©ã使ã£ã¦ãã人ã¯ãã¾ãè¦ãªããªãã ç¾å¨ã®shellã¯aliasãå å®ãã¦ããã®ã§ãä¾ãã° alias
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}