{"id":663,"date":"2014-01-22T18:01:09","date_gmt":"2014-01-23T01:01:09","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=663"},"modified":"2014-01-22T18:01:09","modified_gmt":"2014-01-23T01:01:09","slug":"handy-dandy-terminal-shortcuts","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/handy-dandy-terminal-shortcuts\/","title":{"rendered":"Handy-Dandy Terminal Shortcuts"},"content":{"rendered":"<p>Hey all, here are some handy terminal shortcuts I&#8217;ve stumbled upon in school and work. Maybe they&#8217;ll make your life easier as you go about entering commands in a Unix bash shell.<\/p>\n<p><a href=\"http:\/\/www.theemailadmin.com\/wp-content\/uploads\/2013\/11\/shortcuts.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" alt=\"\" src=\"http:\/\/www.theemailadmin.com\/wp-content\/uploads\/2013\/11\/shortcuts.jpg\" width=\"430\" height=\"323\" \/><\/a><\/p>\n<p>The <strong>+<\/strong> sign is not part of the key combination, it&#8217;s just to show what buttons to hit together.<\/p>\n<p>CTRL + &#8220;u&#8221; -&gt; Delete current text in prompt and move cursor to the beginning<br \/>\nCTRL + &#8220;k&#8221; -&gt; Similar to the last, but instead it kills the input<br \/>\nCTRL + &#8220;y&#8221; -&gt; Return the last killed input<br \/>\nCTRL + &#8220;a&#8221; -&gt; Jump cursor to the beginning of your terminal input line<br \/>\nCTRL + &#8220;e&#8221; -&gt; Jump cursor to the end of your terminal input line<br \/>\nCTRL + &#8220;f&#8221; -&gt; Move cursor forward one character (similar to right arrow key)<br \/>\nCTRL + &#8220;b&#8221; -&gt; Move cursor backward one character (similar to left arrow key)<br \/>\nCTRL + &#8220;d&#8221; -&gt; Backwards Delete (For all you Mac users)<br \/>\nCTRL + &#8220;h&#8221; -&gt; Forward Delete<br \/>\nCTRL + &#8220;r&#8221; -&gt; Extremely useful, lets you look up a previous used command. Just press CTRL plus the letter &#8220;r&#8221; then begin typing the command, the promo will return the last command that used the term.<br \/>\nCTRL + &#8220;l&#8221; -&gt; Clear screen<\/p>\n<p>I&#8217;ll add to this list as I come upon more helpful terminal shortcuts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey all, here are some handy terminal shortcuts I&#8217;ve stumbled upon in school and work. Maybe they&#8217;ll make your life easier as you go about entering commands in a Unix bash shell. The + sign is not part of the key combination, it&#8217;s just to show what buttons to hit together. CTRL + &#8220;u&#8221; -&gt; Delete current text in prompt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[160,11,161,158,5,159],"class_list":["post-663","post","type-post","status-publish","format-standard","hentry","category-linux","tag-bash","tag-commands","tag-shell","tag-shortcuts","tag-terminal","tag-unix"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":2,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/663\/revisions"}],"predecessor-version":[{"id":665,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/663\/revisions\/665"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}