The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
what is the maximum length of th os-command line in Unix. kumardesai UNIX for Dummies Questions & Answers 2 11-28-2007 03:37 AM
What the command to find out the record length of a fixed length file? tranq01 UNIX for Dummies Questions & Answers 3 10-19-2007 11:16 AM
Maximum File Size matrixmadhan High Level Programming 5 05-19-2006 07:56 AM
Maximum Command Length miltony UNIX for Dummies Questions & Answers 2 11-19-2005 07:25 AM
Maximum Command Length for Korn shell miltony UNIX for Dummies Questions & Answers 2 11-15-2005 12:19 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-29-2002
Registered User
 

Join Date: Jan 2002
Posts: 10
Maximum file name length

Hi folks,

Can anybody tell me whether there is any limit on the file name length and directory name length in UNIX.
Forum Sponsor
  #2 (permalink)  
Old 01-29-2002
thehoghunter
Guest
 

Posts: n/a
Believe it to be 132 characters which is limited by how much the buffer can except versus how long a filename can be.
  #3 (permalink)  
Old 01-29-2002
thehoghunter
Guest
 

Posts: n/a
Found a correct answer:
Within a ufs filesystem the maximum length of a filename is 255
characters.

Within a system V filesystem the maximum length of a filename is 14
characters
  #4 (permalink)  
Old 01-30-2002
Registered User
 

Join Date: Jan 2002
Posts: 10
Thanks thehoghunter,


One more query about this, how to find out which file system you are using. Is there any command in UNIX to find it out.
  #5 (permalink)  
Old 01-30-2002
thehoghunter
Guest
 

Posts: n/a
df -n on a Solaris or HPUX system will work.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0