is there a different command to display contents of a file on the output in bash shell? i tried more and it does not work.
How about 'less'?
Strange, other commands to display the contents of a file:
pg
less
cat
view (vi in view mode)
Regards
pg didnt work. all the others did.
thanks
I am wondering about your PATH setting. Of course, that depends on what happens when you try to use the more command - do you get a file not found, or what is the error.
Also, by typing
which more
(you can do with any command)
you will see where it is looking/finding the program
i get a bash:more: command not found error.
when i did which more it looked in the PATH variable. its strange that there is not $SHELL set in $PATH.
i am using cygwin not a machine with native unix. maybe its cygwin?
Yes,
you have to select the more port during the installation process (it's not selected by default). You can also install it afterward by running the setup.exe again.
hello more command will work in bash comfortably. I think u r using some other shell