Nilani Algiriyage Nilani Algiriyage - 1 month ago 7x
Linux Question

How to traverse when using `cat` command?

How to travel in the shell using

command? (arrow keys are not working)

cat > myfile


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).