nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

How to find serial number of Lenovo laptop from Linux

Posted: 07 Oct 2019 10:49 PM PDT


I need to list serial number of Lenovo laptop to check warranty. How do I find a serial number of Lenovo laptop from Linux command line without rebooting and opening BIOS option? How do I find find serial number of Lenovo ThinkPad laptop from the Linux CLI?

The post How to find serial number of Lenovo laptop from Linux appeared first on nixCraft.

Ubuntu Linux Remove / Delete PPAs apt-get command

Posted: 06 Oct 2019 08:04 PM PDT


Over time I have added way too many PPAs using the add-apt-repository command on Ubuntu Linux 16.04/18.04 LTS server for testing purpose. How can I delete or remove those PPAs? Is there a command to list all PPAs?

The post Ubuntu Linux Remove / Delete PPAs apt-get command appeared first on nixCraft.

How to open ssh port using ufw on Ubuntu/Debian Linux

Posted: 06 Oct 2019 08:01 PM PDT


How do I allow incoming SSH connections from a specific IP address or subnet on a Ubuntu or Debian Linux server using ufw? How do I open ssh port using ufw on Ubuntu or Debian server?

The post How to open ssh port using ufw on Ubuntu/Debian Linux appeared first on nixCraft.

Change netplan renderer from networkd to NetworkManager

Posted: 06 Oct 2019 07:58 PM PDT

I prefer to use NetworkManager on my Ubuntu desktop, but currently, it is using networkd. As a result, I cannot set up or configure NetworkManager using GUI tools. Is there anyway to change netplan renderer from networkd to NetworkManager running on Ubuntu Linux? How can I change netplan renderer in Ubuntu Linux?

The post Change netplan renderer from networkd to NetworkManager appeared first on nixCraft.

How to compile and install Linux Kernel 5.2.19 from source code

Posted: 06 Oct 2019 11:10 AM PDT


Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things and then type a couple of commands. This step by step howto covers compiling Linux kernel version 5.2.19 under an Ubuntu or Debian Linux. The following instructions successfully tested on an RHEL 7/CentOS 7 (and clones), Debian Linux, Ubuntu Linux and Fedora Linux 28/29. However, instructions remain the same for any other Linux distribution.

The post How to compile and install Linux Kernel 5.2.19 from source code appeared first on nixCraft.

Configure Ubuntu Pi-hole for Cloudflare DNS over HTTPS

Posted: 06 Oct 2019 10:57 AM PDT


I installed OpenVPN VPN solutions on Ubuntu for my businesses to secure all data communications. I also set up Pin-hole ad blocker on Ubuntu server along with OpenVPN. How do I force Pi-hole to use Cloudflare DNS over HTTPS (DoH) to increase my privacy and security by preventing eavesdropping and manipulation of DNS data by man-in-the-middle attacks?

The post Configure Ubuntu Pi-hole for Cloudflare DNS over HTTPS appeared first on nixCraft.

How to check Ansible version on Linux/Unix and install the latest version for IT automation

Posted: 06 Oct 2019 10:52 AM PDT


How do I check Ansible version (IT automation tool) on my Linux or Unix-like server using the command prompt?

The post How to check Ansible version on Linux/Unix and install the latest version for IT automation appeared first on nixCraft.

Linux Find Out Last System Reboot Time and Date Command

Posted: 06 Oct 2019 10:01 AM PDT


So, how do you find out your Linux or UNIX-like system was last rebooted? How do you display the system shutdown date and time?

The post Linux Find Out Last System Reboot Time and Date Command appeared first on nixCraft.