- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- finding file types
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 08:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 08:40 AM
06-16-2009 08:40 AM
Re: finding file types
What are you looking to do or find?
Perhaps you want:
# file <>
...which gives you a 'magic' interpretation of what a file's contents appear to be.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 08:45 AM
06-16-2009 08:45 AM
Re: finding file types
...of course, if you mean 'type' as in 'find()' then see the manpages for 'find' under the '-type' option.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 09:50 AM
06-16-2009 09:50 AM
Re: finding file types
once u type file filetype then it will tell
which type.
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 11:54 AM
06-16-2009 11:54 AM
Re: finding file types
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 12:01 PM
06-16-2009 12:01 PM
Re: finding file types
you can well refer to man pages of command find, on your system.
#man find
see details of the option
-type -- for finding type of files
-fstype -- for fstype you want to find
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 12:04 PM
06-16-2009 12:04 PM
Re: finding file types
you can tell for a filesystem as HFS or VXFS using the fstyp -v command
#bdf
get the device file as in the first column of the O/p.
then for exapmle
#fstyp -v /dev/vg00/lvol1
this shall show if that is HFS or VXFS.
#bdf and #mount also shall show if a FileSystem is mounted as an NFS FileSystem from some NFS server.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2009 10:31 PM
06-16-2009 10:31 PM
SolutionRun the below command and it will show you the information regarding the filesystem(HFS or Vxfs).
#fstyp -v /dev/vg00/lvol3
vxfs
version: 5
f_bsize: 8192
f_frsize: 8192
f_blocks: 65536
f_bfree: 16088
f_bavail: 16088
f_files: 10272
f_ffree: 1087904584
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2009 04:59 AM
06-17-2009 04:59 AM
Re: finding file types
>how to find the file types
# file file name ( it will give the type like ascii, text etc...)
>i want to know the file system is whether NFS or HFS or vxfs,
#fstyp -v lv name or
#df -g /mount point ( it will give the fs type, block size ....if f_flag: 16 or 0x10 flags which mean it support large file more than 2 Gb)
Regards,
Subodh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2009 05:11 AM
06-17-2009 05:11 AM
Re: finding file types
>i want to know the file system is whether NFS or HFS or vxfs,
#fstyp -v lv name
or you can also see in /etc/fstab
more /etc/fstab
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2009 06:09 AM
06-17-2009 06:09 AM
Re: finding file types
Best regards
Fredrik Eriksson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2009 07:31 AM
06-17-2009 07:31 AM
Re: finding file types
#ls -F
see man ls for option -F