How to travel in the shell using cat
command? (arrow keys are not working)
cat > myfile
Advertisement
Answer
I think you are asking for a pager. For that you can use more
or less
(yes, these are the real names). As an example, you can use cat FILE | less
or just less FILE
. In there, you can scroll/search/… (exit with q
).