How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal.
Thanks,
How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal.
Thanks,
This is specific to your terminal emulator. If you are using the Gnome Terminal Emulator, you can use SHIFT+CTRL+C to copy and SHIFT+CTRL+V to paste.
EDIT: As noted above, if you are simply trying to repeat a command, hitting the up arrow key is the best method of doing this.