{"id":518,"date":"2013-02-06T10:51:44","date_gmt":"2013-02-06T01:51:44","guid":{"rendered":"http:\/\/43.203.250.216\/?p=518"},"modified":"2013-02-06T10:51:44","modified_gmt":"2013-02-06T01:51:44","slug":"bash%ec%97%90%ec%84%9c-%ec%9e%90%eb%8f%99%ec%99%84%ec%84%b1%ed%95%a0-%eb%95%8c-%ea%b3%b5%eb%b0%b1-%eb%ac%b8%ec%9e%90-%eb%93%a4%ec%96%b4%ea%b0%80%eb%8a%94-%eb%ac%b8%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=518","title":{"rendered":"bash\uc5d0\uc11c \uc790\ub3d9\uc644\uc131\ud560 \ub54c \uacf5\ubc31 \ubb38\uc790 \ub4e4\uc5b4\uac00\ub294 \ubb38\uc81c"},"content":{"rendered":"<p>\uc5b8\uc81c\ubd80\ud130 \uc600\ub294\uc9c0\ub294 \ubaa8\ub974\uaca0\uc9c0\ub9cc, ubuntu (12.04)\uc758 bash shell\uc5d0\uc11c \uc790\ub3d9\uc644\uc131\uc744 \ud558\ub824\uace0 &lt;tab&gt; key\ub97c \ub204\ub974\uba74 \uacf5\ubc31\ubb38\uc790\uac00 \ud558\ub098\uc529 \ucd94\uac00\ub418\ub294 \ubb38\uc81c\uac00 \uc0dd\uacbc\ub2e4. \uc5ec\ub7ec \ub2e8\uacc4\ub85c \ub418\uc5b4 \uc788\ub294 file\uc5d0 \uc811\uadfc\ud558\ub824\uace0 \ud560 \ub54c \ub9e4\ubc88 &lt;tab&gt; key\ub97c \ub204\ub974\uace0 &lt;backspace&gt;\ub85c \uacf5\ubc31\ubb38\uc790\ub97c \uc9c0\uc6cc\uc918\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0 \ubb34\ucc99 \ubd88\ud3b8\ud588\ub294\ub370 \uc880\u00a0\ucc3e\uc544\ubcf4\ub2c8 bash_completion file\uc744 \uc218\uc815\ud574\uc11c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0 \ud560 \uc218 \uc788\uc5c8\ub2e4.<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">sudo vi \/etc\/bash_completion<\/pre>\n<pre class=\"nums:true start-line:1580 lang:sh decode:true\"># makeinfo and texi2dvi are defined elsewhere.\nfor i in a2ps awk bash bc bison cat colordiff cp csplit \\\n    curl cut date df diff dir du enscript env expand fmt fold gperf gprof \\\n    grep grub head indent irb ld ldd less ln ls m4 md5sum mkdir mkfifo mknod \\\n    mv netstat nl nm objcopy objdump od paste patch pr ptx readelf rm rmdir \\\n    sed seq sha{,1,224,256,384,512}sum shar sort split strip tac tail tee \\\n    texindex touch tr uname unexpand uniq units vdir wc wget who; do\n    have $i &amp;&amp; complete -F _longopt -o default $i\ndone\nunset i<\/pre>\n<p>1587 line\uc758 &#8216;_longopt -o <em><strong>default<\/strong><\/em>&#8216; \ubd80\ubd84\uc744 \ub2e4\uc74c\uacfc \uac19\uc774&#8217; _longopt -o <em><strong>filenames<\/strong><\/em>&#8216;\ub85c \ubcc0\uacbd\ud55c \ud6c4 \ub2e4\uc2dc shell\uc744 \ub2e4\uc2dc \uc5f4\uace0 \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/p>\n<pre class=\"lang:default decode:true crayon-selected\"> have $i &amp;&amp; complete -F _longopt -o filenames $i<\/pre>\n<p>(<a href=\"https:\/\/answers.launchpad.net\/ubuntu\/+source\/bash-completion\/+question\/155411\">\ucc38\uc870 \ub9c1\ud06c<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc5b8\uc81c\ubd80\ud130 \uc600\ub294\uc9c0\ub294 \ubaa8\ub974\uaca0\uc9c0\ub9cc, ubuntu (12.04)\uc758 bash shell\uc5d0\uc11c \uc790\ub3d9\uc644\uc131\uc744 \ud558\ub824\uace0 &lt;tab&gt; key\ub97c \ub204\ub974\uba74 \uacf5\ubc31\ubb38\uc790\uac00 \ud558\ub098\uc529 \ucd94\uac00\ub418\ub294 \ubb38\uc81c\uac00 \uc0dd\uacbc\ub2e4. \uc5ec\ub7ec \ub2e8\uacc4\ub85c \ub418\uc5b4 \uc788\ub294 file\uc5d0 \uc811\uadfc\ud558\ub824\uace0 \ud560 \ub54c \ub9e4\ubc88 &lt;tab&gt; key\ub97c \ub204\ub974\uace0 &lt;backspace&gt;\ub85c \uacf5\ubc31\ubb38\uc790\ub97c \uc9c0\uc6cc\uc918\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0 \ubb34\ucc99 \ubd88\ud3b8\ud588\ub294\ub370 \uc880\u00a0\ucc3e\uc544\ubcf4\ub2c8 bash_completion file\uc744 \uc218\uc815\ud574\uc11c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0 \ud560 \uc218 \uc788\uc5c8\ub2e4. sudo vi \/etc\/bash_completion # makeinfo and texi2dvi are defined [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[20,72,125],"class_list":["post-518","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-linux","tag-tip"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=518"}],"version-history":[{"count":0,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/518\/revisions"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}