Sunday, May 5, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 26032  / 3 Years ago, sat, july 3, 2021, 8:38:56

When in the 'lower level terminal' (not sure how this is called), the one opened by pressing Ctrl + Alt + F1, how can I copy the content of the command I used there, since there is no mouse and I can not move my cursor out for the command line?


More From » command-line

 Answers
1

You could just redirect the output to a file with > or &>... I was asked to move it from comments to answers, so here it is.



By the way, a couple notes:



Putting > in between a command and a filename will overwrite the current contents of the file with standard out.



Putting >> appends to a file.



Putting a & before the redirector will also catch standard error (in Bash > 4).


[#42583] Monday, July 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uestred

Total Points: 464
Total Questions: 104
Total Answers: 112

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
uestred questions
;