Search Results

Search: Posts Made By: Emilywu
2,420
Posted By Emilywu
Thanks for all your answers. They worked fine. ...
Thanks for all your answers. They worked fine.
Chubler XL, Yes, -k is ok for me. do you mean that we can't compare the file size using stat and the freespace suggested by DC since the block size...
2,657
Posted By Emilywu
It's basically a file called db.txt: dbname:...
It's basically a file called db.txt:
dbname: database1
dbusername: samplename1
dbpwd: pwd1
The actual file is more complicated than this, so if someone else input database2, samplename2 and pwd2...
2,657
Posted By Emilywu
How to replace specific contents in a file?
From the existing file, I need to replace specific contents possibly with var every time when the user changes the var.
e.g the contents in the file file.txt is 'My name is $n and I am $y years...
2,420
Posted By Emilywu
File size and dir size
How to use 'df' only to get the 'Available' space for a specific dir, and then compare with a specific file size using stat -c %s file.txt to see if the file actually can be copied into the dir. Is...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy