{"id":952,"date":"2012-03-12T15:24:24","date_gmt":"2012-03-12T15:24:24","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=952"},"modified":"2012-03-12T15:24:24","modified_gmt":"2012-03-12T15:24:24","slug":"keyboard-shortcuts-of-os-x-terminal","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=952","title":{"rendered":"Keyboard Shortcuts of OS X Terminal"},"content":{"rendered":"<h2><a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2012\/03\/navigate-text-command-line.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-953\" title=\"navigate-text-command-line\" src=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2012\/03\/navigate-text-command-line.jpg\" alt=\"\" width=\"620\" height=\"330\" srcset=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2012\/03\/navigate-text-command-line.jpg 620w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2012\/03\/navigate-text-command-line-300x159.jpg 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/h2>\n<h2>7 Navigation Shortcuts<\/h2>\n<p>Navigate around blocks of texts faster with the following shortcuts:<\/p>\n<ul>\n<li><strong>Jump to Beginning of Line<\/strong>\u00a0\u2013 Control+A<\/li>\n<li><strong>Jump to End of Line<\/strong>\u00a0\u2013 Control+E<\/li>\n<li><strong>Go to Next Line<\/strong>\u00a0\u2013 Control+N<\/li>\n<li><strong>Go to Previous Line<\/strong>\u00a0\u2013 Control+P<\/li>\n<li><strong>Delete Previous Word<\/strong>\u00a0\u2013 Control+W<\/li>\n<li><strong>Delete Line from Cursor to Beginning<\/strong>\u00a0\u2013 Control+U<\/li>\n<li><strong>Delete Line from Cursor to End<\/strong>\u00a0\u2013 Control+K<\/li>\n<\/ul>\n<p>Of course you can also use the arrow keys to navigate within text blocks and to place the cursor for using all commands mentioned.<\/p>\n<h2>3 Cutting &amp; Pasting Shortcuts for the Command Line<\/h2>\n<p>The command line also has it\u2019s own version of cut and paste, called \u201ckill\u201d and \u201cyank\u201d, and you can reuse two previously mentioned commands for this purpose:<\/p>\n<ul>\n<li><strong>Cut from Cursor to Beginning of Line<\/strong>\u00a0\u2013 Control+U<\/li>\n<li><strong>Cut from Cursor to End of Line<\/strong>\u00a0\u2013 Control+K<\/li>\n<li><strong>Paste Previously Cut Text at Cursor<\/strong>\u00a0\u2013 Control+Y<\/li>\n<\/ul>\n<p>Because the latter two kill and yank commands do not overwrite the clipboard buffer, they can function as\u00a0<a href=\"http:\/\/osxdaily.com\/2012\/02\/01\/use-a-secondary-cut-and-paste-function-to-avoid-overwriting-clipboard-contents\/\">a secondary cut &amp; paste<\/a>\u00a0command in many GUI based Mac OS X apps as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>7 Navigation Shortcuts Navigate around blocks of texts faster with the following shortcuts: Jump to Beginning of Line\u00a0\u2013 Control+A Jump to End [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-952","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=952"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/952\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}