How 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 ArticleLinux commands to check the Laptop battery's status via the terminalnixCraft...
{Updated} How do I find out details about my Linux Laptops temperature, battery status and other information from the command prompt? How can I check battery status using the terminal on Linux?The post...
View ArticleHow to set up ZFS ARC size on Ubuntu/Debian LinuxnixCraft
When working with Ubuntu, Debian Linux, and ZFS, you will run into ZFS cache size problems. You see, not all Ubuntu or Debian servers need aggressive file caching. Some servers act as a web server or...
View ArticleHow To Reuse SSH Connection To Speed Up Remote Login Process Using...
{Updated} How do I reuse ssh connection using multiplexing to speed up remote login procedure with OpenSSH client under Linux, macOS, *BSD and Unix-like operating systems?The post How To Reuse SSH...
View ArticleHow to see what packages updates available on Alpine LinuxnixCraft
On Debian or Ubuntu Linux, one can run 'apt list --upgradable' command to see and list available package updates. On RHEL, we can use 'dnf check-update' to list available updates on screen. However,...
View ArticleShell script to monitor MariaDB replication and send email alert about server...
Here is a simple shell script to notify secondary read-only replica (slave) MariaDB server health status failure via email and push notification. Master-slave data replication allows you to copy...
View ArticleWhat Does ‐‐ (double dash) Mean In SSH Shell Command?nixCraft Updated...
{Updated} This page explains the use of the double-dash ('‐‐') in Linux, macOS, and Unix shell commands. For example: lxc exec container ‐‐ sh -c 'apt update && apt -y upgrade'. First, let us...
View ArticleHow to find a path of a Linux command like a pronixCraft
One of the most common questions I get is how can I find a Linux command path that I just installed on Linux using a package manager such as apt/dnf command. We have many new developers coming from the...
View ArticleOpenSSH Change a Passphrase With ssh-keygen commandnixCraft Updated...
{Updated} How do I change OpenSSH passphrase for one of my private keys under Linux, OpenBSD, FreeBSD, Apple macOS/OS X or Unix-like operating systems?The post OpenSSH Change a Passphrase With...
View Article