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 add a script, that execute at start time

3 Answers  


what is mount ? in that what will happen exactly ?

1 Answers  


Which file maintain the kernel

2 Answers  


After creating user account successfully it shows 64 blocks.what for these 64 blocks are used and what information is stored in this blocks?

5 Answers  


How to create NULL files of specific size in solaris ?

9 Answers   IBM,






what is the difference between /var/adm/ and /var/sadm directory contains in solaris?

1 Answers   TCS,


How will you find out enough memory?

2 Answers  


How to find the VERITAS License?

7 Answers  


Procedure for Firmware upgrade

1 Answers  


To check the status of the media inseted on the tape drive

1 Answers  


How do you check the run level

2 Answers  


Default path for patches

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)