How to create NULL files of specific size in solaris ?

Answers were Sorted based on User's Feedback



How to create NULL files of specific size in solaris ?..

Answer / lawrance

/dev/null > filename

Is This Answer Correct ?    13 Yes 4 No

How to create NULL files of specific size in solaris ?..

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

How to create NULL files of specific size in solaris ?..

Answer / vvvv

touch <filetname> 'to create null file'

Is This Answer Correct ?    3 Yes 2 No

How to create NULL files of specific size in solaris ?..

Answer / jai

dd if=/dev/null of=file1 bs= count=bs*1024mb

Is This Answer Correct ?    1 Yes 1 No

How to create NULL files of specific size in solaris ?..

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

How to create NULL files of specific size in solaris ?..

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

How to create NULL files of specific size in solaris ?..

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 create NULL files of specific size in solaris ?..

Answer / venkataravi

/div/null >/filename

Is This Answer Correct ?    4 Yes 8 No

How to create NULL files of specific size in solaris ?..

Answer / bhaskar.solaris

????????????????

Is This Answer Correct ?    4 Yes 11 No

Post New Answer

More Solaris Commands Interview Questions

How many file to modify the host name to be changed without rebooting the system.

2 Answers  


What is environmental? How to add environmental variables in run level 3 & how to edit?

1 Answers   Wipro,


How to check the patch level in solaris

4 Answers   IBM,


How ill you remove the subdisk and plexus

4 Answers  


How to boot the solaris system in 64 0r 32 bit kernel

3 Answers  






How to stop the process in Solaris?

9 Answers   GAS, Wipro,


If a main.cf files corrupted how will you rectify

3 Answers  


What are the daemons in nis server.

2 Answers  


What r the daemons for DNS , Veritas, Apache,NFS Server & Client 4How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever 5 what is the use of NIS how can u configure 6 what is the use RAID and which is the best(Solaris) 7 in RAID 5 and RAID 0+1 which u will preffer (Veritas)

3 Answers   HCL, IBM, Tech Mahindra,


In a E6800 server,how can you loginto domain shell and system Console?

1 Answers   EDS,


how to add an user without using "useradd" command in solaris10?

4 Answers   HCL, HP,


What is different between crontab and at command?

1 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)