Debianç³»ã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ã³ãã³ãã©ã¤ã³ããããã±ã¼ã¸(ã½ããã¦ã§ã¢)ãã¤ã³ã¹ãã¼ã«ããã¨ãã«apt-getã¨ããã³ãã³ãã使ããã¦ãã¾ãã ãã¦æ°å¹´åããapt-getã®ä»£ããã«aptã¨ããã³ãã³ãã使ãã¨ããè¨äºãç®ã«ãããã¨ãå¢ãã¦æ¥ã¾ããããã®ã¸ãã®çµç·¯ãããã®ã§ããããã®ã¸ãã¯ä»¥ä¸ã®è¨äºã詳ããã£ãã§ãã 第327åãaptã³ãã³ãã使ã£ã¦ã¿ããï¼Ubuntu Weekly Recipeï½gihyo.jp ⦠æè¡è©è«ç¤¾ ã¾ãã©ã®ãããªæãã§ç½®ãæãã¦ä½¿ãããã®ããæ¼ããã¦ãããæ¹ãããã§ãããã Difference Between apt vs apt-get Explained ããã§ã¯è©³ãã解説ã¯ããã¤ããã¯ãªãã§ãããaptã³ãã³ããapt-getãªã©ã¨æ¯è¼ãã¦ä½ã楽ã«ãªã£ããèãã¦ã¿ããã¨ã«ãã¾ãã ã¾ãããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦æ¯ã¹ã¦ã¿
ã³ãã³ãã®åºåãããã¹ããã¡ã¤ã«ã®å 容ãã¯ãªãããã¼ãã«ã³ãã¼ããã³ãã³ããããã¾ããWindowsãclipãMacãpbcopyã§ããWindowsã§ã¯ã¯ãªãããã¼ãã®å 容ãã³ãã³ãããã³ããå ã§ãã¼ã¹ãããã³ãã³ãã¯ç¨æããã¦ãã¾ããããMacã§ã¯ãã¼ã¹ãç¨ã®ã³ãã³ãã§ããpbpasteãããã¾ãã å®è¡ä¾ â Windows dir | clip ââ dirã®å 容ãã¡ã¢å¸³ã«è¨é²
説æ ã¿ãæåãã¹ãã¼ã¹ã«å¤æãã¦æ¨æºåºåã«åºåãããã¿ãå¹ ã¯ããã©ã«ãã§ã¯8æ¡ã§ããããªããunexpandã³ãã³ãã使ãã¨ã¹ãã¼ã¹ãã¿ãæåã«å¤æã§ããã 使ç¨ä¾ ã¿ãå¹ ã4æ¡ã¨ãã¦ããã¹ãã»ãã¡ã¤ã«sample.txtã®ã¿ããã¹ãã¼ã¹ã« å¤æãã¦åºåããã
ã¯ããã« Windowsã®æä½ã®åºæ¬ã¯GUIã§ããããã¡ã¤ã«æä½ãªã©ãææ©ãè¡ãããã«ã³ãã³ãããã³ããã使ããã¨ãããã¨æãã¾ããæ¬ç¨¿ã§ã¯ãWindowsã®ã³ãã³ãããã³ããããã便å©ã«ä½¿ãããã®ã¡ãã£ã¨ãããã¯ããã¯ã10åç´¹ä»ãã¾ãã 対象èªè Windowsã®ã³ãã³ãããã³ãããããç¨åº¦ä½¿ã£ããã¨ãããæ¹ åä½ç¢ºèªç°å¢ Windows Vista Windows XP ä¸é¨ã®æ©è½ã¯ãWindows XPã§ã¯å©ç¨ã§ãã¾ãããæ¬æå ã§é½åº¦è£è¶³ãã¾ãã ã³ãã³ãããã³ããããã¨ã¯ã¹ããã¼ã©ã«ç§»åãã ã³ãã³ãããã³ããã§ä½æ¥ä¸ã«ãã«ã¬ã³ããã£ã¬ã¯ããªã®ãã¡ã¤ã«ãã¨ã¯ã¹ããã¼ã©ã§æä½ããããªããã¨ãããã¾ãããã¨ãã°ãã«ã¬ã³ããã£ã¬ã¯ããªã«ããããã¤ãã®ãã¡ã¤ã«ãã»ãã®ãã£ã¬ã¯ããªã«ã³ãã¼ããå ´åãåãã¡ã¤ã«ã®ååããã¼ãã¼ãããå ¥åããããããã¦ã¹ã使ã£ãã»ããç°¡åã§ãããããªã¨ãã«ä¾¿å©
Lubuntu (LXDE) ã§ã®ãã«ããã£ã¹ãã¬ã¤è¨å®ç»é¢ãæ¢ããã®ã ãã©è¦ã¤ãããªãã£ãã®ã§ããããããæ¸ãã¦ãããXubuntuãGNOMEã ã¨ç»é¢ãããã®ã ãã©ã ãã®ã»ãã·ã§ã³éå®ã§ãã«ããã£ã¹ãã¬ã¤è¨å®ãè¡ã LXDEã«éã£ã話ã§ã¯ãªãããxrandrã³ãã³ãã使ãã¨ãã«ããã£ã¹ãã¬ã¤ã®è¨å®ãã§ããã®ã§ããã®ã³ãã³ãã§è¨å®ã§ããã ã¾ããxrandr -qã§ã¢ãã¿ã®ä¸è¦§ãåºãã $ xrandr -q Screen 0: minimum 64 x 64, current 3840 x 1080, maximum 16384 x 16384 VBOX0 connected 1920x1080+0+0 0mm x 0mm 1920x1080 60.0*+ 1440x1050 60.0 1280x960 60.0 1024x768 60.0 800x600 60.0 640x480
csh ã tcsh ã«ããã¦ã³ãã³ããã¿ã¤ãããã¨ããå®è¡å¯è½ãã¡ã¤ã«ãè¦ã¤ããããã«ãæ¯å PATH ã§æå®ããããã£ã¬ã¯ããªãæ¤ç´¢ããããã§ã¯ãªããcshã»tcsh ã¯ããã·ã¥ãã¼ãã«ã«å®è¡å¯è½ãªã³ãã³ããç»é²ããããããã³ãã³ããå¼ã³åºãã¦ããã ãã®ãããæ°ããã·ã§ã«ã¹ã¯ãªãããä½ã£ãããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããå ´åãå®éã¯ãã¹ã®éã£ããã£ã¬ã¯ããªã«å®è¡å¯è½ãã¡ã¤ã«ãããã«ããããããããã®ã³ãã³ããããã·ã¥ãã¼ãã«ã«ç»é²ããã¦ããªããããã³ãã³ããè¦ä»ãããã¨ãã§ããªãå ´åãããããã®ãããªã¨ã㯠rehash ã§ããã·ã¥ãã¼ãã«ã®åæ§ç¯ããããã¨ã§ãã·ã§ã«ã«æ°ããã³ãã³ããèªèããããã¨ãã§ããã % cd /home/user % echo $path /home/user/bin % cat > bin/sample (bin/sample ã«ã·ã§ã«ã¹ã¯ãªãããä½ã)
Red Hat Linuxãå§ãå¤ãã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ã¯ï¼æ¨æºã§bashã·ã§ã«ã使ç¨ãããããè¨å®ããã¦ããã次ã®ããã«æå®ããã°ãç¾å¨ä½¿ç¨ãã¦ããã·ã§ã«ãç¥ããã¨ãã§ããã
Mercurialã§ã³ããããã°ã¡ãã»ã¼ã¸ãä¿®æ£ããæ¹æ³ã§ãã ä¾ãã°ãããªã±ã¼ã¹ã ç·¨éA ç·¨éB % hg commit -m 'ç·¨éAã¨ç·¨éBããã¾ãã' ã¾ã¡ããã! ã³ããããã°ã¡ãã»ã¼ã¸ãå¤ããã!! % hg rollback ããããã¨ã³ãããåã®ç¶æ ã«æ»ããç·¨éAãç·¨éBãç ´æ£ããããã¨ã¯ãªããç·¨éBãçµãã£ãç¶æ ã æ¹ãã¦ã³ããã % hg commit -m 'ç·¨éAã¨ç·¨éBããã¾ãã' ããã§OKã§ãã Mercurialåå¿è ã絶対ã«ããã¯ãã¼ã¯ãã¹ããã¼ã¸ - ã²ãªã©ç uncorrelated ã¦ã§ãã»ãã¯ãã«ã«ã»ãã¼ã ãããåèã«ãã¾ããã
[status,cmdout] = system(command) ã¯ãããã«ã³ãã³ãã®åºåã cmdout ã«è¿ãã¾ãããã®æ§æã¯ãdir ãªã©ãã¦ã¼ã¶ã¼å ¥åãå¿ è¦ã¨ããªãã³ãã³ãã§æãå½¹ã«ç«ã¡ã¾ãã [status,cmdout] = system(command,'-echo') ã¯ãã³ãã³ãåºåã MATLAB ã³ãã³ã ã¦ã£ã³ãã¦ã«ã表示 (ã¨ã³ã¼) ãã¾ãããã®æ§æã¯ãã¦ã¼ã¶ã¼å ¥åãå¿ è¦ã¨ããMATLAB ã³ãã³ã ã¦ã£ã³ãã¦ã§æ£å¸¸ã«å®è¡ãããã³ãã³ãã§æãå½¹ã«ç«ã¡ã¾ãã [status,cmdout] = system(___,EnvName1,EnvVal1,...,EnvNameN,EnvValN) ã¯ããªãã¬ã¼ãã£ã³ã° ã·ã¹ãã ç°å¢å¤æ°ã®å¤ãè¨å®ãã¾ããEnvName ãç°å¢å¤æ°ã¨ãã¦åå¨ããå ´åãsystem ã¯ãã®ç¾å¨ã®å¤ã EnvVal ã«ç½®ãæãã¾ããEnvNa
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
straceã¯Linuxã®ãããã°ã¦ã¼ãã£ãªãã£ã§ãããããã°ã©ã ã使ç¨ããã·ã¹ãã ã³ã¼ã«ããã³åãåãã·ã°ãã«ãç£è¦ãããã®ã§ãããä»ã®Unixã·ã¹ãã ã«ããããtrussãã«é¡ä¼¼ãã¦ãããããã¯ã«ã¼ãã«ã®ptraceã¨ããæ©è½ã«ããå®ç¾ããã¦ããã Cygwinã«ããã¦ãé¡ä¼¼ã®ã¦ã¼ãã£ãªãã£ãæä¾ããã¦ããã 使ç¨æ³[ç·¨é] ä¸è¬çãªä½¿ç¨æ³ã¨ãã¦ãããã°ã©ã ãstraceãç¨ãã¦éå§ããããã«ãããã®ããã°ã©ã ãå¼ã¶ã·ã¹ãã ã³ã¼ã«ã®ä¸è¦§ãåºåããããããã¯ããã°ã©ã ãé »ç¹ã«ã¯ã©ãã·ã¥ããããæå³ãããã®ã¨ã¯ç°ãªãæåãããã¨ãã«æç¨ã§ãããstraceãç¨ãããã¨ã«ãããä¸ä¾ã¨ãã¦ãããã°ã©ã ãåå¨ããªããã¡ã¤ã«ãããã¯èªã¿è¾¼ããã¨ãã§ããªããã¡ã¤ã«ã«ã¢ã¯ã»ã¹ãããã¨ãã¦ãããã¨ãå¤æããã¨ãããã¨ãããã ã¾ããå¥ã®ä½¿ç¨æ³ã¨ãã¦ã-pãã©ã°ãç¨ãããã¨ã«ãããå®è¡ä¸ã®ããã»ã¹ã«att
ããã»ã¹ããã³ã¸ã§ããçµäºããããçµäºã®æ¹æ³ã¯ã·ã°ãã«ã«ãã£ã¦æ±ºã¾ãã使ç¨ã§ããã·ã°ãã«ã¯ä»¥ä¸ã®éããé常ï¼ãã使ãã®ã¯SIGHUP(çµäºãã¦åèµ·å)ï¼SIGKILL(å¼·å¶çµäº)ãªã©ãã·ã°ãã«ã®æå®ã«ã¯æ°å¤ãï¼ã·ã°ãã«å(å é ã® SIGãé¤ãããã®)ã使ç¨ã§ããã
#Base64ãããã³ã¼ã: openssl base64 -d -in <infile> -out <outfile> #Base64ã«ã¨ã³ã³ã¼ã: openssl base64 -in <infile> -out <outfile> åèï¼http://face.centosprime.com/macosxw/base64-decoding/
Mercurial ã®ã hg revert / hg rollback / hg backout ã®ä½¿ãåã 以åããgitã使ã£ã¦ããã®ã§ãããæè¿ã¯è·å ´ã®ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ãMercurial hg ã«ãªã£ã¦ããã®ã§ããã£ã±ãhgã°ãã使ã£ã¦ãã¾ããã¨ãããã¨ã§ãããã¤ãè¦ããhgãã¿ã Mercurialãgitã«éããããããªããã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã使ç¨ãã¦ãã¦ãã人éã使ã以ä¸éç¨ä¸ã«ãã¹ãçºçãããã¨ã¯é¿ãããã¾ãããä»åã¯Mercurial使ç¨ä¸ã«ééã£ãã³ããããããã·ã¥ãè¡ã£ã¦ãã¾ã£ãéã®å¯¾å¦æ³ã調ã¹ã¦ã¿ã¾ããã åèæç®ã¯ãã¡ãã ééããä¿®æ£ããããã®ã³ãã³ãã¯ã大ããåãã¦ä»¥ä¸ã®3ã¤ãããã¾ããhg reverthg rollbackhg backoutã¾ãã³ãã³ããç¨ãã¦ä¿®æ£ããæå¤ã«ãããã¼ã«ã«ä½æ¥ããéã«ä½æ¥ç¨ãªãã¸ããªãå¥ã«ä½ã£ã¦ãåé¡ã«æ°ã¥ããããª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}