How to create null files in solaris ?

Answer Posted / kitchimca

#using touch cmd
Ex:touch <filename>

#using cat cmd
Ex:cat /dev/null > <filename>

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What can be a reason for the solaris system slowing down?

544


How can the user in solaris check the status of processes?

542


Benefits of SMF compared LRC(legacy run control)?

2577


How can the output be redirected to some other action process in place showing it in the screen?

574


How can threads be created in a solaris environment? Write an example

588






Explain the difference between pid and ppid with example.

645


Explain how to kill a process.

587


How can a user boot in solaris as root if the password is non functional?

557


Explain the run levels that are used in solaris10?

541


What are the raid levels in solaris?

572


What causes the rpc.ttdbserverd process to be cpu bound? How can it be rectified?

537


How do you remove a swap space?

552


How can a user access a dos-format disk in solaris?

558


Explain the vmstat output?

553


Explain custom jumpstart procedure?

2500