ulimit -a gives the following output:
$ulimit -a
time(seconds) unlimited
file(blocks) 2097152
data(kbytes) 131072
stack(kbytes) 16384
memory(kbytes) unlimited
coredump(blocks) 32768
nofiles(descriptors) 400
vmemory(kbytes) 147456
Abot output means my system has maximum filesize limit as 1 GB, I want to make it 2GB, I think i'll make it double and then it would be
file(blocks) 4194304
But when I logout and login again, system shows the old limit ie file(blocks) 2097152, how to make this change for all users and permanent and please also confirm that filesize 4194304 blocks means 2GB or do I need some other figure.
Thanks in advance.