Linux Deleting Firewall Rules
I would like to to delete my iptables based firewall rules under Linux. How do I delete rules individually or all at once under CentOS or Fedora Linux or RHEL based servers?
View ArticleHowTo Debian/Ubuntu Linux Auto Mount Windows NTFS File System [ntfs-3g]
I'm dual booting MS-Windows with a Debian / Ubuntu Linux desktop. How can I auto mount a drive containing a MS-Windows NTFS file system on a Linux based systems?
View ArticleHow to shutdown FreeBSD laptop when running out of battery powernixCraft
After my Raspberry PI died, I decided not to get a new one immediately. Instead, I turned the older laptop into a FreeBSD server. I use this server for Git, backup via ZFS snapshots, running...
View Articlezcommands: Read gzip Compressed Text Files On a Fly on Linux and UnixnixCraft...
{Updated} Linux and Unix like operating systems comes with z* commands. These commands allow you to read gzip compressed text files using zless, zcat, zmore, and friends commands. The gzip command...
View ArticleHow to remove grep command while grepping using ps commandnixCraft Updated...
{Updated} We all use ps | grep foo combo to find and narrow down a running process on Linux and Unix-like systems. However, this results in an annoying problem where the grep command also appears in...
View ArticleRHEL 8.4 released and here is how to upgrade 8.3 to 8.4nixCraft
Red Hat Enterprise Linux (RHEL) 8.4 released. This version includes updates and various improvements for developers, hybrid cloud, edge deployments and more.Love this? sudo share_on: Twitter - Facebook...
View ArticleHow to set up ZFS ARC size on FreeBSDnixCraft
When working with FreeBSD and ZFS, you will run into ZFS cache size problems. Not all FreeBSD servers are file servers. Some servers act as backup servers. Others might run Linux and Windows VM where...
View ArticleHow to flush Redis cache and delete everything using the CLInixCraft Updated...
{Updated} This page explains various methods to delete Redis server key-values (keys) and clear Redis cache from your Linux and Unix server, including AWS ElastiCache for Redis.The post How to flush...
View ArticleHow to find out video card GPU memory RAM size on LinuxnixCraft Updated...
{Updated} I am trying to find out my NVDIA display card memory size on Fedora Linux. How do I find out my VIDEO Card (VGA) Memory size on Linux?The post How to find out video card GPU memory RAM size...
View ArticleShell script too see Time-To-Live (TTL) for a DNS recordnixCraft
Say you want to see the Time-To-Live (TTL) value for a given DNS record for A, AAAA, and MX. Here is a sample shell script that works on Linux, Unix, and macOS. You must have the bash and dig command...
View ArticleHow to repeat a character ‘n’ times in BashnixCraft
Let us say you want to repeat a character such as '-' OR '=' multiple times while writing bash script. Please note that I needed a quick script to work on Linux, macOS, and FreeBSD server to repeat a...
View ArticleHow to install LAMP on Debian 10 (Buster)nixCraft Updated Tutorials/Posts
{Updated} The LAMP is an acronym for software stack that includes Linux, Apache web server, MariaDB database (MySQL drop in replacement), and PHP web scripting language. This page shows you how to...
View ArticleHow to audit SSH server and client config on Linux/UnixnixCraft Updated...
{Updated} All developers and Unix users know how to use an ssh client. OpenSSH is a widely used implementation of Secure Shell (SSH) Internet communication protocol. Back in the old days, Unix folks...
View ArticleHow to install Redis server on Ubuntu LinuxnixCraft
How do I install the Redis server on the Ubuntu Linux version 18.04/20.04 LTS server to speed up database caching in memory?Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp -...
View ArticleHow To: Linux Find Large Files in a DirectorynixCraft Updated Tutorials/Posts
{Updated} There is no single command that can be used to list all large files. But, with the help of find command command and shell pipes, you can easily list all large files. This page explains how to...
View ArticleLinux help command examples and syntaxnixCraft Updated Tutorials/Posts
{Updated} You can use the help command to display help about built-in Bash commands. A shell builtin is nothing but a command or a function, called from a shell, that is executed directly in the shell...
View ArticleHow to convert man page to HTML on Linux and UnixnixCraft
We can easily convert all Linux man pages to HTML, text, or pdf format. To display online manual documentation pages in terminal on Linux, macOS, *BSD, and Unix-like systems, we use the man command....
View ArticleHow To Run Commands When You Log Out Using ~/.bash_logoutnixCraft Updated...
{Updated} When you exit a login Bash session/shell, you can run commands on macOS/Linux/Unix. Useful to remove bash/mysql history or run backup job so that files are backed up as soon as you exit a...
View ArticleCut command in Linux with examplesnixCraft Updated Tutorials/Posts
{Updated} The Unix or Linux cut command is an extremely useful tool for filtering information. Here is a brief overview for new Linux, macOS, *BSD and Unix users.The post Cut command in Linux with...
View ArticleHow to copy and transfer files remotely on Linux using scp and rsyncnixCraft
In Linux, how do I copy and transfer files remotely between two Linux machines? What command do I need to use to transfer files between Unix/macOS and Linux computers securely?Love this? sudo share_on:...
View Article