Lateo.net - Flux RSS en pagaille (pour en ajouter : @ moi)

🔒
❌ À propos de FreshRSS
Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
Hier — 27 octobre 2020nixCraft

How to improve your bash/sh shell script with ShellCheck lint script analysis tool

Par Vivek Gite

{Updated} ShellCheck is a static analysis tool for shell scripts. One can use it to finds bugs in your shell scripts. It is written in Haskell. You can find warnings and suggestions for bash/sh shell scripts with this tool. Let us see how to install and use ShellCheck on a Linux or Unix-like system to enhance your shell scripts, avoid errors and productivity.

The post How to improve your bash/sh shell script with ShellCheck lint script analysis tool appeared first on nixCraft.
  • 26 octobre 2020 à 20:55

How to install VirtualBox on Ubuntu 20.04 Linux LTS

Par Vivek Gite

How do I install VirtualBox application on Ubuntu 20.04 Linux LTS system?

The post How to install VirtualBox on Ubuntu 20.04 Linux LTS appeared first on nixCraft.

À partir d’avant-hiernixCraft

How to install MySQL server on Ubuntu 20.04 LTS Linux

Par Vivek Gite

How do I install MySQL server 8.0 on Ubuntu 20.04 LTS Linux server? How can I add a new MySQL user and database on the newly set up Ubuntu server?

The post How to install MySQL server on Ubuntu 20.04 LTS Linux appeared first on nixCraft.

How To check LXD container BTRFS disk usage on Linux

Par Vivek Gite
Here is a quick and dirty shell script I put to check LXD container size and how much space they are taking on the BTRFS subvolume. Naturally, you must run the script as a root user, and LXD must be configured with BTRFS storage backend on Linux operating systems. See how to set up and install LXD on Ubuntu 20.04 LTS using the apt command

How to check TLS/SSL certificate expiration date from command-line

Par Vivek Gite

How do I check the TLS/SSL certificate expiration date from my Linux or Unix shell prompt? How can I find the TLS certificate expiry date from Linux and Unix shell scripts?

The post How to check TLS/SSL certificate expiration date from command-line appeared first on nixCraft.

Linux / UNIX Desktop Fun: Terminal ASCII Aquarium

Par Vivek Gite

{Updated} You can now enjoy mysteries of the sea from the safety of your own terminal using ASCIIQuarium. It is an aquarium/sea animation in ASCII art created using perl.

The post Linux / UNIX Desktop Fun: Terminal ASCII Aquarium appeared first on nixCraft.
  • 21 octobre 2020 à 19:41

How to delete container with lxc (LXD) command on Linux

Par Vivek Gite

Want to delete LXD based container with lxc command on Linux? Try these simple tips. To delete LXD instances/container and snapshots, we use the lxc delete command. However, the container/instance must be stopped, and all snapshots must be removed before removing the Linux container with the lxc command.

The post How to delete container with lxc (LXD) command on Linux appeared first on nixCraft.

How to show dropped packets per interface on Linux

Par Vivek Gite

How do I display dropped packets per interface on Linux operating systems from the command line option? How can I determine why a Linux server is dropping packets?

The post How to show dropped packets per interface on Linux appeared first on nixCraft.

Linux set up bluetooth speaker to stream audio from your Android / iOS mobile phone

Par Vivek Gite

So how do you stream audio from your Apple iOS or Google Android phone to your laptop speaker? Let us see how to set up a Bluetooth speaker to stream audio from your Android / iOS mobile phone to your Linux based laptop or desktop that got better audio speakers.

The post Linux set up bluetooth speaker to stream audio from your Android / iOS mobile phone appeared first on nixCraft.

How to install dnscrypt proxy with adblocker on Linux

Par Vivek Gite

How do I install the dnscrypt proxy application with an adblocker/malware blocker on Linux operating system with WireGuard or OpenVPN?

The post How to install dnscrypt proxy with adblocker on Linux appeared first on nixCraft.

How To Install Speedtest-cli On a FreeBSD To Check Internet Speed

Par Vivek Gite

I am using the FreeBSD system. How do I install Speedtest-cli on a FreeBSD Unix system for checking the Internet speed?

The post How To Install Speedtest-cli On a FreeBSD To Check Internet Speed appeared first on nixCraft.

Alpine Linux set up WireGuard VPN server

Par Vivek Gite

How do I install and set up WireGuard VPN server on an Alpine Linux cloud server? How can I configure Alpine Linux as the WireGuard VPN server? How can I configure snat to route all VPN traffic on my Alpine Linux?

The post Alpine Linux set up WireGuard VPN server appeared first on nixCraft.

How to disable firewall and NAT rules on the LXD bridge

Par Vivek Gite

I followed your Ubuntu LXD tutorial, and I noticed LXD automatically created firewall and NAT rules. Is there any way to disable this feature? I want to manage a firewall using custom rule sets. How can I disable firewall and NAT rules on the LXD bridge under Linux?

The post How to disable firewall and NAT rules on the LXD bridge appeared first on nixCraft.

How To Set Up a Firewall with Awall on Alpine Linux

Par Vivek Gite

Alpine Wall (Awall) is an easy to use interace to iptables for Alpine Linux users. While iptables and ip6tables is an excellent command, it can be challenging for new Alpine Linux users. The awall tool has easy to follow high-level concepts such as zones, limits, policies, and a single source for both IPv4 and IPv6. This tutorial will show you how to set up a firewall with Awall on Alpine Linux.

The post How To Set Up a Firewall with Awall on Alpine Linux appeared first on nixCraft.

UNIX / Linux PGP TarBall File Signature Keys Verification

Par Vivek Gite

{Updated} For all FOSS based project, you should download the PGP signatures and MD5/SHA hashes and verify them before using them for security reasons. Learn how to verify the PGP key against downloaded software under Linux / UNIX / *BSD and macOS using the GNU Privacy Guard or any OpenPGP-compliant program.

The post UNIX / Linux PGP TarBall File Signature Keys Verification appeared first on nixCraft.
  • 30 septembre 2020 à 09:51

Quick tip: Display banner/message before OpenSSH authentication

Par Vivek Gite

Want to display a message or banner before OpenSSH (SSHD server) authentication? Try this simple tip to show the banner or ASCII logo on your Linux or Unix system.

The post Quick tip: Display banner/message before OpenSSH authentication appeared first on nixCraft.

Linux / UNIX kill unresponsive hung SSH session

Par Vivek Gite

{Updated} Sometimes my ssh session stops working because of the internet connection problem. I tried pressing CTRL-Z and CTRL-C to terminate my ssh session but failed to work. How do I properly kill a hung SSH session without killing my local terminal or using the kill command? How can I kill unresponsive hung SSH session on macOS?

The post Linux / UNIX kill unresponsive hung SSH session appeared first on nixCraft.
  • 23 septembre 2020 à 21:03

Alpine Linux Change Hostname (computer name)

Par Vivek Gite

I am a new Alpine Linux user. By default, my server name is set to 'localhost' during installation. Now, I would like to change the computer name. How do I change the Alpine Linux computer name? Can you tell me more about Alpine Linux change hostname command?

The post Alpine Linux Change Hostname (computer name) appeared first on nixCraft.

How to enable firewalld logging for denied packets on Linux

Par Vivek Gite

{Updated} How do I enable FirewallD logging for denied packets on Linux operating systems so that I can view all dropped packets information? How can I view a log of the traffic blocked by FirewallD under a CentOS/RHEL (Red Hat Enterprise Linux)/Suse/OpenSUSE Linux?

The post How to enable firewalld logging for denied packets on Linux appeared first on nixCraft.
  • 17 septembre 2020 à 10:36

How to find and delete directory recursively on Linux or Unix-like system

Par Vivek Gite

{Updated} I type 'find . -type d -iname foo -delete command to find all foo directories and delete them. However, I am getting an error message that read as, find: cannot delete './hourly.4/data/foo': Directory not empty on my Linux server. How do I delete directories based on find command output on Linux or Unix-like system?

The post How to find and delete directory recursively on Linux or Unix-like system appeared first on nixCraft.
  • 16 septembre 2020 à 21:23

tmpmail – A temporary email right from Linux / Unix terminal

Par Vivek Gite

temp email
Are you looking to send a temporary email right from your Linux or Unix terminal? Look no further. Try tmpmail command-line utility that allows you to generate a temporary email address for receiving emails. Underneath the script uses 1secmail's API to receive the emails.

The post tmpmail – A temporary email right from Linux / Unix terminal appeared first on nixCraft.

How to Install Java on Ubuntu 20.04 LTS Linux

Par Vivek Gite

Can you explain how to install Java on Ubuntu 20.04 LTS Linux system?

The post How to Install Java on Ubuntu 20.04 LTS Linux appeared first on nixCraft.

How To Protect SSH With Fail2Ban on CentOS 8

Par Vivek Gite

{Updated} My ssh log file shows too many password failures. Random IP address trying to brute force my sshd server running on CentOS 8 server. How do I protect ssh with fail2ban on CentOS 8 Linux server? How do I install Fail2Ban on CentOS 8?

The post How To Protect SSH With Fail2Ban on CentOS 8 appeared first on nixCraft.
  • 11 septembre 2020 à 18:10

How to create a Linux swap file

Par Vivek Gite

I am a new Linux system developer and user. How do I create a Linux swap file from the command line option for my cloud server? How can I add swap space on my Ubuntu 20.04 LTS or CentOS Linux 7/8 server?

The post How to create a Linux swap file appeared first on nixCraft.

How do I know if my Linux is 32 bit or 64 bit?

Par Vivek Gite

{Updated} I need to find out if my Linux server is running on 32-bit or 64-bit system. How do I know if my Linux is 32 bit or 64 bit?

The post How do I know if my Linux is 32 bit or 64 bit? appeared first on nixCraft.
  • 9 septembre 2020 à 21:58

How to check if CentOS / RHEL needs a full reboot

Par Vivek Gite

I am using a CentOS/RHEL 6/7/8 server. How do I check from the command line if a reboot is required for my CentOS host? How do I check if a host powered by CentOS Enterprise Linux needs to reboot after running the yum update command?

The post How to check if CentOS / RHEL needs a full reboot appeared first on nixCraft.

How to install kotlin programming language on Ubuntu/Debian Linux

Par Vivek Gite

{Updated} How do I install the latest version of kotlin programming language on Ubuntu or Debian Linux system?

The post How to install kotlin programming language on Ubuntu/Debian Linux appeared first on nixCraft.
  • 8 septembre 2020 à 21:01

How to use ssh-agent for authentication on Linux / Unix

Par Vivek Gite

How do I use the ssh-agent command for non-interactive authentication on Linux and Unix-like systems such as macOS or FreeBSD desktop? My private key is protected with a passphrase or password. So I need have to enter the passphrase to use the ssh private key for authentication multiple times. How can I tell ssh ask the passphrase one time only?

The post How to use ssh-agent for authentication on Linux / Unix appeared first on nixCraft.

Top 15 XKCD comics for Linux and Unix fans

Par Vivek Gite

Linux is a free and open-source kernel developed by Linus Torvalds, a Unix-like operating system clone. XKCD comic has a long tradition for including humorous geeky cartoons. In this post, I pick my favorite XKCD comics for Linux and Unix fans.

The post Top 15 XKCD comics for Linux and Unix fans appeared first on nixCraft.

FreeBSD configure AWS SES with Postfix MTA

Par Vivek Gite

How do I integrate and configure Amazon/AWS SES with Postfix running on my FreeBSD Unix server?

The post FreeBSD configure AWS SES with Postfix MTA appeared first on nixCraft.

Linux Dell Server / Desktop / Laptop Find Out Service Tag Command

Par Vivek Gite

{Updated} I need to find out the service tag of my Dell server or computer. How do I find out my unique five- to seven-digit alphanumeric (letter and number) service tag code without looking at the back of the system or opening the door of bezel? Is there is Linux command to get the Dell service tag from the Terminal?

The post Linux Dell Server / Desktop / Laptop Find Out Service Tag Command appeared first on nixCraft.
  • 30 août 2020 à 11:22

Linux / UNIX List Open Files for Process

Par Vivek Gite

{Updated} How do I list all open files for a Linux or UNIX process using command line options? How can I show open files per process under Linux?

The post Linux / UNIX List Open Files for Process appeared first on nixCraft.
  • 27 août 2020 à 11:35

How to view status of a service on Linux using systemctl

Par Vivek Gite

How do I use the systemctl command to view status of a systemd service on Linux operating systems?

The post How to view status of a service on Linux using systemctl appeared first on nixCraft.

How to install and setup PostgreSQL on RHEL 8

Par Vivek Gite

{Updated} How do I install PostgreSQL relational database management on RHEL 8 using the command line? How do I install and setup PostgreSQL on RHEL 8 (Red Hat Enterprise Linux) server using application streams?

The post How to install and setup PostgreSQL on RHEL 8 appeared first on nixCraft.
  • 26 août 2020 à 09:35

Linux and Unix Test Sequential Disk I/O Performance With dd Command

Par Vivek Gite

{Updated} You can use the following commands on a Linux or Unix-like systems for simple sequential I/O performance test

The post Linux and Unix Test Sequential Disk I/O Performance With dd Command appeared first on nixCraft.
  • 26 août 2020 à 09:30

BASH Prepend A Text / Lines To a File under Linux, macOS and Unix

Par Vivek Gite

{Updated} I am a new Unix system user with a bash as a default shell. I can append text to a file using >> operator but how do I prepend a text to a file? I want the opposite operation of >> operator. How can I prepend some data to a text file? How do we add text to the beginning of a file in Bash under Linux?

The post BASH Prepend A Text / Lines To a File under Linux, macOS and Unix appeared first on nixCraft.
  • 24 août 2020 à 16:25

How to save iptables firewall rules permanently on Linux

Par Vivek Gite

How to save iptables firewall rules permanently on Linux
I am using Debian / Ubuntu Linux server. How do I save iptables rules permanently on Linux using the CLI added using the iptables command? How can I store iptables IPv4 and IPv6 rules permanently on the Debian Linux cloud server?

The post How to save iptables firewall rules permanently on Linux appeared first on nixCraft.

How to find ip address of Linux KVM guest virtual machine

Par Vivek Gite

{Updated} How do I find out an IP address of Linux KVM guest from Linux host itself? I wanted to ssh into KVM guest VM. How can I find the IP address of a KVM Virtual Machine Guest on a CentOS Linux 7.x/8.x server?

The post How to find ip address of Linux KVM guest virtual machine appeared first on nixCraft.
  • 24 août 2020 à 10:33

How to install less on CentOS / RHEL / Fedora

Par Vivek Gite

One of my PHP and bash scripts depends upon less command to display the help system to other users. But, whenever they run less on a particular version of CentOS or RHEL cloud server, they get an error that reads as: "bash: less: command not found." How do I install less utility on CentOS or RHEL (Red Hat Enterprise Linux)/Fedora Linux server? How can I configure Linux containers such as Docker or Podman to install less automatically?

The post How to install less on CentOS / RHEL / Fedora appeared first on nixCraft.

How to write the output into the file in Linux

Par Vivek Gite

How do I write the output into the file in Linux bash shell? Can you explain I/O redirection for both bash and POSIX shell to write data to the file under Unix or Linux?

The post How to write the output into the file in Linux appeared first on nixCraft.

SSH Into Google Cloud Compute Engine Instance Using Secure Shell Client

Par Vivek Gite

{Updated} I need to set and test my web-app using Google cloud compute engine. How do I connect to an Instance Using ssh from my Ubuntu Linux or Apple OS X/macOS desktop?

The post SSH Into Google Cloud Compute Engine Instance Using Secure Shell Client appeared first on nixCraft.
  • 22 août 2020 à 11:53

How to backup and restore LUKS header on Linux

Par Vivek Gite

LUKS backup and restore on Linux
Previously I explained how to encrypt Linux partitions or disk with the LUKS (Linux Unified Key Setup)/dm-crypt. In this quick blog post, I will explain how to backup and restore LUKS header for emergency purposes. Backup is useful for recovering from misconfigurations, corrupted headers or forgotten passphrase or unknown password.

The post How to backup and restore LUKS header on Linux appeared first on nixCraft.

How to set/change FQDN on Ubuntu 20.04 Linux

Par Vivek Gite

How do I set/change my server's Fully Qualified Domain Name (FQDN) on Ubuntu 20.04 LTS "Focal Fossa" Linux?

The post How to set/change FQDN on Ubuntu 20.04 Linux appeared first on nixCraft.

Bash Shell Ignore Aliases and Functions When Running A Command

Par Vivek Gite

{Updated} How do I ignore bash shell aliases or functions when running a command without removing alias or function from memory or current shell session on a Linux or Unix-like systems?

The post Bash Shell Ignore Aliases and Functions When Running A Command appeared first on nixCraft.
  • 19 août 2020 à 19:17

How to add days to date and get new date on Linux

Par Vivek Gite

I brought eggs from the market, and it says best before 20 days from the date of packing. Say my egg box was packed on 29/July/2020. How do I add days to date using Linux CLI? I want to find out date 29/July/2020 + 20days using the CLI, and how do I do it?

The post How to add days to date and get new date on Linux appeared first on nixCraft.

Thinkpad laptop update firmware/bios on Linux

Par Vivek Gite

{Updated} You need to keep firmware updated, and it is an essential task for system stability and to fix bugs. The latest models of Lenovo ThinkPads can update the firmware using the Linux Vendor Firmware Service (LVFS). When updates are published on LVFS, GNOME/KDE can notify you about upgrades. Installing the firmware on Linux wasn't easy, as most vendors only supported the Windows family of operating systems. However, older Thinkpad models can be still updated without using Windows.

The post Thinkpad laptop update firmware/bios on Linux appeared first on nixCraft.
  • 18 août 2020 à 12:00

Set up automatic unattended updates for Ubuntu 20.04

Par Vivek Gite

How do I configure automatic unattended updates for Ubuntu Linux 20.04 LTS "Focal Fossa" server?

The post Set up automatic unattended updates for Ubuntu 20.04 appeared first on nixCraft.

Find command Exclude or Ignore Files (e.g. Ignore All Hidden .dot Files )

Par Vivek Gite

{Updated} How do I ignore all hidden .dot files while searching for files using the find command? How do I ignore or exclude certain files while running Linux or UNIX find command?

The post Find command Exclude or Ignore Files (e.g. Ignore All Hidden .dot Files ) appeared first on nixCraft.
  • 12 août 2020 à 21:23

How to install htop on Arch Linux

Par Vivek Gite

I am a new user of Arch Linux operating system. How do I install htop on Arch Linux using the pacman command?

The post How to install htop on Arch Linux appeared first on nixCraft.

❌