1833780 Members
2458 Online
110063 Solutions
New Discussion

File greater then 2Gb

 

File greater then 2Gb

Does tcsh support file size larger then 2gb? Because when I use ksh or sh I can create file larger the 2gb but if I use tcsh it fails with error code 0.

I have one file 3gb created in ksh. In tcsh if I run comamnd cat 3gbfile > newfile then it fails. error message cat: cann't write to output
-rw-rw-rw- 1 sachin staff 147483647 May 2 16:56 g.new

This failed excetly at same size.

When I use ksh "cat" command works fine.

Thanks
Sachin

4 REPLIES 4
Tony Vilardi
Advisor

Re: File greater then 2Gb

Check the following document:
/usr/share/doc/lg_files.txt
Section 5.2.5 (Shells)

You might also want to check the ulimit for tcsh.
It might be unlimited for the other shells and not for tcsh.
Tony Vilardi
Advisor

Re: File greater then 2Gb

Check the following document:
/usr/share/doc/lg_files.txt
Section 5.2.5 (Shells)

Also check ulimit once you go into tcsh.
Tony Vilardi
Advisor

Re: File greater then 2Gb

Check the following document:
/usr/share/doc/lg_files.txt
Section 5.2.5 (Shells)

Also check ulimit once you go into tcsh.
Tony Vilardi
Advisor

Re: File greater then 2Gb

Check the following document:
/usr/share/doc/lg_files.txt
Section 5.2.5 (Shells)

Also check ulimit once you go into tcsh.