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 are the daemons in VERITAS?
May I know the difference between the RAID and Volume Manager?
How to check the no of the processor available
How to Freeze svcgroup, (disable onl. & offl.)
As a user how he can change is passwd with root privilege.
I have single NIC card and we have two ports can we configure as IPMP?
How to configure the virtual ip address
how to recover a server/system backup?
How can you boot the system in single user mode? other than #boot CDROM/net -s
How to lock the user id in solaris?
How will see the kernel version
What is Sun Explorer ?