How to upgrade from Ubuntu 20.04 LTS to 22.04 LTSnixCraft
Ubuntu 22.04 LTS ("Jammy Jellyfish") will release next week. This tutorial explains how to safely upgrade from Ubuntu 20.04 LTS (Focal Fossa) to Ubuntu 22.04 LTS using the command-line and GUI...
View ArticleHow to install libdvdcss (libdvd-pkg) in Ubuntu / Debian Linux to play...
{Updated} Many folks still have older DVDs and trouble playing them on Debian/Ubuntu Linux, and it is still tricky in the age of streaming due to DRM. So I revised the older page from 2007 that...
View ArticleHow to install Go [golang] on Ubuntu LinuxnixCraft Updated Tutorials/Posts
{Updated} Go is a compiled, statically typed programming language developed by Google. Here is how to install Go lang on Ubuntu Linux server or workstation and write your first 'Hello world' app in...
View ArticleA cautionary tale about locking Linux & FreeBSD user accountsnixCraft
Like every other solo developer and sysadmin, I do stuff using ssh. Some stuff is automated using scripts, and others require ssh login. For example, one of my scripts logs into my Linux and FreeBSD...
View ArticleHow to make disk image with dd on Linux or UnixnixCraft Updated Tutorials/Posts
{Updated} How to make disk image with dd on a Linux or Unix for backup and restore purposesThe post How to make disk image with dd on Linux or Unix appeared first on nixCraft.
View ArticleUnderstanding the /etc/shells filenixCraft Updated Tutorials/Posts
{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...
View ArticleUbuntu 22.04 LTS Set Up OpenVPN Server In 5 MinutesnixCraft
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...
View ArticleHow to create temporary random file name in bash scriptingnixCraft Updated...
{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...
View ArticleHow to fix “bash: add-apt-repository: command not found” error on...
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 -...
View ArticleHow to install MySQL server on Ubuntu 22.04 LTS LinuxOpensource Flare✨
{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,...
View ArticleHow to check if Ansible collection is installed or notnixCraft
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...
View ArticleLinux and Unix host Command ExamplesnixCraft Updated Tutorials/Posts
{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...
View ArticleHow to change hostname on Amazon Linux 2 without rebootnixCraft
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...
View ArticleHow To Save A File In Vim / Vi Without Root Permission With sudonixCraft...
{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...
View ArticleHow to Set Up WireGuard VPN on Amazon Linux 2nixCraft
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...
View ArticleHow to upgrade Alpine Linux 3.15 to 3.16nixCraft Updated Tutorials/Posts
{Updated} Alpine Linux 3.16.0 has been released. Here is how to upgrade from version 3.15.xx to 3.16.0.The post How to upgrade Alpine Linux 3.15 to 3.16 appeared first on nixCraft.
View ArticleHow to backup & restore a list of installed FreeBSD packagesnixCraft
Today, I will share one helpful tip that allows FreeBSD developers and sysadmin to make a backup list of installed all FreeBSD packages and then restore it. Hence, this is useful for disaster recovery...
View ArticleHow To Test or Check Reverse DNS on a Linux / UnixnixCraft Updated...
{Updated} Want to do a reverse DNS (rDNS) Lookup in Linux, macOS, *BSD or Unix/WSL/Windows to find scammers/phishers/spammer using a forward confirm. Try these tips.The post How To Test or Check...
View ArticleHow to protect Linux against rogue USB devices using USBGuardnixCraft
usbgurdYou deployed a perfect firewall and other network security policies preventing unauthorized access to the user's desktop computer over a network. However, you still need to block USB device...
View ArticleHow To Put Multi-Line Comment in Shell ScriptnixCraft Updated Tutorials/Posts
{Updated} This page describes various methods developers and sysadmin can use to put a multi-Line comment in shell script (bash/ksh) running on a Unix or Linux box.The post How To Put Multi-Line...
View Article