{"id":220,"date":"2009-03-17T18:04:26","date_gmt":"2009-03-17T11:04:26","guid":{"rendered":"http:\/\/adityo.blog.binusian.org\/?p=220"},"modified":"2009-04-02T10:53:53","modified_gmt":"2009-04-02T03:53:53","slug":"bash-short-cuts","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=220","title":{"rendered":"Bash ShortCuts"},"content":{"rendered":"<p>Url Referer :<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"MyAdkqbyLJ\"><p><a href=\"https:\/\/hsukumar.wordpress.com\/2008\/05\/30\/bash-short-cuts-hotkeys\/\">Bash Short Cuts(&nbsp;Hotkeys)<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Bash Short Cuts(&nbsp;Hotkeys)&#8221; &#8212; Harry Sukumar&#039;s very occasional tech stuff...\" src=\"https:\/\/hsukumar.wordpress.com\/2008\/05\/30\/bash-short-cuts-hotkeys\/embed\/#?secret=BXqK3gW0sY#?secret=MyAdkqbyLJ\" data-secret=\"MyAdkqbyLJ\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<table class=\"MsoNormalTable\" style=\"margin-left: 6.75pt; margin-right: 6.75pt; height: 696px;\" border=\"0\" cellpadding=\"0\" width=\"446\" align=\"left\">\n<tbody>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\"> Ctrl   + A<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Go to the   beginning of the line you are currently typing on<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + E<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Go to the end   of the line you are currently typing on<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl +   L <\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Clears the   Screen, similar to the clear command<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + U<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Clears the   line before the cursor position. If you are at the end of the line, clears   the entire line.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + H<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Same as   backspace<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + R <\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Let\u2019s you   search through previously used commands<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + C<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Kill whatever   you are running<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + D<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Exit the   current shell<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + Z<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Puts whatever   you are running into a suspended background process. fg restores it.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + W<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Delete the   word before the cursor<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + K<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Clear the line   after the cursor<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Ctrl + T<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Swap the last   two characters before the cursor<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Esc + T<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Swap the last   two words before the cursor<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Alt + F<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Move cursor   forward one word on the current line<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Alt + B<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Move cursor   backward one word on the current line<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><strong><span style=\"font-size: 9pt;\">Tab<\/span><\/strong><\/p>\n<\/td>\n<td style=\"padding: 0.75pt;\">\n<p class=\"MsoNormal\"><span style=\"font-size: 9pt;\">Auto-complete   files and folder names<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>command to find files with permission 777<\/p>\n<p>find \/ -perm 000777 -print | more -&gt; to search the whole directory<\/p>\n<p>find . -perm 000777 -print | more -&gt; to search the current directory<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Url Referer : Bash Short Cuts(&nbsp;Hotkeys) Ctrl + A Go to the beginning of the line you are currently typing on Ctrl + E Go to the end of the line you are currently typing on Ctrl + L Clears the Screen, similar to the clear command Ctrl + U Clears the line before the [&hellip;]<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[713],"tags":[893,895,894],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-ssh","tag-bash-shortcuts","tag-shell-command","tag-ssh-command"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220"}],"version-history":[{"count":5,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/220\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}