Hacker News new | ask | show | jobs
by thepete2 2529 days ago
fc ("fix command") opens an editor with your last command and executes it when you leave the editor. fc -l lists your latest commands, fc -ln does so without line numbers. Useful if you want to write a script (fc -ln > myscript.sh).