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 the basic requirement for cluster.
How to lock the user id in solaris?
what are the two conditions need to be taken before encapsulating the disk under the VxVm control(Veritas volume manager)
How to enable the telnet or ftp session for one host
How will see the kernel version
As a user how he can change is passwd with root privilege.
how do u configure the disk
How to rename the old root disk. In this example, rootdisk is being renamed as rootold.
How many ufsdump level
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.
How to start llt and gab
how to now the network speed, whether it is a full duplex or half duplex? and what is full duplex and half duplex