0% found this document useful (0 votes)
5 views

3

Uploaded by

dpe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

3

Uploaded by

dpe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

nixCraft → Howto

MySQL Change root Password Command

How do I change MySQL root password under Linux, FreeBSD, OpenBSD and UNIX-like
like operating system over the ssh session?
[continue reading…]

How to enable mouse to copy & paste in


vim

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, which is useful for new developers and sysadmin coming from Windows
background.
[continue reading…]

How to install vnstat on Debian 12/11 to


monitor network interface bandwidth usage

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 free and open-source console-based network traffic monitor that keeps a log
of 5-minute intervals, hourly, daily, monthly, and yearly network traffic for the selected
interface. Once installed, vnStat can be used even without root permissions on most systems.
[continue reading…]

How to find hard disk (SSD) serial numbers


in Linux
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.
[continue reading…]

How to install kvm-ok on Debian or Ubuntu


Linux

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 virtualization technology that is used with every Linux
kernel. In other words, KVM will make your Linux computer into a hypervisor, allowing you
to run multiple isolated virtual machines (VMs) on a single physical machine. However,
KVM depends upon CPU hardware virtualization extensions like Intel VT-x or AMD-V to
provide high-performance virtual machines. This support must be enabled in the BIOS. Apart
from that, some cloud service providers also allow nested virtualization that will help you to
run VMs inside your instances. However, this may not be enabled in BIOS or instance
configuration. Thus, you need to install the kvm-ok command to determine whether such
support exists.
[continue reading…]

How do I unzip multiple / many files under


Linux?

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 which read as follows:
caution: filename not matched
How do I unzip multiple or many zip files under a Linux/Unix-like system?
[continue reading…]
Linux / UNIX View Only Configuration File
Directives ( Uncommented Lines of a Config
File )

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 configuration file directives from squid.conf or httpd.conf file? How can I
strip out comments and blank lines on a Linux or Unix-like system?
[continue reading…]
Older FAQs

🔥 FEATURED ARTICLES

 1

30 Cool Open Source Software I Discovered in 2013

 2

30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X

 3

Top 32 Nmap Command Examples For Linux Sys/Network Admins

 4

25 PHP Security Best Practices For Linux Sys Admins

 5

30 Linux System Monitoring Tools Every SysAdmin Should Know

 6

40 Linux Server Hardening Security Tips

 7

Linux: 25 Iptables Netfilter Firewall Examples For New SysAdmins


 8

Top 20 OpenSSH Server Best Security Practices

 9

Top 25 Nginx Web Server Best Security Practices

 10

My 10 UNIX Command Line Mistakes

👀 /etc

 ➔

Linux shell scripting tutorial

 ➔

RSS/Feed

 ➔

About nixCraft

©2002-2024 nixCraft • Privacy • ToS • Contact/Email • Corporate patron Cloudflare

You might also like