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 review IP as weel as port no in solaris?
how to add an user without using "useradd" command in solaris10?
When user logging in which file will take place
solaris network daemon
How to configure the virtual ip address
Explain about Vxrecover?
What is the command to identify master node on vcs
If you have forgotten the root password for a server, how do you get back in?
how to find bad disk in VERITAS VOLUME MANAGER
Which file maintain the kernel
What are the Patch Management Issues you have faced and how did you resolve them?
How to find the demo?