Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
æ¥å¸¸ãã使ããUnixç³»OSæ¥åå¹çupæ æ°å転æã«ãæ®æ®µããLinuxã§ä½æ¥ããä¸ã§å²ã¨ä¾¿å©ãªãã¼ã«ã ã£ããå°æãå ±æãã¾ããç¥ã£ã¦ãããããã ä¸å¿å ¨é¨Macã§ãLinuxã§ãåãã¯ãã§ãã é«éåç³» axel , aria2c http://qiita.com/sarumonera/items/2b30999d7d41a4747d74 https://goo.gl/gsFrCT https://wiki.archlinuxjp.org/index.php/Aria2 http://qiita.com/TokyoMickey/items/cb51805a19dcee416151 ããã¤ãã¯å²ã¨æåï¼ï¼ï¼ããªã¨æãã¾ãããã£ã¦ããã¨ã¯curlãwgetã¨ã»ã¨ãã©å¤ãããããµã¼ãã«HTTPãªã¯ã¨ã¹ããéã£ã¦ã¬ã¹ãã³ã¹ãåã£ã¦ããã ããªã®ã§ããããã¦ã³ãã¼ããé«éåããããã«tcpã³ãã¯ã·
Linuxã«ãããlogrotateï¼ãã°ãã¼ãã¼ãï¼ã®æ©è½ã«ã¤ãã¦ããããããã°ãã¼ãã¼ããå®è¡ãããéã®æµãã¯ãæ¦ã以ä¸ã®ããã«ãªãã cronã主è¨å®ãã¡ã¤ã«ã®/etc/cron.daily/logrotateãèªãã /etc/logrotate.conf ã®èªã¿è¾¼ã¿ãã logrotate ãèµ·åãããã ã¾ã/etc/logrotate.conf ã¯ãã®ãã£ã¬ã¯ãã£ã âincludeâ ã«ããã /etc/logrotate.d/ é ä¸ã«ããåãã°åå¥ã®è¨å®ãèªã¿è¾¼ãã â»http://www.asahi-net.or.jp/~aa4t-nngk/logrotate.htmlããæç² ãããä»åã¯ãlogrotateã®è¨å®ãã©ãã«ã©ãæ¸ããã¨ãã話ã§ãªããåä½ç¢ºèªãããã¾ãåä½ããªãæã®å¯¾å¦ã«ã¤ãã¦ãï¼confã®ãªãã·ã§ã³çã«ã¯ä¸è¨ãµã¤ãã«æ¸ãã¦ããããªããªãåèã«ãªãï¼ ã¾
åãã¾ãã¦ãæ°åå ¥ç¤¾ã®æ¡æ(@2k0ri)ã¨ç³ãã¾ãã å ¥ç¤¾ããä»æ¥ã¾ã§ç´ï¼ã¶æéãç ä¿®ããã³OJTãåãããã¦é ãã¦ããã¾ããã ãã®åOJTã®ã¹ãã¼ã¸ã³ã°ç°å¢ã§ããããã¤å ãã£ã¬ã¯ããªã®ã·ã³ããªãã¯ãªã³ã¯ãæ¶ãã¤ããã ãããã¤ãã£ã¬ã¯ããªãä¸èº«ãã¨rm -rfãã ã¨ããé度ã®ããããããã§ããã¾ããã 30ç§ãã¡ã²ããããå¾ãã°ã°ã£ã¦ extundeleteã¨ããã³ãã³ããè¦ã¤ãã¦ããã® èªåãè¡ã£ããªã«ããªã¼ã®æé ãæ®ãã¾ãã ãªãããã®ã³ãã³ãã¯ext3/ext4ãã©ã¼ãããå°ç¨ã«ãªãã¾ãã 1. ãµã¼ãã¼ã¸ã®ã¢ã¯ã»ã¹ãåºæ¥ãéãæããããã«å¨ç¥ æè¿ã®Linuxã®ããã¡ã¯ãFSã§ããext4ãã©ã¼ãããã¯ãrmããããã¼ã¿ã®è·¡å°ã« å¾ ã£ããªãã§å®¹èµ¦ãªãæ°ãããã¼ã¿ãæ¸ãè¾¼ã¾ãã¦ããã¾ãã ãã®ãããä½ãããã¾ã失ããããã¼ã¿ãä¸æ¸ããããªãããã«ã 該å½ãµã¼ãã¼ã§ãããããã
Shell Script Advent Calendar 2015 4æ¥ç® ã®æ稿ã§ãã 以åããèªåç¨ã«ã¡ã¢ãã¦ãããã®ãæåèµ·ãããã¾ããã ã¯ããã« ä»äºã§ã·ã§ã«ã使ãå§ãã¦3å¹´ãããçµã¡ã¾ããã éä¸ãpython ã ruby ã§ã¹ã¯ãªããä½ã£ãããã¡ãã£ã¨ zsh ã«æµ®æ°ããããã¾ãããããªãã ããã ã§ä»ã Bash ã使ããã¨ãå¤ãã§ãã ãã®3å¹´éãã¹ã¼ãã¼ã·ã§ã«è¸äºº(@ebanãã)ã«ãææé ããããGolfãããï¼@ebanã®å½±é¿ï¼ãã·ã§ã«è¸åå¼·ä¼ã«åå ãããï¼@ebanã®å½±é¿ï¼ãã¦ãã¾ããã ãããª3å¹´éã®ã¾ã¨ãã¨ãã¦ãã·ã§ã«ã¹ã¯ãªããåãã¾ãã¦ã ã£ã3å¹´åã®ç§ã«åããTipséãæ¸ãã¦ã¿ã¾ããã è¶£æ¨ åé ç®ãã¨ã«ãã¾ãåå¿è ï¼éå»ã®ç§ããã£ã¦ãï¼ããããå®è£ ãä¾ç¤ºãã¦ããã®æ¬¡ã«ãããè¯ãããªå®è£ ãä¾ç¤ºããæ§æã¨ãã¦ãã¾ãã å®è¡ç°å¢ OS Mac OS X Yos
ä¾ãã° subversion ãµã¼ããè¨å®ããã¨ããsubversion ã°ã«ã¼ããä½æããã % sudo groupadd subversion ããã§ãä½æããã°ã«ã¼ããã¦ã¼ã¶ã¼ã«è¿½å ããã®ã«ã決ã㦠usermod -G ã使ã£ã¦ã¯ãããªãã % sudo usermod -G subversion user # ãã¡ï¼ ã確ãã«ãããã§ã¦ã¼ã¶ã¼ã¯ subversion ã°ã«ã¼ãã«è¨å®ã§ãããã ã誤ã£ã使ãæ¹ã§ãããä½ããããªããã æ¢ã«è¨å®ããã¦ããä»ã®ã°ã«ã¼ãã®è¨å®ãå ¨é¨é£ã¶ã®ã ï¼ ç¹ã«æãã®ããå人ã§Ubuntuã使ã£ã¦ããå ´åã«å¯ä¸ã®ã¦ã¼ã¶ã§ããæ¬äººã admin ã°ã«ã¼ãããå¤ãããã¨ã ä¸å ·åã«æ°ãã¤ã㦠vigr ã§ä¿®æ£ãããã«ããsudo ãå©ããªãï¼ ãã¡ãããªã«ããªã¼ã¢ã¼ãã§å¾©æ§ã¯å¯è½*1ã ãï¼/etc/group- ã¨ããããã¯ã¢ãããã¡ã¤ã«ãä½ãããããã ï¼
ã¯ããã« ãµã¼ããéç¨ãããç°å¢ãæ§ç¯ããããã¦ãã¦ãããããã®ããã»ã¹ã§åãã¦ããã°ã©ãã ã£ãã»ã»ããªã©å°ãã¨ããããã¾ãã ãããªã¨ãã«é ¼ãã«ãªããããããªãã³ãã³ãã 3ã¤ãç´¹ä»ãã¾ãã @madeth 師å ã«æãã¦ããã ãã¾ããã 1. proc ã§ããã»ã¹ã使ã£ã¦ãããã¡ã¤ã«ãè¦ã å°ã£ãã㨠ããã»ã¹ã®åããã°ã®ãã¹ãã©ããã¦ãåãããªãã»ã»ã è§£æ±ºæ³ (ç·¨é 2014/09/10) ç¥ãããããã»ã¹ã® ID ã調ã¹ã¾ãã $ ps aux | grep unicorn deploy 3335 xxx xxx xxx xxx X XX 15:14 0:07 unicorn master -c /var/www/myproject/unicorn/staging.rb -E staging -D ããã»ã¹ID (ãã®å ´å㯠3335) ããã¨ã« root 権éã§ãã¡ã¤ã«ãã£ã¹ã¯ãª
ä½ã«é¢é£ãã¦è¨äºãæ¸ããã¨æã£ã訳ã§ããªãã§ãããããªãä¸äººã³ã¼ããªã¼ãã£ã³ã°ã§ãã GNU CoreUtils ã«å ¥ã£ã¦ã rm ãèªã¿ã¾ããã GNU Project Archives http://ftp.gnu.org/gnu/coreutils/ èªãã ã®ã¯ coreutils-8.17.tar.xz ã«å ¥ã£ã¦ã src/rm.c preserve_root å¤æ°ã¯ 203è¡ç®ã«ãã main 㧠int main (int argc, char **argv) { bool preserve_root = true; struct rm_options x; true ã«åæåããã¦ãã¦319è¡ç® if (x.recursive && preserve_root) { static struct dev_ino dev_ino_buf; x.root_dev_ino = get
cles::blog 平常å¿æ¯é blogs: cles::blog NP_cles() « X220 ã Fan Error. ã«ããå®å ¨ã«æ²é» :: X220 ã®ãã¡ã³ã¦ãããã交æ » 2014/06/04 /etc/init.d/hoge start 㨠service hoge start ã¯ä½ãéãï¼Â systemmanagemant cli 390 4ã¸ã æ®æ®µãLinux ã§ãã¼ã¢ã³ãå¶å¾¡ããã«ã¯ /etc/init.d/hoge ã¨ããã¹ã¯ãªãããå©ãã¦ãã*1ã®ã§ãããããããã¥ã¢ã«ãèªãã ã service hoge ã使ãã¾ãããçãªãã¨ãæ¸ãã¦ããã¾ããã 試ãã¦ã¿ãã¨ç¢ºãã« /etc/init.d/hoge start ã®ä»£ããã« service hoge start ã¨ãã¦ãåãããã«ãã¼ã¢ã³ãèµ·åã§ããããã§ãã ãã ãå°ã£ããã¨ã«åã«ã¯ãã®2ã¤ã®éãã
#nanapi_study ã§ã® LT è³æã§ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}