ç°¡åãªãã¨ãªãã§ããå¿ããã¡ãªã®ã§ãåå¿é²ã Linuxã§ã®lsã³ãã³ãã®çµæããã¡ã¤ã«ãµã¤ãºé ã«ã½ã¼ãããã®ã¯ã $ ls -S ã®ããã«-Sãªãã·ã§ã³ãä¸ããã ãã§ããã®ã§ãé常ã«ç°¡åã§ãã ã¨ããããSolarisã§ã¯ããã¯ããã¾ããã Solarisã§ã¯ã-lã§åºåããçµæãsortã«é£ãããå¿ è¦ãããã¾ãã $ ls -l | sort +4n ã¡ãªã¿ã«ãWindowsã®ã³ãã³ãããã³ããã§ã¯ã > dir /OS ã¨ãã¾ãã
ãFFTT : ã¯ããã¾ãã¦Pythonãã«ãããç°¡æ½ã«Pythonã®ç¹å¾´ãã¾ã¨ã¾ã£ã¦ã¦ããã¯ãªããbonlifeã§ããPythonã«èå³ããã人ã¯ã¾ããããèªãã§ã¿ãã¨è¯ãããã ããã¯ãã¦ããããã¡ã¤ã«ãµã¤ãºããã§ãã¯ããã¹ã¯ãªãããPythonã§æ¸ãã¦ã人ãããã®ã§ãã¡ãã£ã¨çä¼¼ãã¦ã¿ã¾ããã ã·ã§ã«ã¹ã¯ãªããã¡ã¢ ãã¡ã¤ã«ã®ãµã¤ãºãå¤å®ããpythonããã°ã©ã ã¾ããããããå°ããªã¹ã¯ãªããã®å®çªã®ã·ã§ã«ã¹ã¯ãªãããbonlifeã£ã½ãæ¸ãæ¹ã§åæã«æ¸ãç´ãã¦ã¿ã¾ããã file_size_check.sh #!/bin/sh SCRIPT_NAME=`basename $0` usage(){ echo $SCRIPT_NAME file [file...] >&2 } if [ $# -lt 1 ] then usage exit 1 fi for f in $* do if
#!/bin/csh -f ãã®ãã¡ã¤ã«ã®å®è¡ãã¼ããã·ã§ã³ (ããªãã¡ x bit) ãç«ã£ã¦ãã(onã§ãã) ã¨ãã2ã¤ã®æ¡ä»¶ãã¨ãã«æºãããã®ã¯ããã¹ã¯ãªããã(script)㨠å¼ã°ãããå®è¡å¯è½ãã¡ã¤ã«ãã§ãã ã¹ã¯ãªããã®æåã®è¡ã®æå³ã¯æ¬¡ã®ããã«ãªã£ã¦ãã¾ãã #!ããã°ã©ã ã®ãã¹ ã³ãã³ãå¼æ°1 ã³ãã³ãå¼æ°2 ... ã¹ã¯ãªãããå®è¡ãããå ´åã¯ããããã°ã©ã ã®ãã¹ãã§è¡¨ããã ããã°ã©ã ãæå®ãããã³ãã³ãå¼æ°ã§èµ·åãã¦ããã¡ã¤ã«ã® æ®ãã®é¨åããã®ããã»ã¹ã®æ¨æºå ¥åã«ä¸ãã¾ãã æåã®ä¾ã ã¨ãããã®ãã¡ã¤ã«ã®2è¡ç®ä»¥ä¸ã¯ /bin/csh ã解éãã¦å®è¡ãã /bin/csh ãèµ·åããã¨ãã®ãªãã·ã§ã³ã¯ -f ã§ãããã¨ãã ãã¨ãæå³ãã¦ããããã§ãã ã¹ã¯ãªããã¯ãã¹ã¯ãªããã解éããããã°ã©ã åãå é ã«ã¤ã㦠ãââã¹ã¯ãªãããã¨å¼ã°ãããã¨ãããã¾ãã ã
対象ãã©ãããã©ã¼ã ï¼ãFreeBSD 8.x ï¼ä¸è¨æé ã2014/05/01ã«FreeBSD 8.4-RELEASEã§ç¢ºèªæ¸ã¿ï¼ ã¯ããã« ã·ã§ã«ã¹ã¯ãªãããæ¸ãã¦ããã¨ããã¡ã¤ã«åãå«ããã¹æååããããã¡ã¤ã«åãããã£ã¬ã¯ããªåãæ¡å¼µåã®é¨åã®ã¿ãæ½åºãããã±ã¼ã¹ã«ããééãã¾ãã ãã®ãã¼ã¸ã§ã¯ããããã®æååã®æ½åºæ¹æ³ã«ã¤ãã¦èª¬æãã¾ãã æ©éãµã³ãã«ã®ã·ã§ã«ã¹ã¯ãªãã ãã¡ã¤ã«åãå«ããã¹æååããããã¡ã¤ã«åãããã£ã¬ã¯ããªåãæ¡å¼µåã®é¨åã®ã¿ãæ½åºããã®ã¯ãããªã容æã§ãã æ©éãµã³ãã«ããç´¹ä»ãã¾ãã #!/bin/sh test_path="/usr/local/etc/apache/httpd.conf" string_filename=${test_path##*/} string_filename_without_extension=${string_filen
Tweetsh Twitterã®å種ã³ãã³ããå®è¡ã§ãããTweetShellã 便å©ãã©ããã¯åããã¾ããããé¢ç½ãã£ãã®ã§ãç´¹ä»ã Tweetshã«ã¢ã¯ã»ã¹ããã¨ãããã³ããã表示ããããssh -i oauthãã§ãã°ã¤ã³ãls ã¦ã¼ã¶å ã§ã¤ã¶ããã次ã®ããã«ä¸è¦§è¡¨ç¤ºã§ãã¾ãã ãwall ã¤ã¶ãããã®ããã«å ¥åããã¨ãã¤ã¶ããããæ稿ããã¾ãã ã³ãã³ãã©ã¤ã³ã®ï¼µï¼©ã好ãã ã¨ããæ¹ã«ã¯ããã®ããããã¾ããã é¢é£ã¨ã³ã㪠ã·ã§ã«é¢¨ãã¶ã¤ã³ã®googleæ¤ç´¢ãµã¤ããgoosh.orgã JavaScriptã®éçºçã«ããªã使ããJavaScriptã·ã§ã«ãJashã ãã©ã¦ã¶ä¸ã§åä½ããHTTPã·ã§ã«ãhtshã
forã¯ä¸ããããè¤æ°ã®æååã«å¯¾ãã¦ï¼ç¹°ãè¿ããªããå¦çãã¦ããç¹°ãè¿ãå¶å¾¡æã ãforã¯ä»¥ä¸ã®ããã«è¨è¿°ãããã è¤æ°ã®æååã¯ã¹ãã¼ã¹ã§åºåããªããåæããããã¨ãã°ï¼ãSunãï¼ãMonãï¼ãTueãã®3ã¤ã®æååãå¦çãããå ´åã¯ãSun Mon Tueãã¨è¨è¿°ããã å¤æ°å®ç¾©ã«ã¯ç¾å¨å¦çãã¦ããæååãå ¥ããå¤æ°ãå®ç¾©ãããããã§ã¯å¤æ°ã«ä»£å ¥ãããããå¤æ°åã®é ã«$ã¯ä»ãã¦ã¯ãªããªããå®ç¾©ããå¤æ°ã¯ç¹°ãè¿ãå¦çå ã§å©ç¨ã§ããã ãã¨ãã°ï¼ä»¥ä¸ã®ãããªã·ã§ã«ã»ã¹ã¯ãªãããname.shãããã£ãã¨ããã
Emacs ã®ä¸ã§ Shell ã使ããããã«ãªã shell-mode ã£ã¦ã®ãããã®ã§ãããåã® zsh ã¯ã«ã¹ã¿ã ãããã¦ããã³ãããæ£ãã表示ãããªãã£ããã§ããShell ã®è¨å®ãããã©ã«ãã ã¨ã¡ããã¨ç¶ºéºã«è¡¨ç¤ºåºæ¥ãã£ã½ããã§ããã©ç°å¢å¤æ° LS_COLOR ã¨ãããã¨è¡¨ç¤ºãã°ãã£ã°ãã£ã«ãªããã§ããããããã§è²ã ã¿ã¦ãã¦ãã« id:hiboma ããã解決çãè¦ã¤ãã¦ãããã®ã§è©¦ãã¦ã¿ã¾ããããããããid:hibomaããã¨ã¡ãã£ã¨éãçµæã«ãªã£ãã®ã§æ¸ãã¦ããã¾ãã 以ä¸ã¯è§£æ±ºçã試ãå ã£ã§ id:hiboma ããã«æãã¦ããã£ãã®ã以ä¸ã®ã³ã¼ãã§ãããã .emacs ã«æ¸ã足ããelisp ã¿ãéãã ã¨ã¨ã¹ã±ã¼ãã®å¦ç㨠ansi-color ã®å¦çããã¦ãã£ã½ããã£ã§ Emacs ãèµ·åã㦠M-shell ã£ã¦ããã¨ä»¥ä¸ã®åçã¿ããã«ç¶ºéºã«è¡¨ç¤ºãã¦ãããã ;
Linuxãªã©ã®ã³ãã³ãã¤ã³ã¿ããªã¿ã§ããã·ã§ã«ã§ã¯ï¼ä»»æã®å¤æ°åã§ã·ã§ã«å¤æ°ãå®ç¾©ãããã¨ãã§ãã¾ããã§ã¯ï¼å®ç¾©ããã·ã§ã«å¤æ°ãåé¤ããã³ãã³ãã¯ã©ãã§ãããï¼ â解çãéä¿¡ããã ãã¨ï¼ããã«æ£è§£ã¨è©³ãã解説ãã覧ããã ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}