Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
AWS ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¤ã¹ (AWS CLI) ã¯ãAWS ã®ãµã¼ãã¹ã管çããããã®çµ±åãã¼ã«ã§ãããã¦ã³ãã¼ãããã³è¨å®ç¨ã®åä¸ã®ãã¼ã«ã®ã¿ã使ç¨ãã¦ãã³ãã³ãã©ã¤ã³ãã AWS ã®è¤æ°ã®ãµã¼ãã¹ãå¶å¾¡ããã¹ã¯ãªããã使ç¨ãã¦ããããèªååãããã¨ãã§ãã¾ãã AWS CLI v2 ã¯ãããã¤ãã®æ°ããæ©è½ãæä¾ãã¾ããã¤ã³ã¹ãã¼ã©ã®åä¸ãããã³ AWS IAM ã¢ã¤ãã³ãã£ãã£ã»ã³ã¿ã¼ (AWS SSO ã®å¾ç¶) ãã¤ã³ã¿ã©ã¯ãã£ããªæ©è½ã¨ãã£ãæ°ããè¨å®ãªãã·ã§ã³ãå«ã¾ãã¾ãã
AWSã«ã¯ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¨æããã¦ãã¾ãã S3ãªããã¯ç»é¢ããããããããã®ã¯ããªãæéãªã®ã§ã³ãã³ãã¯éå®ãã¾ããã¡ãã£ã¨è»½ãã¾ã¨ãã¦ã¿ã¾ããã ãã¡ã¤ã«åä½ã®ã³ãã³ã Bucket âsample-aws-commandâã«test1ãcopy ä¸è¬çãªã³ãã³ãã©ã¤ã³ã®æè¦ã§ããã
Re: [twitter:@riywo]'s UNIX Command Idioms ps auxwwwwwww number of "w" depends on my mood in that day :D ps auxwwwwwwwww -L netstat -tna / -una / -tnl / -tnap tar xvf tar zxvf / jxvf / Jxvf are boring trailing slash in rsync rsync -av file [file] HOST:dir/ rsync -av dir/ HOST:dir/ tcpdump -i any -nlx strace -s 100 -fFTttt diff -u /path/to/file <(ssh host cat /path/to/file) see also: http://d.haten
ãã®ãã¡ã¤ã³ãè³¼å ¥ããã gkbr.me 2018 Copyright. All Rights Reserved. The Sponsored Listings displayed above are served automatically by a third party. Neither the service provider nor the domain owner maintain any relationship with the advertisers. In case of trademark issues please contact the domain owner directly (contact information can be found in whois). Privacy Policy
ããå¿ããããã¡ã¢ã ä»äºã§å¤ãUNIXã使ãã®ã§ãã©ããã¦ãæã'more'ã¨è¦ãã¦ãã¾ã£ã¦ããããä»æ¹ããªãã $ alias more='less' ããã¯ã¢ããããã¨ãã®ã·ã§ã«ã®é¢æ°ãå人çã«ã¯ä¾¿å©ã $ backup(){ cp -pr $1{,.`date +%Y-%m-%dT%H:%M:%S`}; } $ backup a.c $ ls a.c* a.c a.c.2012-09-17T00:46:46 空ãã£ã¬ã¯ããªãåé¤ããã¯ã³ã©ã¤ãã¼ããã aliasã«ããã ãã $ alias rmdir_r='find . -depth -type d | xargs rmdir 2> /dev/null' 空ãã£ã¬ã¯ããªãåé¤ããã¯ã³ã©ã¤ãã¼ãLinuxã®findutilsãªããã£ã¡ã®æ¹ãããã®ãããããªãã $ alias rmdir_r='find . -type d -empt
ç°¡åãªè§£èª¬ [ ] ã¯å²ã¾ããæåã®ãªã¹ãä¸ã®ä¸æåã«ãããããã ãgrep "[z]sh"ãã¨ããã«ã¯ã©ã¼ãã§å²ã¿[ ]ã使ããã¨ã§ grep ã® ããã»ã¹ã¯ãgrep "[z]sh"ãã«ãªãã å®éã®ããã»ã¹ã®æ¤ç´¢ã¯ãzãä¸æåã¨ãshãã¨ããæå³ã§æ¤ç´¢ããããããgrep ã®ããã»ã¹ã¯ä¸è´ããªããªãã èª²é¡ ããã¯æ㧠grep ããæç¨ãªæ°ããã¦ãããã¹ã¯ãªããã®ä¸ã§ grep 対象ãå¤æ°ã«æ ¼ç´ããã¦ããå ´åã¯ãgrep -v grepãã®æ¹ãæ¸ãã®ã¯æ¥½ã å ãã¿ çµæ§æããå©ç¨ãã¦ããã®ã§å ãã¿ã¯ãã£ããå¿ããããããããå ãã¿ã¯ãã®ããããps -ef | grep hoge | grep -v grep ã§ã¯ãªããps -ef | grep [h]oge - hogehoge @teramako
UNIX/Linuxã®é¨å± ã³ãã³ã:env TOP UNIX/Linuxã®é¨å± UNIX/Linuxã³ãã³ãä¸è¦§ ç¨èªé æ°ç ç±æ¥/èªã¿æ¹è¾æ¸ ç°å¢å¤æ°ããã¥ã¢ã« Cã·ã§ã«å¤æ° ã·ã¹ãã è¨å®ãã¡ã¤ã« ã·ã¹ãã ã³ã¼ã«ã»ã©ã¤ãã©ãª ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã®åºç¤ç¥è ã¯ã©ã¦ããµã¼ãã¹å¾¹åºæ¯è¼ã»å¾¹åºè§£èª¬ ãã¼ã¯ã¼ã env: 7 件ããããã¾ããã ã³ãã³ã env ç°å¢å¤æ°ãã»ãããã¦ã³ãã³ããå®è¡ printenv ç¾å¨è¨å®ããã¦ããç°å¢å¤æ°ã表示ã setenv ç°å¢å¤æ°ãè¨å®ã»å®ç¾©ã»æ´æ°ãããcshã»tcsh ã®å é¨ã³ãã³ãã unsetenv ç°å¢å¤æ°ãåé¤ãcshã»tcsh å é¨ã³ãã³ã èªã¿æ¹ setenv (Cã·ã§ã«ã³ãã³ã) [ãã£ã¨ã»ããã¶] é¢æ° getenv ç°å¢å¤æ°ãåå¾ãã putenv ç°å¢å¤æ°ãè¨å®ãã é å¼µã£ã¦æ¸ããããããã³ã³ãã³ãï¼ å§ç¸®ã»ä¼¸é·ã¾ã¨ã
Just browsing Stack Overflow? Help us improve your experience. Sign up for research
æ¨æºåºåãããå 容ããã¹ãããå 容ã調ã¹ãã¨ãããç´ æ´ãããã¨ã³ããªã¼ãè¦ã¤ããã®ã§å¿ããªãããã«ã¡ã¢ pochi's weblog # -*- coding: utf-8 -*- require "rspec" class Target def some_method(msg) print msg end end # this method is written by wycats def capture(stream) begin stream = stream.to_s eval "$#{stream} = StringIO.new" yield result = eval("$#{stream}").string ensure eval("$#{stream} = #{stream.upcase}") end result end describe "Object#capture"
Ruby éçºç°å¢ AdventCalendar 10 æ¥ç®ã§ããåæ¥ã¯ã aereal ããã§ããã ãã¦ãçããã³ãã³ãæã¡ã¾ãã£ã¦ã¾ããï¼å㯠Ctrl+R ã§å±¥æ´ããå¼ã£ã±ãåºããªãã¨ã¿ã¤ãã§ææ²ãã¾ãã ãããªãããªã§çããããã㪠CLI ãã¼ã«ããå©ç¨ä¸ã ã¨æãã¾ãã vim ã¨ã emacs ã¨ãã rails g ã¨ãã guard ã¨ããå®ã«ä¾¿å©ãªãã®ãã¡ã§ãããç¾å®ã®éçºç¾å ´ã«å³ãããç´ æ´ãããããããªãã¼ã«ã¨ããã®ã¯ãå¾ã¦ãã¦ãããªã«ãªããã®ã§ãã ããããªã«éåã§ãªãã¦ããã ãããã¡ãã£ã¨ãã£ããã¨ããâ¦â¦ãªãã¨ãããçãã¨ããã«æãå±ããããªâ¦â¦ã ãªã©ãªã©ãããããããã¨æãã¾ããä¾ãã°ããã¼ã ã§éçºãã¦ããã®ã ããä»è¡ã£ãã³ãããã®ã¬ãã¥ã¼ãä¾é ¼ããã¡ã¼ã«ãæ¸ãã®ãé¢åãªã®ã§ç¤¾å Twitter çãªãã®ã«æ¸ãããã¨æãã®ã ããããããã©ãããã®ã§ã³ããã
ããã¾ããå®è·µ! Linux ã·ã¹ãã 管çãã¯ãã¡ãã§ãã ã¡ã«ãã¬ã®è§£é¤ãããã¯ãã³ãã¼ãªã©ãã以ä¸ããã©ããã https://www.usupi.org/sysad/ (ã¾ãã¾ã ID:149633) ãã®ä»ãä½è ã«é¢ãããã¼ã¸ã¯ãæ¦ã以ä¸ã«ãããã¾ãã https://www.usupi.org/kuri/ (ã¾ãã¾ã ID:126454) http://usupi.seesaa.net/ (æ æ¥è¨ããã°) https://twitter.com/kuriking/ (twitter) https://facebook.com/kuriking3 (facebook) https://jp.pinterest.com/kuriking/pinterest) https://www.instagram.com/kuri_king_/ (instagram) [ããã¯ãã³ãã¼ã®ãããã¸
Command Lineã§ä½¿ç¨ãã¦ãããã¼ã«ãç°¡åã«ã§ã¯ããã¾ãã、ã¾ã¨ãã¦ã¿ããã¨æãã¾ã。ç§ãç¥ããªã便å©ãã¼ã«ã¯ã¾ã ã¾ã ããããããã¾ãã®ã§ï½¤ããã«æ²è¼ããã¦ãããã®ä»¥å¤ã§ä¾¿å©ãªãã®ãããã°ï½¤ãã²æãã¦ãã ãã。 ãã®è¨äºã«è²¼ãä»ãã¦ãããªã³ã¯ã¯ï½¤ãã¼ã¯ã¼ãã«é¢é£ããé©åãªå ´æã¸ã¨èªå°ãã¦ããã¾ã。é常ã«æå¹ãªã®ã§ï½¤ãã²åç §ãã¦ã¿ã¦ãã ãã。 ã¾ã、ç§ã¯åºæ¬çã«ãã½ã³ã³ã®ãã¨ã¯ä½ãããã£ã¦ããªãã®ã§ï½¤è¨äºå ã«ã¯èª¤ããå«ãå¯è½æ§ãããã¾ã。ãã£ã¦ï½¤ã§ããéãèªåã®ç°å¢ãææ¡ããä¸ã§ï½¤é©æèªã¿æãã¦ããããã°ã¨æãã¾ã。ç¹ã«ï½¤è¨å®ãã¡ã¤ã«ã®å ´æã«ã¤ãã¦ã¯æ°ãã¤ãã¦ãã ãã。ã¾ã、GitãHomebrew、MacPortã®å°å ¥èª¬æãªã©ã¯çç¥ãã¦ãã¾ãã®ã§ï½¤æ³¨æãå¿ è¦ã§ã。 #zsh Shellã§ããzshãæ¡å¼µããè¨å®ã®æ°ã ãç´¹ä»ãã¦ããããã¨æãã¾ã。簡æã«ã§ã¯ããã¾ãã、ãã£ã¨è¯ãè¨å®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}