How to create null files in solaris ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / murali thangavel
# touch <filename> ----> new empty file will create
# cat /dev/null> <filename> ---> existing file will empty
# > <filename> ---> existing file will empty
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / kitchimca
#using touch cmd
Ex:touch <filename>
#using cat cmd
Ex:cat /dev/null > <filename>
| Is This Answer Correct ? | 6 Yes | 3 No |
How to check nfs version configured?
Discuss the two modes of the vi editor in solaris.
How do you update OBP firmware?
What do you understand by mail aliases?
What type of job tickets do u handle?
3 Answers Infotech, Satyam, Wipro,
What is difference between swap -l & swap -s?
What are nfs daemons?
Explain what is multi homed system?
How to create diskgroup in veritas?
how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.
What can be a reason for the solaris system slowing down? How can it be rectified?
How can a user login to another system on his network remotely?