Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UNIX Filename length restrictions? Post 23769 by Kelam_Magnus on Friday 28th of June 2002 03:14:16 PM
Old 06-28-2002
256 or so...

On average, I would say that it is 256 chars.

You can have as many . - and other allowed special chars as you want. I doubt that you will need that long of a filename. Thank God for filename completion!!!! In HPUX... and others.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

is LS a fixed length? I want to use cut -c#-# to isolate filename.

-rw-r--r-- 1 fxpbftp fusion 368 Jun 10 08:34 FX_1.11840235236594E12.111234236809956 If I have a long list of files that look like this (they al begni with FX_1.#######.####) Sometimes, there may be less numbers or more in the filename, that varies. I wish to isolate just the... (8 Replies)
Discussion started by: yongho
8 Replies

2. UNIX for Dummies Questions & Answers

Length of a Unix filepath max length

Hi Guys, Could anyone shed some light on the length of a Unix filepath max length pls ? thanks ! Wilson (3 Replies)
Discussion started by: wilsontan
3 Replies

3. Shell Programming and Scripting

Join two fixed length Files in Unix

Hi, Can we join two fixed length files in Unix using JOIN command? Is there any other command to accomplish the same? Thanks, G.Harikrishnan (6 Replies)
Discussion started by: gharikrishnan
6 Replies

4. Shell Programming and Scripting

User restrictions

Hi, I am setting up a new Suse server and I'm very happy with it :). So far Apache2, SVN, PHP5 and MySQL are up and running. Now I want to create and delete users (for coders for our projects) but they aren't allowed to do anything so there must be some restrictions. I want access restriction so... (0 Replies)
Discussion started by: kever
0 Replies

5. UNIX for Dummies Questions & Answers

User restrictions

Hi, I am setting up a new Suse server and I'm very happy with it . So far Apache2, SVN, PHP5 and MySQL are up and running. Now I want to create and delete users (for coders for our projects) but they aren't allowed to do anything so there must be some restrictions. I want access restriction so... (1 Reply)
Discussion started by: kever
1 Replies

6. Red Hat

Account restrictions

Lets say for example I want to restrict a users access, for example if they FTP in I want to lock them down to a certain directory. What is the best way of doing this? I'm planning to implement LDAP accounts, so I'd need this to be done automatically. Just not sure how I would go about this task. (3 Replies)
Discussion started by: Printf
3 Replies

7. Solaris

While copying files from windows to Solaris5.8 with filezilla length of the filename changed

Hello I am copying a tar from windows7 to Solaris with filezilla i could see, some characters in the name of the file get deleted. I could see only substring of the filename eg: original filename :abcdefghijklmnopqrstu.h i can see like abcdefghijklm solution to this problem is highly... (2 Replies)
Discussion started by: Revathi R
2 Replies
ACCT(2) 						     Linux Programmer's Manual							   ACCT(2)

NAME
acct - switch process accounting on or off SYNOPSIS
#include <unistd.h> int acct(const char *filename); DESCRIPTION
When called with the name of an existing file as argument, accounting is turned on, records for each terminating process are appended to filename as it terminates. An argument of NULL causes accounting to be turned off. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EACCES Write permission is denied for the specified file. EACCES The argument filename is not a regular file. EFAULT filename points outside your accessible address space. EIO Error writing to the file filename. EISDIR filename is a directory. ELOOP Too many symbolic links were encountered in resolving filename. ENAMETOOLONG filename was too long. ENOENT The specified filename does not exist. ENOMEM Out of memory. ENOSYS BSD process accounting has not been enabled when the operating system kernel was compiled. The kernel configuration parameter con- trolling this feature is CONFIG_BSD_PROCESS_ACCT. ENOTDIR A component used as a directory in filename is not in fact a directory. EPERM The calling process has no permission to enable process accounting. EROFS filename refers to a file on a read-only file system. EUSERS There are no more free file structures or we ran out of memory. CONFORMING TO
SVr4 (but not POSIX). SVr4 documents an EBUSY error condition, but no EISDIR or ENOSYS. Also AIX and HPUX document EBUSY (attempt is made to enable accounting when it is already enabled), as does Solaris (attempt is made to enable accounting using the same file that is cur- rently being used). NOTES
No accounting is produced for programs running when a crash occurs. In particular, nonterminating processes are never accounted for. Linux 2.1.126 1998-11-04 ACCT(2)
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy