Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > how to view a file in a terminal

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 4 Weeks Ago   #11 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
I would assume since this is a file in the Music directory, you're looking at a music file, right?

As said, nano and vi are text editors. Are you looking for a way to play music in the command line?
reed9 is offline  


Reply With Quote
Old 4 Weeks Ago   #12 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 59
No, i was trying to access the files in the directory called Music. The files in question are not sound files but sheet music files.
branoo is offline   Reply With Quote
Old 4 Weeks Ago   #13 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
Do you know what file format these are in? pdf?

Do
Code:
file <filename>
where <filename> is one of these sheet music files, to get info on the filetype.
reed9 is offline   Reply With Quote
Old 4 Weeks Ago   #14 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 59
Yes, all the sheet music files come in the pdf format
branoo is offline   Reply With Quote
Old 4 Weeks Ago   #15 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
You need to use a pdf viewer for pdf files.

Evince, Okular, epdfviewer, and acrobat reader/viewer are just a few that you can choose from.

More options here:

PDF | Linux App Finder

Maybe you already have one of them installed. If not, you can use the package tool for your distribution to install one or more of them as you see fit.
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 4 Weeks Ago   #16 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 59
Just typed in: file <filename> and got this output

PDF document version 1.4

Sorry to have been a nuisance but i would like to thank everyone for their help and advice
branoo is offline   Reply With Quote
Old 4 Weeks Ago   #17 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
Yeah, there's not really a convenient way to view pdf files in the console. It's possible, but not worth the effort unless you're running without a gui for some reason, and really need it.
reed9 is offline   Reply With Quote
Old 4 Weeks Ago   #18 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
You could try pdftohtml and maybe use a command line html viewer, but I'm not sure how well it will work for your needs:

PDFTOHTML conversion program
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:15 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2