How to install OpenSSH server on Debian Linux 9/10/11

To install OpenSSH server on Debian Linux 9 (Stretch), 10 (Buster), or 11 (Bullseye), you can follow these steps: Update the package list by running the following command: sudo apt-get update Install the OpenSSH server package: sudo apt-get install openssh-server Check that the SSH service is running: sudo systemctl status ssh If the service is … Read more

Debian Linux Install Truetype Fonts For Xorg

To install TrueType fonts in Debian Linux for use with Xorg, you can follow these steps: Install the necessary package: sudo apt-get install ttf-mscorefonts-installer Copy the TrueType fonts you want to install to the font directory /usr/share/fonts/truetype/. Update the font cache by running the following command: sudo fc-cache -fv Restart the X server by logging … Read more

HowTo: Ubuntu Linux Kernel Version Command

You can check the version of the Linux kernel that’s currently running on your Ubuntu system using the following command: uname -r The uname command provides information about the system and its environment, and the -r option specifically requests the release information, which is the version of the Linux kernel. You can also use the … Read more

Linux and Unix host Command Examples

Here are some common examples of the host command in Linux and Unix: To perform a simple DNS lookup for a hostname, you can run the following command: host example.com To perform a reverse DNS lookup for an IP address, you can run the following command: host 8.8.8.8 You can also specify the DNS server … Read more

Linux and Unix dig Command Examples

The dig command in Linux and Unix is used to query the Domain Name System (DNS) to retrieve information about hostnames, IP addresses, and other DNS-related information. The dig command can be used to perform various types of DNS lookups, such as checking the A (address) record for a hostname, the MX (mail exchange) record … Read more

Linux ip Command Examples

The ip command is a versatile tool for managing and querying network interfaces and IP addresses on a Linux system. Here are some common examples of using the ip command: Display information about all network interfaces: $ ip addr show Display information about a specific network interface: $ ip addr show eth0 Replace eth0 with … Read more

Restart Iptables Firewall On A CentOS Linux Server

You can restart the Iptables firewall on a CentOS Linux server by executing the following steps: Stop the Iptables firewall service: $ sudo service iptables stop Flush all current Iptables rules: $ sudo iptables -F Start the Iptables firewall service: $ sudo service iptables start Alternatively, you can restart the Iptables firewall service by executing … Read more