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 to change rsc ip in sun V490?

4 Answers   Wipro,


How do you find the number of Network card attached to your server ?

4 Answers  


If a User Account is locked,which file you need to check and how do you get to know at what time it has been locked.

4 Answers   CTS,


command to display default boot device

7 Answers  


In Solaris, how to check the number of Users currently logged in ?

8 Answers   CTS,


If you have multiple ethernet interfaces, how do you keep it from routing between them?

2 Answers  


In veritas: which is the file to keep the information of subdisks, disk groups name, plex and volumes?

1 Answers   Wipro,


How to change network interface property in Solaris?

2 Answers   HCL,


what is use of default users in solaris especilly nobady,noacess and nobady4

2 Answers  


What is Sun Explorer ?

5 Answers   CTS,


Where the veritas disk information store.

2 Answers  


How will you take ufsdump and ufsrestore in a sing command line?

2 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)