File System What is TMPFS? 30 Mar 2023 TMPFS is a filesystem that exists only in memory. When you reboot the Server, the content of the TMPFS is gone. This is perfect for mounting the /tmp directory In…
BASH Using FIND to search better 19 Mar 202319 Mar 2023 Basic Use of FIND If you are looking to find a file, one of the commonest tools is used Find. Here is a recap. S/NoFile TypeDescription1type -fLimits search results to…
Network Setting up 2 Gateways with a Default Gateway for most Traffic and the 2nd Gateway for selected Subnet Traffic on Rocky Linux 8 18 Mar 202330 Mar 2023 Issues: Suppose you have 2 network cards and their own gateway. The challenge is that you can only have 1 default gateway. How do we work this out? Solution: Type…
SSH Using SSH Keys 9 Mar 2023 The SSH daemon validates SSH client access by Linux system verification via /etc/passwd, or by public/private key cryptography approach. By using the public/private cryptography approach, we can do a SSH…
Disk Usage How to check Disk Usage 6 Mar 2023 Checking whether the root partition has run out of inodes. Use the command. If it shows 100%, there are many small files. Perhaps, do look for some of these files…
Hard Drives Using SMART to predict the likelihood for disk failure 4 Mar 2023 Modern Hard Disk implements a System called SMART (Self-Monitoring, Analysis and Reporting) that uses the electronics on the drive to store diagnostic and perform various tests which will help in…
Memory Quick Understanding on swap 28 Feb 2023 Swap Space is virtual memory, using your HDD when you run out of memory. The system swaps some of the contents out of the RAM to the HDD (swap), then…
BASH Running process in the background 26 Feb 202326 Feb 2023 Solution 1: Nohup and ampersand $ myscript.sh & The ampersand "&" tells the shell to run the script in the background. You will get the prompt back. But as the…