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 |
How to check the patch level in solaris
how to set ip address for a solaris machine
how many clients have in our server ? how we find that?
where we find bp.conf file? which path?
May I know the difference between the RAID and Volume Manager?
How will you restart the inetd process?
how many run level in solaris?
tell me the steps to configure the vg
how to find out the how many disks attached in the server?
How will see the version of the patches
solaris network daemon
Explain about init phases