If you wish to provide provide protection to some folder (/var/www/html/test) in Apache then follow the steps below. ■ Create Folder and Password File .htpasswd in /var/www/html/test # mkdir -p /var/www/html/test # htpasswd /var/www/html/test/.htpasswd user1 ■ Now create .htaccess file Read More …
Month: March 2022
nice and renice Command In Linux
nice command is used to modify scheduling priority of some running command or application. If we give a process a higher priority, then Kernel will allocate more CPU time to that process. There are two terms which one should pay Read More …
Delta RPM Feature In Linux
This package is used to save bandwidth and speed up download patches and rpm packages from the Internet. With Delta RPM, If package is available then only updates will be downloaded. New packages are downloaded completed. You can install this Read More …
Process Accounting In Linux 7
The latest Linux Kernel comes with very good feature of process accounting. Using this feature you can keep watch on the processes in Linux. Process accounting is the method of recording and summarizing commands executed on Linux. The modern Linux Read More …
Kernel Ring Buffer Messages – dmesg
The dmesg command is used to read all messages from kernel ring buffer. This information is very important to examine issues related to hardware or changes in hardware during runtime. You can get information as below. # dmesg To clear Read More …
List Block Devices In Linux
Below are the commands which list block devices in Linux. (Block Device – May be hard drive, Pen Drive etc.) [root@station5 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 68M 0 rom /mnt xvda 202:0 0 Read More …
Linux – Howto Increase swap Space In Runtime?
You can increase swap space in runtime as below. Below example shows howto add 1 GB swap space in existing swap space. Steps : 1. First check existing swap space. # free -mt 2. Create new zero filled file as Read More …