for example: when
ssh email@example.com "histroy"
it get nothing,
it get a lot.
any one tell me how to get the history by one line command?
This question came from our site for professional and enthusiast programmers.
You can cat the file that the history command reads from and then number each line: