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

What is an alternative to the “top” command on Solaris?

3 Answers  


How to add a group

4 Answers  


Which file maintain the kernel

2 Answers  


Security point of view,What's there in NIS+ than NIS?

3 Answers   Locuz,


How will you ad new aliases name

1 Answers  






How to delete a service group

4 Answers  


Which service assign port no dynamically

1 Answers  


Explain /etc/system file

1 Answers  


how to hide file

6 Answers  


How can u find a file which is logged in last week?

0 Answers  


How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user

4 Answers   Tech Mahindra,


How to know actual capacity of Ethernet port by command line? (Sun Fire V480 and some one configured Eth interface as 100mbps and need to change to 1000mbps but How i would know that port is of capacity 1000mbps or not?

7 Answers   Softenger,


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)