08-24-2015
Do you have all 4096 files open at the same time?
There are possibilities, but as disedorgue mentioned, some code would clear things up.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does Solaris impose limits on :
- the maximum number of files a directory can have,
- total file size in a directory
If there is such limits, how can I can check for each?
Thanks...:confused: (1 Reply)
Discussion started by: deaniyoer
1 Replies
2. UNIX for Dummies Questions & Answers
what is the maximum number ls can list down (6 Replies)
Discussion started by: karnan
6 Replies
3. Linux
Dear friends,
How many maximum number of files and directories can be created in linux system.
Thanks.. (2 Replies)
Discussion started by: karthigayan
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies
5. Shell Programming and Scripting
Hi All,
I have this command coded in C Shell to get the top ten sub directories in the order of number of files they contain.
find $parent_dir -type d -exec filecount {} \; | sort -nr | head -10
But it does not seem to show any output. Can someone please help me out in correcting this... (5 Replies)
Discussion started by: adurga
5 Replies
6. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
7. Shell Programming and Scripting
Hi all,
I have more than 12000 files in 46 different directories and each directory has 2 sub-directories named “dat” or “gridded”. Dat sub-directories have files with extension “jpg.dat” and gridded sub-directories have files with extension “.jpg”.
I need to... (1 Reply)
Discussion started by: AshwaniSharma09
1 Replies
8. Shell Programming and Scripting
Hi ,
I'm using Ksh 88
I've the following files in a directory with YearMonthDate (Ex:20130601)
YDT:FILE1:20130601
YDT:FILE1:20130615
YDT:FILE2:20130601
YDT:FILE2:20130615
YDT:FILE3:20130601
YDT:FILE3:20130615
And i need the files having maximum timestamp , Means i need to display ... (8 Replies)
Discussion started by: smile689
8 Replies
9. Shell Programming and Scripting
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Discussion started by: wyclef
5 Replies
fcntl(5) File Formats Manual fcntl(5)
NAME
fcntl - file control options
SYNOPSIS
DESCRIPTION
The function provides for control over open files. The include file describes requests and arguments to and See fcntl(2) and open(2).
The access modes set by and accessed by are:
The mask for file access modes is:
The file status flags set by
or and accessed by are:
Nonblocking I/O.
POSIX-style nonblocking I/O.
Append (writes guaranteed at the end).
Write through cache for data.
Write through cache for data and attributes.
Write through cache for data on reads and writes.
Write through cache for data and attributes on reads and writes.
When the filesystem is mounted as large files enabled, the
option allows the file to grow over 2 GB.
The flag is a synonym for and is defined for backward compatibility in
The flag values accessible only to are:
Open with file create (uses third open arg).
Open with truncation.
Exclusive open.
Do not assign a controlling terminal.
Do not traverse a symbolic link if it is the last component in the path.
The requests for are:
Duplicate file descriptor.
Get file descriptor flags.
Set file descriptor flags.
Get file flags.
Set file flags.
Get blocking file lock.
Set or clear file locks and fail on busy.
Set or clear file locks and wait on busy.
Fadvise service request (see
fadvise(2)).
The file descriptor flag for is:
The file segment locking control structure
includes the following members:
The file segment locking types are:
SEE ALSO
fcntl(2), fadvise(2), open(2).
STANDARDS CONFORMANCE
fcntl(5)