Terminal Window

Wes Hegge whegge at gmail.com
Mon Jan 21 17:56:47 UTC 2008


Several way I can think to do this.

First is history.  Linux keeps a history of your commands.  You can do
'history | grep <command>' this will give you a numbered list of previous
commands.  You then can do '!<line #>' to execute that command again.

The other way is to use aliases.  This you would make in the .bashrc or
whatever shell system you are using configuration's file is called. Here is
an example: alias rm='rm -i'

So maybe something like: alias t_auth='tail -f /var/log/auth.log'

There has to be other ways too.  The great thing about the 2 above is that
they do not rely on a specific terminal program or desktop environment.
They do rely on the user you are logging in as though.


Wes

On Jan 21, 2008 11:44 AM, Richard <cms0009 at gmail.com> wrote:

> when using the terminal (commandline) is there a way to store commands,
> like a bookmark ? instead of re-typing them in, all the time.
>
> Thanks, in Advance,
> Richard
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>



-- 
Wes Hegge

- If the phone rings.  Its not me.
-- Jimmy  Buffet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20080121/fbd55250/attachment.html>


More information about the kubuntu-users mailing list