Mac & Linux: Associated file utils

Miscellaneous Forums/General Discussion/Mac & Linux: Associated file utils

Mac and Linux users,

1) From the following list of file types, which ones can Mac and Linux handle by default?
2) What are the default tools for viewing/handling?
3) What's the file extension for Mac/Linux executables?
file type                        Windows viewer/editor
-------------------------------  ---------------------
txt , ini , log                  NotePad
bmp , jpg , png , gif            Picture & Fax veiwer
htm , html                       iExplore
wav , mp3, wma, avi , mpg , wmv  Windows Media Player
zip                              (integrated)
rar                              Needs WinRar installing
ram                              Needs Realplayer installing
mov                              Needs Quicktime installing
Ta very much.

1) From the following list of file types, which ones can Mac and Linux handle by default?
2) What are the default tools for viewing/handling?


on Linux, it's distribution dependant.

What's the file extension for Mac/Linux executables?


There isn't one, they are set as executable in their permissions.

On my Linux:
file type                        Windows viewer/editor
-------------------------------  ---------------------
txt , ini , log                  nano
bmp , jpg , png , gif            Not applicable
htm , html                       lynx
wav , mp3, wma, avi , mpg , wmv  Not applicable
zip                              unzip (needs installing)
rar                              unrar (needs installing)
ram                              Not applicable
mov                              Not applicable
tar                              tar
gz                               gzip / gunzip


Thanks so far guys.

*edit - Max code removed. oops!

FlameDuck,

What happens if you double-click on an image or audio file?
Do you get a viewer/editor open up?

I'm guessing he's using a commandline interface to linux (i.e. no xwindow system).

Either that or he really doesn't like looking at pictures or watching movies. (lynx is a text-only browser).

incidentally, you can check linux file permissions (and thus if a file is executable) using FileMode.

I'm guessing he's using a commandline interface to linux (i.e. no xwindow system).
Good guess.

If you wanted to mimic the 'double-clicking' of a file (such as a bitmap, sound, text doc) what program would you call under Linux/Mac?

Under Windows I can do this:
explorer mypicture.bmp


Do you mean from terminal? On mac you can go:

open mypicture.bmp

Under Windows I can do this:

explorer mypicture.bmp



You can also do: start mypicture.bmp

If you're starting an executable that way, you can also specify its priority class, and whether to minimize/maximize the application in question.