Announcement

Collapse
No announcement yet.

How do I save commands in konsole?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I save commands in konsole?

    I'm using the same commands over and over again. Is there a way to save them in a library in Konsole itself? Thanks.

    #2
    Re: How do I save commands in konsole?

    Well, for any current console shell session, you have 'history' which permits you to simply use your up or down arrow key to 'scroll' through the commands that were previously entered. Good only for the current session of course.

    I don't know of anyway you can 'store that history' for future sessions.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: How do I save commands in konsole?

      There are 2 options:

      1. Rely on the BASH history saving the commands. You can then try to retrieve them by pressing Ctrl+R and start typing the command. It will try to autocomplete the command based on what youv'e typed so far.

      2. Use BASH aliases: http://www.hypexr.org/bash_tutorial.php#alias (You have to save them in ~/.bashrc or ~/.bash_aliases if you want them to be available always)
      Jucato's Data Core

      Comment

      Working...
      X