LNX tutorial

nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T22:29:28Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-20T22:24:06Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T21:55:58Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-16T23:30:41Z
Patreon members-only guides from nixCraft
Opensource Flare✨
2023-01-19T05:03:34Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2023-01-04T07:41:29Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-20T21:55:58Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-12-20T07:12:52Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2023-01-17T21:41:07Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2022-09-17T09:52:17Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2022-09-11T10:32:29Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2022-09-11T10:32:29Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-12-05T20:18:47Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-11-15T17:43:05Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2022-06-09T16:33:36Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-10-21T18:31:09Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-10-08T05:18:50Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-09-19T05:15:24Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-09-13T06:59:49Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-09-10T14:48:05Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-08-25T09:27:14Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-08-23T09:36:00Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-08-11T00:12:12Z
Linux Tips, Hacks, Tutorials, And Ideas In Blog
nixCraft
2023-01-19T05:00:31Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-08-03T10:41:11Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-08-01T06:16:53Z
Linux / Unix tutorials for new and seasoned sysadmin || developers
nixCraft
2022-07-22T13:15:44Z
nixCraft Linux and Unix Sysadmin Blog - Recently updated posts
nixCraft Updated Tutorials/Posts
2022-05-24T20:47:18Z
Обновлено: 13 часов 33 минуты назад
Linux iotop Check What is Stressing and Increasing Load On Hard Disks
{Updated} The iotop is a Linux command. It is a top-like utility for disk input and output (I/O). Use this command to see I/O usage information output by the Linux kernel. It displays a table of current I/O usage by Linux processes or threads on the Linux system. This post explains how to install and use the iotop command to discover what is stressing (or program names) on your hard drives under Linux operating systems.The post Linux iotop Check What is Stressing and Increasing Load On Hard Disks appeared first on nixCraft.
2023-01-20T22:29:00Z
2023-01-20T22:29:00Z
Vivek Gite
Категории: FOSS News
How to hide Nginx version on Linux and Unix
{Updated} This quick guide explains how to hide or remove the Nginx version on Linux or Unix server without restarting the system.The post How to hide Nginx version on Linux and Unix appeared first on nixCraft.
2023-01-20T22:27:00Z
2023-01-20T22:27:00Z
Vivek Gite
Категории: FOSS News
macOS configuring SSH Key-based Authentication
In this quick tutorial, you will configure a user to use key-based authentication for SSH under a macOS desktop.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post macOS configuring SSH Key-based Authentication appeared first on nixCraft.
2023-01-20T21:54:58Z
2023-01-20T21:54:58Z
Vivek Gite
Категории: FOSS News
How to configure automated security updates on Debian automatically
{Updated} Keeping your system up-to-date is essential from a security POV, yet many devs or sysadmins forget about it. This page explains the purpose of unattended-upgrades used on a Debian Linux 11/10 to keep the computer current with the latest security updates.The post How to configure automated security updates on Debian automatically appeared first on nixCraft.
2023-01-17T21:44:00Z
2023-01-17T21:44:00Z
Vivek Gite
Категории: FOSS News
How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
Patreon users download the PDF version.
All Linux and Unix servers are managed manually or by automation tools such as Ansible using ssh. For example, say you have a server at Linode or AWS. Then you copy your public ssh key to a remote cloud server. Once copied, you can now login to those servers without a password as long as ssh keys are matched. It is the best practice. Unfortunately, you are not protecting ssh keys stored on a local desktop or dev machine at $HOME/.ssh/ directory. If your keys are stolen, an attacker can get access to all of your cloud servers, including backup servers. To avoid this mess, we can protect our ssh keys stored on local dev/desktop machines using physical security keys such as YubiKey.
In both cases, you need to insert your YubiKey (or any FIDO2 compatible hardware key) into a USB port and complete the authentication. In other words, ssh login will not work when malware or attacker has stolen your passphrase and ssh keys as they can not insert YubiKey and press the button on it to complete OTP for ssh keys.
In the corporate environment, we have a bastion host that allows ssh access with Yubikey. It is a special-purpose server on a network specifically designed and configured to withstand attacks. The server generally hosts an sshd process, and all other services are removed. Once logged into bastion host, you can access all other cloud servers easily.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2) appeared first on nixCraft.
2023-01-17T21:08:37Z
2023-01-17T21:08:37Z
Vivek Gite
Категории: FOSS News
BASH Shell: For Loop File Names With Spaces
{Updated} In this tip, I will explain how we can iterate over a list of files with blank or white spaces in their names. This is a common problem in bash, where space is usually interpreted as a delimiter when using with for loop.The post BASH Shell: For Loop File Names With Spaces appeared first on nixCraft.
2022-09-19T18:06:00Z
2022-09-19T18:06:00Z
Vivek Gite
Категории: FOSS News
How to see Raspberry Pi OS version on Raspberry PI
Do you want to know which version of Raspberry Pi OS is running on your hardware? Here is how to find the Raspberry Pi OS version including hardware details such as CPU, RAM and model using the command-line option.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to see Raspberry Pi OS version on Raspberry PI appeared first on nixCraft.
2022-09-17T09:49:29Z
2022-09-17T09:49:29Z
Vivek Gite
Категории: FOSS News
How to upgrade Alpine Linux 3.15 to 3.16
{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.
2022-05-24T20:46:00Z
2022-05-24T20:46:00Z
Vivek Gite
Категории: FOSS News
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 WireGuard VPN on Amazon Linux EC2 or Lightsail server.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to Set Up WireGuard VPN on Amazon Linux 2 appeared first on nixCraft.
2022-05-24T17:48:52Z
2022-05-24T17:48:52Z
Vivek Gite
Категории: FOSS News
How to install git command on Alpine Linux
Git is a distributed version control system. To install git, type apk add git command on Alpine Linux.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to install git command on Alpine Linux appeared first on nixCraft.
2023-01-04T07:40:07Z
2023-01-04T07:40:07Z
Vivek Gite
Категории: FOSS News
pydf - Linux tool to see colourised filesystem disk space usage
{Updated} The pydf command displays the amount of used and available space on your file systems, just like df command, but in colors. The output format is completely customizable.The post pydf - Linux tool to see colourised filesystem disk space usage appeared first on nixCraft.
2022-09-13T11:57:00Z
2022-09-13T11:57:00Z
Vivek Gite
Категории: FOSS News
Why are the results of UNIX, BSD and Linux command 'df' and 'du' different sometimes?
{Updated} As a Unix sysadmin, sometimes I notice that df and du output are different from each other. So what to do when df and du report different usage? My older troubleshooting blog post from the 2000s is still valid in 2022.The post Why are the results of UNIX, BSD and Linux command 'df' and 'du' different sometimes? appeared first on nixCraft.
2022-09-13T11:52:00Z
2022-09-13T11:52:00Z
Vivek Gite
Категории: FOSS News
How to upgrade OpenSUSE 15.3 to 15.4 using the CLI
Right now, the most advanced OpenSUSE version is 15.4. It is an opportunity for desktop and server users running the previous 15.3 release to update to the latest software stack. The procedure for upgrading OpenSUSE 15.3 to 15.4 is simple to follow. This tutorial will walk you through the process of upgrading OpenSUSE 15.3 to 15.4.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to upgrade OpenSUSE 15.3 to 15.4 using the CLI appeared first on nixCraft.
2022-09-13T06:52:16Z
2022-09-13T06:52:16Z
Vivek Gite
Категории: FOSS News
Apache 403 Forbidden Error and Solution
{Updated} All HTTP error codes starting with 4xx are generated because of client browser requests. A 403 error code means the client browser (or the person trying to access your site) cannot access the requested URL. Many reasons can cause it. Let us see how Linux, Unix developers, and sysadmin can fix Apache 403 Forbidden errors.The post Apache 403 Forbidden Error and Solution appeared first on nixCraft.
2022-09-11T10:21:00Z
2022-09-11T10:21:00Z
Vivek Gite
Категории: FOSS News
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.
2022-05-23T12:03:00Z
2022-05-23T12:03:00Z
Vivek Gite
Категории: FOSS News
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 first on nixCraft.
2022-05-23T11:48:57Z
2022-05-23T11:48:57Z
Vivek Gite
Категории: FOSS News
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 and networking issues.The post Linux and Unix host Command Examples appeared first on nixCraft.
2022-05-13T20:02:00Z
2022-05-13T20:02:00Z
Vivek Gite
Категории: FOSS News
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 workstations powered by Linux, Unix or macOS.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to check if Ansible collection is installed or not appeared first on nixCraft.
2022-05-13T19:27:08Z
2022-05-13T19:27:08Z
Vivek Gite
Категории: FOSS News
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. Let us see how to install MySQL server version 8.x on Ubuntu 22.04 LTS Linux server, including settings up a new database, users and fine tuning server config.The post How to install MySQL server on Ubuntu 22.04 LTS Linux appeared first on Opensource Flare✨.
2022-05-10T07:21:16Z
2022-05-10T07:21:16Z
Vivek Gite
Категории: FOSS News
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.
2022-05-06T12:05:54Z
2022-05-06T12:05:54Z
Vivek Gite
Категории: FOSS News