Joined: 13 Nov 2013 Posts: 916 Location: Canada
Posted: 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.
I regularly use this command : firejail --private --dns=18.104.22.168 --dns=22.214.171.124 --caps.drop=all firefox -no-remote or this one : openvpn --config vpnbook-ca1-tcp443.ovpn --auth-no-cache --auth-user-pass vpn-login
Joined: 04 Jan 2009 Posts: 10813 Location: Gatineau (Qc), Canada
Posted: Tue 14 Mar 2017, 16:29 Post subject:
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)
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