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 create zoneusers
how to solve the system hung issue. found that the memory state is free... commands to check and solve the issue
What are the comman user problems?
How can threads be created in a solaris environment?
how can we know the time of creation of zone in solaris
How can a user increase the number of pseudo-ttys? what is their use?
How to see the route?
If system got crashed. How do u troubleshoot? What are starting steps?
what is the importance of swap memory and how it will supports?
Explain what is multi homed system?
Tell me how to mount the floppy & cd-rom?
How do you view shared memory statistics?