LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2004, 01:39 PM   #1
geodd
LQ Newbie
 
Registered: Aug 2003
Distribution: Xubuntu 6.06
Posts: 7

Rep: Reputation: 0
Question 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.
 
Old 01-01-2004, 01:57 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 01-01-2004, 02:28 PM   #3
geodd
LQ Newbie
 
Registered: Aug 2003
Distribution: Xubuntu 6.06
Posts: 7

Original Poster
Rep: Reputation: 0
Smile

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.
 
Old 01-01-2004, 05:20 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
ls was made for that, here's another way to show what files/dirs there:

$ echo *
 
Old 01-01-2004, 05:30 PM   #5
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
midnight commander
mc
might be what you are looking for.
 
Old 01-01-2004, 05:32 PM   #6
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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!
 
Old 01-01-2004, 05:32 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
argh looks like g-rod beat me
 
Old 01-01-2004, 05:34 PM   #8
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
But you gave a more complete responce.
 
Old 01-01-2004, 05:36 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
 
Old 01-01-2004, 06:52 PM   #10
geodd
LQ Newbie
 
Registered: Aug 2003
Distribution: Xubuntu 6.06
Posts: 7

Original Poster
Rep: Reputation: 0
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.

Last edited by geodd; 01-01-2004 at 06:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ISO file viewer? bsdpowa Linux - Software 4 07-01-2005 05:09 PM
file/directory viewer sh4d0w13 Linux - Newbie 3 04-01-2005 09:46 PM
How to activate su mode for Konqueror file viewer RadonicMan Linux - Newbie 2 07-20-2004 08:52 PM
visio file viewer? whysyn Linux - Software 3 10-06-2003 12:02 PM
nautilus file viewer problem Sornen Linux - Software 0 08-06-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration