File Viewer to run from promt
Hello, new to Linux, running slackware 9.1.
Is there a good file viewer that can be run from the command line before starting X. Thanks. |
If you only want to view the file:
cat <filename> more <filename> less <filename> The last 2 give you some navigation control (up/dwon, search things like that). If you want to edit file from the commandline: vi <filename> emacs <filename> There are a lot more, but these 2 are used most. Do check out how they work. Basics can be found in the manpages. |
Thanks Druuna, I quess I should state my question more clearly. What I was looking for was some program to view the list of files and directories, something other than the ls command. Thanks for the help.
|
ls was made for that, here's another way to show what files/dirs there:
$ echo * |
midnight commander
mc might be what you are looking for. |
Would you be looking for a file manager to run from the command line maybe? If so is the case, Midnight Commander is what you seek :). It also has a good text editor on it. Most likely it's already installed at your system. Type mc and see if it is. If not, search into your Slack's cds and you may find it. Or else:
http://www.ibiblio.org/mc/ Good luck! |
argh :) looks like g-rod beat me :)
|
But you gave a more complete responce.
|
:)
|
Thanks everyone. Before I got back to the board I discovered Midnight Commander, and it was what I wanted. Takes me right back to DOS and Norton Commander. With this Linux stuff it pays to perservere.
|
All times are GMT -5. The time now is 06:10 PM. |