Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 21 Jul 2017, 12:54
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
"history" - shows commands used in terminal
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 804
Location: Canada

PostPosted: Tue 14 Mar 2017, 15:59    Post subject:  "history" - shows commands used in terminal  

Here is a very useful command line : history.

It is a kind of Parcellite, but for terminal.

Type history in terminal, and all command lines used in a session will show. Just copy and paste lines to save time. It is truly a time-saver for long command lines.

Example :

I regularly use this command : firejail --private --dns=8.8.8.8 --dns=8.8.4.4 --caps.drop=all firefox -no-remote or this one : openvpn --config vpnbook-ca1-tcp443.ovpn --auth-no-cache --auth-user-pass vpn-login

Just copy and paste.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 10509
Location: Gatineau (Qc), Canada

PostPosted: Tue 14 Mar 2017, 16:29    Post subject:  

labbe5?

You do know that all systems with bash have a < .bash_history > file,
don't you? To access previous commands you typed in your terminal, you
simply use the up-arrow. When you've found the one you want, you hit
the < Enter > key.

Also, to paste to terminal from anywhere, you hit the mouse middle button
where you want your string to appear on your terminal line. (Alternatively,
you can type < Shift-Enter >.)

Thanks anyway, but there is no real need for the utility you mention.

Best regards.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0421s ][ Queries: 14 (0.0040s) ][ GZIP on ]