How to create null files in solaris ?

Answer Posted / kumarsaneesh

To make a null file use touch command
eg.

$ touch file_name

use the following to make an existing file empty.

$ :> file_name

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a user login to solaris? What is the login shell?

727


Explain how to kill a process.

756


Explain the difference between svm and vxvm?

708


What do you understand by irq assignments?

772


Benefits of SMF compared LRC(legacy run control)?

2759


What causes the rpc.ttdbserverd process to be cpu bound?

725


How to login to a remote host with solaris secure shell?

714


How can a user increase the number of pseudo-ttys?

766


Tell me how many types of file system?

848


How to view shared memory statistics?

728


How can a user increase the number of pseudo-ttys? what is their use?

737


Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

792


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

737


Explain the difference between swap -l & swap -s?

761


What do you understand by mail aliases?

726