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 |
How to delete only 3rd and 8th line from file using vi execute or last line mode with one short of command
What is the command to identify master node on vcs
How do you find the number of Network card attached to your server ?
How to stop one node cluster exclusively
how to hide file
If you have multiple ethernet interfaces, how do you keep it from routing between them?
Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.
What is the function of truss in solaris?
Tell me the port for Telnet, ftp,nis,ssh,nfs
Where the ip address will be stored
1)How to identify VXVM version? 2)What the path of scconf in cluster?
How will compare 2 host patches