
{"id":18567,"date":"2010-01-20T12:27:44","date_gmt":"2010-01-20T06:57:44","guid":{"rendered":"http:\/\/froisa.com\/?p=405"},"modified":"2010-01-20T12:27:44","modified_gmt":"2010-01-20T06:57:44","slug":"the-fc-command-lists-edits-or-re-executes-commands-previously-entered-to-a-shell","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/01\/20\/the-fc-command-lists-edits-or-re-executes-commands-previously-entered-to-a-shell\/","title":{"rendered":"The fc command lists, edits, or re-executes commands previously entered to a shell"},"content":{"rendered":"<pre>\nfc is used to list or edit and re-execute commands from\nthe history list. FIRST and LAST can be numbers specifying\nthe range, or FIRST can be a string, which means the most\nrecent command beginning with that string.\n\n\n\n\n\n$fc -l\n2048\t git commit -am \"work\"\n2049\t git push -u origin master\n2050\t ls\n2051\t ps x\n2052\t ls\n2053\t git push -u upstream  master\n2054\t ls\n2055\t git add 26-Phone.png \n2056\t git commit -am \"work\"\n2057\t git push -u upstream  master\n2058\t git push -u origin  master\n2059\t ls\n2060\t man fc\n2061\t ls\n2062\t man fc\n2063\t ls\n$fc -e - ls\nls\n10-Speakers.png                       19-Point.png                      3.png               circle\n11-Keyboard.png                       20-Line.png                       4-Cycle.png         ellipse\n12-HappyBirthday.png                  21-Game-related.png               5-Scooter.png       hello-web.pde\n13-post-work-using-processing.js.png  22-Game-related-color-change.png  6-House.png         line\n14-Ellipse.png                        23-Battery.png                    7-Hat.png           point\n15-Ellipse.png                        24-Glass.png                      8-Bat-and-Ball.png  quad\n16-Ellipse.png                        25-Toothpick-related.png          9-Christmas.png     rectangle\n17-Ellipse.png                        26-Phone.png                      arc                 triangle\n18-Circle.png                         2.png                             array.pde\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>fc is used to list or edit and re-execute commands from the history list. FIRST and LAST can be numbers specifying the range, or FIRST can be a string, which means the most recent command beginning with that string. $fc -l 2048 git commit -am &#8220;work&#8221; 2049 git push -u origin master 2050 ls 2051 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/01\/20\/the-fc-command-lists-edits-or-re-executes-commands-previously-entered-to-a-shell\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The fc command lists, edits, or re-executes commands previously entered to a shell&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[556,751,903],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18567"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=18567"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/18567\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=18567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=18567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=18567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}