Linux Copy One Hard Disk to Another Using dd CommandnixCraft
How can I copy one hard disk to another using the dd, ddrescue, or dcfldd commands?Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe post Linux Copy One Hard Disk to...
View ArticleLinux / UNIX: DNS Lookup CommandnixCraft
How do I perform DNS lookup under Linux, UNIX, or Apple macOS (OS X) operating systems without using 3rd party websites for troubleshooting DNS usage?Love this? sudo share_on: Twitter - Facebook -...
View ArticleLinux turn OFF password expiration / agingnixCraft
The /etc/shadow file stores the actual password in encrypted format using a hash (salted) function for the user's account with additional properties related to the user passwords, such as password...
View ArticleLinux / UNIX View Only Configuration File Directives ( Uncommented Lines of a...
Most Linux and UNIX-like system configuration files are documented using comments, but sometimes I just need to see a line of configuration text in a config file. How can I view just the uncommented...
View ArticleHow do I unzip multiple / many files under Linux?nixCraft
I have lots of files in a directory called /disk2/images/. All files are in zip file format, so I am using the following command to extract zip files: unzip *.zip The command result into an error...
View Articlezcommands: Read gzip Compressed Text Files On a Fly on Linux and UnixnixCraft
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 reduces the...
View ArticleHow to install kvm-ok on Debian or Ubuntu LinuxnixCraft
The KVM-ok command command will tell you if your Debian or Ubuntu Linux-powered server can host hardware-accelerated KVM virtual machines. KVM (Kernel-based Virtual Machine) is a free and open-source...
View ArticleHow to find hard disk (SSD) serial numbers in LinuxnixCraft
You need to use the smartctl command to display the hard disk (SSD) serial numbers in Linux. This is useful when changing your hard disk if it goes bad. Love this? sudo share_on: Twitter - Facebook -...
View ArticleHow to install vnstat on Debian 12/11 to monitor network interface bandwidth...
Do you need to keep track of the network traffic (bandwidth) usage for the Network interface controller (NIC) of your Debian Linux-based cloud or bare metal server? Look no forward. Try the vnStat, a...
View ArticleHow to enable mouse to copy & paste in vimnixCraft
Some Linux distro like Debian or specific BSD variants provide very little configuration support for mouse out of the box for Vim. Let us see how to paste in Vim using a mouse by enabling support,...
View ArticleMySQL Change root Password CommandnixCraft
How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like like operating system over the ssh session?Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - RedditThe...
View ArticleHow to run Docker inside Incus containersnixCraft
Incus and Docker both use Linux kernel features to containerize your applications. Incus is best suited when you need system-level containers that act like traditional VMs and provide a persistent...
View Article