keep

Miscellaneous tools
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

keep

#1 Post by labbe5 »

https://www.ostechnix.com/save-commands ... se-demand/

Install ‘Keep’ On Linux (for Dog-based OS) :

First, you need to install python-pip :

$sudo apt install python-pip

Then, install keep :

$sudo pip install keep

Save Commands In Terminal And Use Them On Demand Using ‘Keep’ Utility

First, you need to initialize the ‘keep’ environment.:
keep init

Save a new command :
keep new

View the saved commands :
keep list

You can sync saved commands with another system.

Keep is useful, but you can do something else to retrieve command lines :
CTRL-R (reverse-i-search)
As an example, type firejail, and a command line will be shown with firejail, then you press Enter.
history can be useful too, type history in terminal and a list of commands will be shown that you used previously.

You can also bookmark Linux commands :
https://www.ostechnix.com/bookmark-linu ... nvocation/
Bookmarking Linux commands is not as easy to do as using keep utility or CTRL-R or history.

Further reading :
https://www.linuxliteos.com/forums/tuto ... shortcuts/
Last edited by labbe5 on Tue 22 Oct 2019, 12:45, edited 3 times in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Thanks for this little roundup, labbe5.

History utilities are a great time-saver for any user.

Readers and yourself may be interested in my MRUF-lst script, now at
version 0.9.7.9.
http://murga-linux.com/puppy/viewtopic. ... ost#961785
The two posts following may also be useful to some.

MRUF-lst runs on any 32-bit Puppy and on Quirky-8.2 "xerus", courtesy of
BarryK having compiled and provided the required 64-bit executables.

I'm still waiting for reports concerning if it runs on other 64-bit Pups.
Anyone who wishes to put his/her neck on the log for testing MRUF-lst on
other 64-bit Pups is welcome to do so! :)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply