Latest articles

How to Set Up WireGuard VPN on Amazon Linux 2

WireGuard is an open-source, free, modern, and fast VPN with state-of-the-art cryptography. It is like OpenSSH in simplicity and uses private and public keys. Hence, it is more straightforward as compared to IPSec and OpenVPN. Initially released for the Linux kernel, it works with other operating systems. This page explains how to install and set up...

How To Save A File In Vim / Vi Without Root Permission With sudo

{Updated} Forgot to edit Linux or Unix/macOS file as sudo user? Want to overwrite without quitting vim on Linux/Unix? Try vim cmd trick and save time.The post How To Save A File In Vim / Vi Without Root Permission With sudo appeared first on nixCraft.

How to change hostname on Amazon Linux 2 without reboot

Do you want to set or update the AWS EC2 or Lightsail hostname without a reboot when using Amazon Linux 2? Here is how to set or change the hostname on Amazon Linux 2 distribution using the ssh client. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to change hostname on Amazon Linux 2 without reboot appeared...

Linux and Unix host Command Examples

{Updated} The host command is an easy to use command-line utility for performing DNS lookups under Linux, macOS, BSD and Unix-like systems. We can use it to find or convert DNS names to IP addresses and vice versa. Let us see the host command examples on Linux and Unix-like systems with daily use cases for developers and sysadmins to troubleshoot DNS...

How to check if Ansible collection is installed or not

Sometimes I need a specific Ansible module from ansible-galaxy to carry out a particular type of automation. But I don't know if it is already installed or not or bundled with Ansible when I installed the latest version on Ubuntu Linux. So here is a quick command-line tip for finding out if the Ansible module is installed or not on your development...

How to install MySQL server on Ubuntu 22.04 LTS Linux

{nixCraft Patreon supporters content}MySQL version 8.0 is a free and open-source database system used by most web applications and sites on the Internet. Typically MySQL is part of the LAMP (Linux, Apache, MySQL, Perl/Python/PHP) stack. MySQL heavily uses popular open-source software such as WordPress, MediaWiki, and others as a database storage engine....

How to fix “bash: add-apt-repository: command not found” error on Ubuntu/Debian Linux

Let us see how to fix the "bash: add-apt-repository: command not found" error on an Ubuntu/Debian Linux system when you run the add-apt-repository command. Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post How to fix “bash: add-apt-repository: command not found” error on Ubuntu/Debian Linux appeared first on nixCraft.

How to create temporary random file name in bash scripting

{Updated} Sometimes you need to create a temporary file in your shell script. There are various methods exist to create a random temporary file name. If your application/shell scripting needs temporary unique, and random file names, it is helpful.The post How to create temporary random file name in bash scripting appeared first on nixCraft.

Ubuntu 22.04 LTS Set Up OpenVPN Server In 5 Minutes

I am a new Ubuntu Linux 22.04 LTS server user. How do I set up an OpenVPN Server on Ubuntu Linux version 22.04 server to shield my browsing activity from bad guys on public Wi-Fi, set protective parameter vpn for developers and more? Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post Ubuntu 22.04 LTS Set Up OpenVPN...

Understanding the /etc/shells file

{Updated} Did you know? Many Linux system services and login under Linux or Unix OS consult /etc/shells file. It contains a list of login shells on the system. Applications use this file to determine whether a shell is valid. Setting the wrong shell path will deny login.The post Understanding the /etc/shells file appeared first on nixCraft.

Discover, share and read the best on the web

Follow RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Follow RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!