![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replacing character in file with null value | HLee1981 | Shell Programming and Scripting | 18 | 07-18-2006 10:33 AM |
| Find null fields in file | rahulrathod | Shell Programming and Scripting | 2 | 06-23-2006 01:17 AM |
| Null values after emptying a log file | kasie4life | Shell Programming and Scripting | 2 | 10-07-2004 06:36 AM |
| Creating a file / /dev/null | 435 Gavea | UNIX for Dummies Questions & Answers | 8 | 10-15-2003 02:27 PM |
| mv /dev/null file | raj8 | UNIX for Dummies Questions & Answers | 3 | 07-17-2003 01:36 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
/dev/NULL can't open this file ??
when i write the following two statements :
cp /dev/NULL /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp cat /dev/NULL > /clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp its gives me errors like : cp: /dev/NULL: A file or directory in the path name does not exist. cat : /dev/NULL can't open the file. I am using AIX 5.0, Tell me if you have any answers or clue to solve this. Is there any other way to make a file clear or make its size of 0 bytes? ASAP. Thanks. |
| Forum Sponsor | ||
|
|
|
|||
|
ANother Q
Means if we have path of a file in a variable then we can use like this..
to clear the file / make the empty file. FILEPATH=/clocal/mqbrkrs/user/mqsiadm/sanjay/dspmq_temp > "$FILEPATH" Thanks buddy !! |
|||
| Google The UNIX and Linux Forums |