How to create NULL files of specific size in solaris ?
Answers were Sorted based on User's Feedback
Answer / prabakaren
mkfile -size Filename
Eg: mkfile -10m file1
The above command will create a file names file1 which size
is 10 mb.
| Is This Answer Correct ? | 8 Yes | 4 No |
Answer / raj
#touch file1
the touch command creates 0byte fiel which means null file
in the above cmd the file1 is a file with a size of 0byte
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kannan
/dev/null > filename
Note -Here, filename is which one we need to make as empty.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
mkfile -nv 10m sun. sun is a null file created with
10m of size
| Is This Answer Correct ? | 5 Yes | 6 No |
What is Sun Explorer ?
In VERITAS How to recover the mirror disk with data. How to bring the existing data disk into VERITAS volume manger control.
what is differnce between boot -s and boot -S ?
what is the diff between ufslog and vxfslog?
attributes of FS
What is the purpose of ha daemons in VCS servers?
How to find the plex, sub disk, Volume group, disk status, free spaces, disk controller, Volume controller?
What is the basic requirement for cluster.
What is mean by paging & server average time.
whenever you are creating a new user (while creating user every time) file /etc/passwd file inode number will be changed why????
How to remove the volume
how many default groups are there in solaris10?what are they?