Re: querying a MIME database
- From: John-Paul Stewart <jpstewart@xxxxxxxxxxxxxxxx>
- Date: Wed, 12 Apr 2006 11:28:40 -0400
Please quote context when replying to newgroup postings. Not all readers will have access to older posts in a thread.
NUPUL wrote:
thanks for the commands....but is there anyway to find out which
application to use to launch that particular mime type file???
The previous poster pointed you to /etc/mailcap. The second field of each line (i.e., after the first ; and before the second ;) is the command to execute. See 'man 5 mailcap' for more info. A combination of 'file', 'grep' and 'awk' will give you the necessary command.
If you just want to run the command, rather than determine what that command is, read 'man 1 run-mailcap'.
.
- Follow-Ups:
- Re: querying a MIME database
- From: NUPUL
- Re: querying a MIME database
- References:
- querying a MIME database
- From: NUPUL
- Re: querying a MIME database
- From: Bill Marcum
- Re: querying a MIME database
- From: NUPUL
- querying a MIME database
- Prev by Date: Re: USB stick permissions
- Next by Date: Re: Easy or not easy
- Previous by thread: Re: querying a MIME database
- Next by thread: Re: querying a MIME database
- Index(es):
Relevant Pages
|