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 |
DIfferent between swap -l & swap -s
Explain the difference between svm and vxvm?
format command is not working. It is showing all disks, but not going to further step. How to resolve that?
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed
Discuss the two modes of the vi editor in solaris.
How can the user in solaris check the status of processes?
How can a user login to solaris?
In solaris RAID half of replicas fails Suppose out of 6 replica 4 got failed -> what will be the impact if system will not come up & if system will not come up how to fix this issue.
How to check version of NFS?
major diffences b/w solars 9 & 10?
What are the comman user problems?
Hardware and software revision information ? showrev