In Linux file permissions are as follows. Files – 644Folders – 755 Sometimes files and folders found to be in full permissions. Please use the below commands to set it back to default permission For folders: find . -type d…
Ubuntu
How to clear qmail queue
First of all, check the current mail queue with the following command. [arunlal@lintechops~]# /var/qmail/bin/qmail-qstat messages in queue: 2458 messages in queue but not yet preprocessed: 18 2. In order to remove the mail queue. Stop the qmail service. [arunlal@lintechops~]# service…
How to check booting time in Linux
Sometimes we are experiencing slowness in boot time. Here in this article, we are going to discuss about the boot time and the time breakdown of the services. Run the following command to find the boot time of the system.…
How to check if a disk is an SSD or an HDD
Here, I am going to share one of the easiest method to find the type of your drive. arunlal@lintechops:~$ cat /sys/block/sda/queue/rotational 1 1 —–>> HDD0 ——>> SSD In case of me, it’s HDD. Try the same let me know drive…
How to change MPM in ubuntu
Run the following command to know the current MPM apache using. root@ip-172-31-93-7:/home/ubuntu# apachectl -V | grep -i mpm Server MPM: event The current MPM is apache using is an event module. Available MPM are listed over here. ls /etc/apache2/mods-available/mpm* /etc/apache2/mods-available/mpm_event.conf…