Hey whats going on. I am trying to find a command to take the contents of a file and display it one screen at a time. I did some looking and was looking into the 'more' command. There is a '-p' attribute that pauses the command and then allows you to issue subcommands. I have played around with the subcommands a little but unfortunately I haven't been able to get them to work properly. I was just wondering if someone could help me with my syntax.
Here is what I have so far
more -p j <filename>
option p: it pauses the more command
j: is the subcommand which moves forward K lines, or one full screen if you do not give a value for K.
However when I issue the command for some reason the 'j' option is interpreted as being a file and not a subcommand. I even tried using examples of other subcommands straight out of the 'man page' for more but for some reason the subcommands are still being interpreted as files and not subcommands
If someone could maybe help me fix up my syntax that would be great
thanks in advance