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 |
If telnet not working, what are the thing to be checked
How to configure root mirroring in veritas volume manager
Syntex to execute a ufsdump
If plex is failed then how can you recover it?
How will you find the number of hard disk
If you have got a LUN, How to configure it, how to allocate LUN in linux/ solaris. What are the steps ?
If you have multiple ethernet interfaces, how do you keep it from routing between them?
As a user how he can change is passwd with root privilege.
How to remove the root mirror
Difference between LDOM and Domain?
What are the daemons in nis server.
How to create swap file