How would you truncate a log file that is growing too large
if you don't have space to compress it or to move it
somewhere else? How would you do it?
Answers were Sorted based on User's Feedback
Answer / bipin bapurao sautadekar
more two commands to truncate the file.
# cat /dev/null > filename
# cat > filename and then press ctrl+c
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / syed
Why not you try by using below command
> <file name>
| Is This Answer Correct ? | 10 Yes | 2 No |
Explain shrinking the disk
How will you grow a disk space whitout disturbs
How will see the kernel version
wts differnce between svm&vxvm?
What is an alternative to the “top” command on Solaris?
If user is not loging in to server what is the problem?
How can you create mount points in solaris?
how to change boot disk
How to check the communication between 2 nodes?
How to find the VERITAS License?
How to change network interface property in Solaris?
What are the NFS daemon in server & client