[PLUG] Terminal shortcuts

Tomas Kuchta tomas.kuchta.lists at gmail.com
Wed Jun 20 05:44:09 UTC 2018


I would check for alias

Man alias or bash is your friend.
That allows you to assign shortcuts to a command and save typing.

Another alternative, more flexible, would be to create wrapper scrtipt or
function for your long commands.

-T

On Tue, Jun 19, 2018, 10:37 PM Russell Senior <russell at personaltelco.net>
wrote:

> You can cut/paste with ctrl-shift-c/ctrl-shift-v in gnome terminal, afaik.
> What don't you like about up-arrow?  That you have to backspace over
> things?  There's probably a delete-word binding, Ctrl-W.  So, maybe Ctrl-P
> Ctrl-W?
>
> On Tue, Jun 19, 2018 at 10:09 PM, John Jason Jordan <johnxj at gmx.com>
> wrote:
>
> > I prefer Gnome terminal because it is more visually configurable than
> > others that I have tried.
> >
> > Often I need to repeat a command with a different object, so the up
> > arrow doesn't save typing. For example:
> >
> >         mkvmerge -i <moviename> (and repeat with a different movie)
> >
> > It annoys me that I keep having to re-type 'mkvmerge -i' over and over
> > again. I could copy it to the clipboard and paste it in, except that I
> > use the clipboard to get <moviename>, which overwrites the clipboard.
> > And besides, 'mkvmerge -i' is only one of several such commands that I
> > have to keep re-typing.
> >
> > What would be really cool would be an 'auto-text' feature as in a word
> > processor, where you can create a series of letters (any length) and
> > assign it a short sequence of letters that you can type to invoke the
> > entire series of letters.
> >
> > Web searching found me Ctrl-r, but if I type mkv- it pops up the entire
> > preceding command, including <moviename>.
> >
> > OK, this is Linux, where someone a long time ago decided to name a root
> > folder /usr to save typing just one tiny letter. I mean, seriously.
> > There has to be a way to save constantly re-typing at the command line.
> > Any suggestions?
> > _______________________________________________
> > PLUG mailing list
> > PLUG at pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list