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 |
what are bootloaders in solaris booting? bootblk, ufsboot
How to add gateway in solaris ?
environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?
Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?
Diffrence between Paging & swap?
How to change the default values ( home dir, shell, role, min, max, expire) get by user ?
If system got crashed. How do u troubleshoot? What are starting steps?
How to upgrade diskgroup? Vxdg upgrade
How can a user login to solaris? What is the login shell?
What are the raid levels in solaris?
How to discover Global zone name from local Zone?
How do you view shared memory statistics?