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 will you check the process for particular user
To find the OBP environment variable
what is the diff between ufslog and vxfslog?
How to configure domain controller in SAMBA using SOLARIS 10 OS and How to centralize domain name and creating users.How to share files for WINDOWS XP clients
What is difference between g G while creating useradd?
how to view how many samba user in solaris
How to enable and disable the dtlogin
What are processing daemon in nis
How to create a new volume
IS THERE ANY WAY TO TAKE GOST BACKUP
Have you done the patching, the patching is done by you only or some one will assign to you?
How to start llt and gab