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 |
Veritas logging file?
Solaris run levels?
what is coredump & crashdump.what's the difference between these two.
2 Answers Abasca Resources, Ashtech, Cognizant, HP,
what are the daemons running In NIS? how to do u create NIS users and update Maps?
How do you remove a swap space?
How to bring New LUN under veritas , create f/s on it ?
If / (root) file system is full,How to increase root file system under Solaris volume manager (SVM)?
How can a user increase the number of pseudo-ttys? what is their use?
How to solve the system hang issue.
What kind of issues you get?
Benefits of SMF compared LRC(legacy run control)?
0 Answers Satyam, TEKsystems, Wipro,
different between UDP and TCP