Didi was a developer for a short period of 2 years before deciding he actually wants to be a system administrator, as which he then spent more than 15 years. Then he decided to cross the lines again and is now a developer in Red Hat, working on the oVirt project in the integration development team.
Authored Comments
That's correct, thanks for the comment.
I usually do 'less < $FILE', if I want to be extra certain that less won't be able to touch the file.
The opposite, btw, which is to be able to open stdin in vi (which can of course be useful even if you know 'less' well), is: '$COMMAND | vi -'. Some Older/Simpler VIs could not handle this, but VIM does - at least for 5-10 years or so, didn't check. But what if you want this from inside 'less'? E.g. you ran '$COMMAND | less', and now want to open it with vi? If you press 'v', it will tell you 'Cannot edit standard input'. Instead, press 'g' (go to top), '|' (pipe), '$' (end of file marker), 'vi -' (and Enter).
Great article!
A small correction: 'p' is short for 'percent': Pressing just 'p' will jump to the start of the file, and pressing a number and then 'p' will jump that percent into the file - e.g. pressing '30p' will jump to the line that is about 30% into the file.
Jumping to the Previous match for a search is done with 'N'.