Skip to content

How to traverse when using `cat` command? [closed]

How to travel in the shell using cat 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).

User contributions licensed under: CC BY-SA
2 People found this is helpful