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?

582


Explain the difference between svm and vxvm?

553


Explain the run levels that are used in solaris10?

545


Explain the difference between sc> and lom>?

547


Benefits of SMF compared LRC(legacy run control)?

2579






How do you copy files from remote system using ftp?

550


How to view shared memory statistics?

558


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

579


How can threads be created in a solaris environment?

571


What are the raid levels in solaris?

574


Discuss the two modes of the vi editor in solaris.

542


1.Have you used vxboot ? 2.Minimum requirement for mirror volume to created ?

1723


Explain the types of installations in solaris

586


how to add Kernel patch in all systems at a time?

2631


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

587