file

Overview

Displays informataion about a file.

Usage Guide

The file utility is used with a filename as its' argument. The example below uses file to trace the startup file for firefox.
root@devbunyip:/home/john# file /usr/bin/firefox
/usr/bin/firefox: symbolic link to `firefox-3.0'
root@devbunyip:/home/john# file /usr/bin/firefox-3.0
/usr/bin/firefox-3.0: symbolic link to `../lib/firefox-3.0.4/firefox.sh'
root@devbunyip:/home/john# file /usr/lib/firefox-3.0.4/firefox.sh
/usr/lib/firefox-3.0.4/firefox.sh: POSIX shell script text executable

Below are some of the parameters the file command takes:
-i Display mime settings for the file.
-v Display the version of the program.
-z Attempt to look at compressed files.
-L Follow symbolic links

Tool Data

Operating Platform:Linux
Diagnostic Target:OS - Files and File Systems
Tool Executable:file
Obtain From:Included in all distributions

Results for Tools search

You entered the search string "".
No results were returned for this string.

Copyright © 1997 - 2016 Mission Pacific Pty Ltd. All rights reserved. ezcom, the ez logo and hard tech cafe are registered trademarks of Mission Pacific Pty Ltd. Designed for firefox and safari. Sitemap