5
votes
1answer
72 views

Copy a long single-line text from a terminal with undesired change-line

locate ... | less outputs a long path, which is shown as several lines in the terminal, although it is actually a single line. I copy the path from the terminal by selecting the text with mouse and ...
5
votes
4answers
607 views

Look for English word in a file via terminal

How to find and print out English words contained in a file via linux command line?