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 |
If you have forgotten the root password for a server, how do you get back in?
Defalut value for umask
If the /var file system is full then what you will do.
What is the protocol supported by NFS
Syntax for useradd commad
How we configure the veritas cluster server for solaris? what r the proceure we have to take configuration
How can you search for commands at the boot prompt if you only know part of the command?
If /etc/system file is corrupted how will you recover it , if we dont have a CDROM then what is the procedure?
2 Answers IBM, ITC Infotech, Tech Mahindra,
What are the daemons in nis server.
After creating user account successfully it shows 64 blocks.what for these 64 blocks are used and what information is stored in this blocks?
what is the difference between solaris 8&9,
How to rename the old root disk. In this example, rootdisk is being renamed as rootold.