At this point, you already have the file which is causing the problem and you want to nullify it so just do as; #cat <logfile.Name> | gzip -v9 > (logfile).(date-time) # cat lastlog | gzip -v9 > lastlog.300721-0648 #cat /dev/null > lastlog or # cp /var/adm/syslog/syslog.log /var/adm/syslog/syslog.log.bak # gzip /var/adm/syslog/syslog.log.bak # cp /dev/null /var/adm/syslog/syslog.log #cat …
Month: July 2021
How to find the biggest files in filesystem – Linux, UNIX, HP-UX
Disk space issues are the most common problems raise in the day-to-day life of Linux system admin. So in this article, you can find out the commands to find out the largest files in your file system which are causing problems for the filesystem. Find for Large Files under Specific Mountpoint find /var -xdev -type …
Linux Interview Questions From Real Interviewer
Before we start a technical side, I think the first step to winning an interview is to go through with few things that will help you succeed. Analyzing The Position It would be best if you began with a systematic review of the job description. Your objective is to collect as much information as possible …
What is Web Host Manager (WHM) & what can you do with it
If you are a website owner or reseller you may have heard of WHM but may not be familiar with its features and how to use it effectively. This post provides an in-depth explanation of WHM’s primary functions and features. What is WHM? The WebHost Manager (WHM) interface has been specially built for hosting providers …
How to reset PTR/rDNS records in cPanel WHM (Web Host Manager)
If issue arises in email delivery about wrong PTR/rDNS record than click the following option in Exim configuration manager. Rebuild Reverse DNS Cache and Update Mail HELO This setting updates the reverse DNS cache and user domains for mail HELO. This setting only appears when you enable the Use the reverse DNS entry for the …