Here’s a list of useful terminal commands for my reference and yours.
Using iTerm2 (Terminal Emulator)
Composer
Make editing long lines easier by using Composer.
Open Composer: Shift-Cmd-.
Type your long command and enjoy using standard text editing controls:
Send Composer command to terminal: Shift-Return
Snippets
Toolbelt > Show Toolbelt
Then add, edit and delete commands.
Select a command then use Send
to insert it on the terminal.
References
- Working the Command Line by Remy Sharp from A List Apart