2

I connect to my server via Putty SSH client.

With the key I see previous entered commands, one by one. I just wondering is there a some command, which show all previous entered commands out of a simple list. Something like the command ls show the list directory contents.


I mark the list of all commands, but cant click with the second mouse button or Ctrl + C to copy all commands. Do you have idea how i can copy all commands list?

Mitch
  • 107,631
afaf
  • 31

1 Answers1

8

To get a simple list of previously entered commands in the bash shell, you can use the command

history

The fact that you are using PuTTY or any other SSH client should be irrelevant.

steeldriver
  • 136,215
  • 21
  • 243
  • 336