Joined: 13 Nov 2013 Posts: 1067 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=184.108.40.206 --dns=220.127.116.11 --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: 11675 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
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
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