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.
À partir d’avant-hiernixCraft

Unix Basics Quiz

Par Vivek Gite

Let us test your basic knowledge of Unix systems, including commands.

The post Unix Basics Quiz appeared first on nixCraft.

Ansible zypper update all packages on OpenSUSE/SUSE

Par Vivek Gite

I got a cluster of servers powered by OpenSUSE / SUSE Enterprise Linux. How can I update all of them using the zypper module of Ansible? How can I use Ansible for system updates and reboot the server when kernel upgrades took place on SUSE/OpenSUSE?

The post Ansible zypper update all packages on OpenSUSE/SUSE appeared first on nixCraft.

Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang

Par Vivek Gite

Why do some shell/perl/python scripts begin with #!/usr/bin/env? How do you make your Unix script portable across different UNIX like operating systems?

The post Make Linux/Unix Script Portable With #!/usr/bin/env As a Shebang appeared first on nixCraft.
  • 15 mars 2020 à 00:21

CentOS 8 set up WireGuard VPN server

Par Vivek Gite

How do I install and set up WireGuard VPN server on a CentOS 8 Linux? How can I configure CentOS 8 as the WireGuard VPN server?

The post CentOS 8 set up WireGuard VPN server appeared first on nixCraft.

CentOS 8 Set Up OpenVPN Server In 5 Minutes

Par Vivek Gite

How do I set up an OpenVPN Server on CentOS 8 Linux server to shield my browsing activity from bad guys on public Wi-Fi, and more?

The post CentOS 8 Set Up OpenVPN Server In 5 Minutes appeared first on nixCraft.

exa a modern replacement for ls command in rust for Linux/Unix

Par Vivek Gite

ls is a command to show files in Linux and Unix-like operating systems. A ls command first appeared in a version of AT&T UNIX UNIX as well as in Multics. BSD and GNU Coreutils package provides the ls command with minor syntax changes. There is now third alternative named exa. It is a modern replacement for ls command.

The post exa a modern replacement for ls command in rust for Linux/Unix appeared first on nixCraft.
  • 11 mars 2020 à 09:52

Linux Trivia: Did you know what Linus wanted to call his kernel initially?

Par Vivek Gite

Linux Trivia: Linux very nearly wasn't called Linux. Did you know what Linus wanted to call his kernel initially?

1. Free Unix
2. Freax
3. LinusOS
4. TuxOS

Think you know the answer?

The post Linux Trivia: Did you know what Linus wanted to call his kernel initially? appeared first on nixCraft.

20 Unix/Linux Command Line Tricks - Part I

Par Vivek Gite

{Updated} Unix and Linux command line tricks to increase productivity at the Terminal. I have found them over the years, and I am now going to share with you.

The post 20 Unix/Linux Command Line Tricks - Part I appeared first on nixCraft.
  • 10 mars 2020 à 21:04

Linux append text to end of file

Par Vivek Gite

{Updated} I am new Linux user and sysadmin for CentOS enterprise Linux 7 running on couple of VMs and bare metal boxes. How to add lines to end of file? How do I append text to end of file using the cli on Linux? What command I need to type to send the output of the command to end of file?

The post Linux append text to end of file appeared first on nixCraft.
  • 10 mars 2020 à 20:52

Linux Quiz

Par Vivek Gite

Let us test your basic knowledge of Linux systems, including commands.

The post Linux Quiz appeared first on nixCraft.

Letsencrypt is revoking certificates on March 4

Par Vivek Gite

Let's Encrypt is a non-profit certificate authority that provides X.509 certificates for Transport Layer Security (TLS) encryption free of cost. The TLS certificate is valid for 90 days only. However, Due to the bug, they need to revoke many (read as "certain") Let’s Encrypt TLS/SSL certificates. Let us see how to find out if you are affected by this bug and how you can fix it to avoid any problems with your TLS/SSL certificates.

The post Letsencrypt is revoking certificates on March 4 appeared first on nixCraft.

How to append text to a file when using sudo command on Linux or Unix

Par Vivek Gite

I am trying to add entry to /etc/hosts file using 'sudo echo '192.168.1.254 router' >> /etc/hosts' command, but getting an error that read as, -bash: /etc/hosts: Permission denied. How do I insert or append text to a file when running sudo command on Linux or Unix-like system?

The post How to append text to a file when using sudo command on Linux or Unix appeared first on nixCraft.
  • 2 mars 2020 à 20:00

How to enable firewalld logging for denied packets on Linux

Par Vivek Gite

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.

How to Set Up and Use LXD on CentOS 8.x / RHEL 8.x

Par Vivek Gite

LXD is a next generation system container manager. It offers a user experience similar to virtual machines but using Linux containers instead. It's image based with pre-made images available for a wide number of Linux distributions. How do I set up and install LXD on a CentOS 8.x or RHEL 8.x server?

The post How to Set Up and Use LXD on CentOS 8.x / RHEL 8.x appeared first on nixCraft.

Vim show line numbers by default on Linux

Par Vivek Gite

How do I show line numbers in Vim by default on Linux?

The post Vim show line numbers by default on Linux appeared first on nixCraft.

Append Current Date To Filename in Bash Shell

Par Vivek Gite

{Updated} How can I append a current date from a variable to a filename under Linux or Unix bash shell? How do I append date to filename?

The post Append Current Date To Filename in Bash Shell appeared first on nixCraft.
  • 28 février 2020 à 20:23

How to update/upgrade Pi-hole with an OpenVPN on Ubuntu/Debian Linux server

Par Vivek Gite

I installed an OpenVPN server with Pi-hole software to block block ads, reduced my 4G/3G/LTE traffic on the same Debian or Ubuntu Linux server. How do I upgrade my Pi-hole to the latest version using command line?

The post How to update/upgrade Pi-hole with an OpenVPN on Ubuntu/Debian Linux server appeared first on nixCraft.
  • 26 février 2020 à 20:21

Linux Kill and Logout Users Command

Par Vivek Gite

Show do you kill a Linux user login session? Yet another newbie question that suggests sysadmin/people love to kill and show their power to the rest of the world. There is a package called procps. It includes various useful and nifty utilities. One of such utility is skill which is responsible to send a signal to users and process.

The post Linux Kill and Logout Users Command appeared first on nixCraft.
  • 26 février 2020 à 18:36

Linux bind IP that doesn’t exist with net.ipv4.ip_nonlocal_bind

Par Vivek Gite

How do I allow Linux processes to bind to IP address that doesn't exist yet on my Linux systems or server?

The post Linux bind IP that doesn’t exist with net.ipv4.ip_nonlocal_bind appeared first on nixCraft.

Display Colored Man Pages in Linux and Unix

Par Vivek Gite

How do I add a bit of color to my man pages under Linux / FreeBSD / Apple OS X / Unix like operating systems? How can I view colored man pages in Linux?

The post Display Colored Man Pages in Linux and Unix appeared first on nixCraft.
  • 24 février 2020 à 17:27

Linux iptables delete prerouting rule command

Par Vivek Gite

I am a new Linux server sysadmin. I need to delete the PREROUTING rule. How do I delete the prerouting rule on Linux server?

The post Linux iptables delete prerouting rule command appeared first on nixCraft.

Linux List / Display and view all cron jobs

Par Vivek Gite

{Updated} How do I view currently setup or all running cron jobs under a Linux or Unix-like operating systems?

The post Linux List / Display and view all cron jobs appeared first on nixCraft.
  • 16 février 2020 à 12:22

How to Install phpredis on CentOS 8 / RHEL 8

Par Vivek Gite

How do I install PHP extension called phpredis (php-redis) for interfacing with Redis cluster on CentOS 8 or RHEL 8?

The post How to Install phpredis on CentOS 8 / RHEL 8 appeared first on nixCraft.

Bash For Loop Examples

Par Vivek Gite

{Updated} Bash for loop is useful for automating repetitive tasks in IT or other stuff. Let us see how to use bash for loop to repeat specific tasks under Linux, *BSD, macOS, and Unix-like systems.

The post Bash For Loop Examples appeared first on nixCraft.
  • 15 février 2020 à 11:04

How to use parallel ssh (PSSH) for executing commands in parallel on a number of Linux/Unix/BSD servers

Par Vivek Gite

Recently I come across a nice little nifty tool called parallel ssh (PSSH) to run a single command on multiple Linux / UNIX / BSD servers. You can easily increase your productive with this SSH IT automation tool.

The post How to use parallel ssh (PSSH) for executing commands in parallel on a number of Linux/Unix/BSD servers appeared first on nixCraft.
  • 15 février 2020 à 05:19

How to Undo in Vim / Vi text editor

Par Vivek Gite

How do I undo a recent change in the vim text editor?

The post How to Undo in Vim / Vi text editor appeared first on nixCraft.

How to check Ubuntu version in Linux command line

Par Vivek Gite

I am a new Linux system user. How do I check Ubuntu version In Linux command line?

The post How to check Ubuntu version in Linux command line appeared first on nixCraft.
  • 13 février 2020 à 12:48

CentOS SSH Installation And Configuration

Par Vivek Gite

How do I install and configure ssh server and client under CentOS Linux operating systems? Can you explains CentOS SSH installation commands?

The post CentOS SSH Installation And Configuration appeared first on nixCraft.
  • 13 février 2020 à 10:20

Shell Script Put Multiple Line Comments under Bash/KSH

Par Vivek Gite

How do I put multi line comment under a shell script? Can you tell method to set multiline shell script comments?

The post Shell Script Put Multiple Line Comments under Bash/KSH appeared first on nixCraft.
  • 12 février 2020 à 20:59

Ubuntu Install Tinc and Set Up a Basic VPN

Par Vivek Gite

How do I install Tinc and Set Up a Basic VPN on Ubuntu Linux 18.04/20.04 LTS server?

The post Ubuntu Install Tinc and Set Up a Basic VPN appeared first on nixCraft.

Debian Linux 10.3 released and here is how to upgrade it

Par Vivek Gite

The Debian GNU/Linux project has released an updated version of its stable Linux distribution Debian 10 ('buster'). You must upgrade to get corrections for security problem as this version made a few adjustments for the severe issue found in Debian version 10.2.

The post Debian Linux 10.3 released and here is how to upgrade it appeared first on nixCraft.
  • 9 février 2020 à 11:35

System76 Announces AMD Threadripper Linux Workstations

Par Vivek Gite

System76 is a Denver, Colorado-based American computer manufacturer. They are specializing in the sale of Linux powered laptops, desktops, and servers. Last year System76 announced two Intel laptops with Coreboot, which as an alternative to proprietary BIOS using Intel 10th Gen CPUs. Now, System76 updated its Linux workstations line and ship with the latest AMD chips for CPU-intensive workloads. But how much of a difference can 64 cores AMD CPU make?

The post System76 Announces AMD Threadripper Linux Workstations appeared first on nixCraft.

Ansible apt update all packages on Ubuntu / Debian Linux

Par Vivek Gite

I have a bunch of servers powered by Ubuntu and Debian Linux. How do I update all of them using the apt module of Ansible? How can I use Ansible for system updates and reboot the box when kernel upgrades took place?

The post Ansible apt update all packages on Ubuntu / Debian Linux appeared first on nixCraft.

Linux extend file system after resize disk volume

Par Vivek Gite

I increased the size of the volume in Linux using my cloud service providers' online tool. My original disk size was 200GB, and I grew to 400GB. However, I only able to use 200GB and not 400GB. How do I resizing my disk and extend the file system resizing a disk volume?

The post Linux extend file system after resize disk volume appeared first on nixCraft.

Linux / Unix desktop fun: gti get jeep/car when you mistype git

Par Vivek Gite

One of the most common mistakes developers and ops people make is typing gti instead of git command. I set an alias i.e. alias gti=git, but then you may miss out on the jeep/car on your screen.
gti get jeep or car on linux or unix screen when you mistype git

The post Linux / Unix desktop fun: gti get jeep/car when you mistype git appeared first on nixCraft.

Thinkpad update firmware on Linux (X1 extreme/P1 gen2)

Par Vivek Gite

I have ThinkPad P1 Gen 2 or X1 Extreme 2nd Laptop. Can I easily Install ThinkPad firmware updates on Linux using GUI?

The post Thinkpad update firmware on Linux (X1 extreme/P1 gen2) appeared first on nixCraft.

OpenSUSE install sudo to execute commands as root

Par Vivek Gite

There is no sudo installed by default on my OpenSUSE Linux server. Other users and I need to use 'su -' command to run commands as root. How do I install a sudo package on OpenSUSE Linux?

The post OpenSUSE install sudo to execute commands as root appeared first on nixCraft.

Explain DEBIAN_FRONTEND apt-get variable for Ubuntu / Debian

Par Vivek Gite

Can you explain DEBIAN_FRONTEND apt or apt-get variable? How and why I need to use this in Docker or shell scripts under a Debian and Ubuntu Linux?

The post Explain DEBIAN_FRONTEND apt-get variable for Ubuntu / Debian appeared first on nixCraft.

Ubuntu 20.04 LTS change hostname permanently

Par Vivek Gite

I am a brand-new Ubuntu Linux 20.04 LTS VM user. By default, my server name to 'localhost' during cloud installation, but now I would like to change the computer name to 'ubuntu-2004-nixcraft'. Can you tell me how do I remove the localhost and set it to ubuntu-2004-nixcraft on Ubuntu 20.04 Linux? How do I change the Ubuntu computer name from 'localhost' to 'ubuntu-2004-nixcraft'? Can you tell me more about Ubuntu Linux change hostname command?

The post Ubuntu 20.04 LTS change hostname permanently appeared first on nixCraft.

Linux Rename Multiple Files At a Shell Prompt

Par Vivek Gite

How do I rename multiple files at a shell prompt under a Linux or UNIX operating systems?

The post Linux Rename Multiple Files At a Shell Prompt appeared first on nixCraft.
  • 22 janvier 2020 à 18:58

Upgrade Ubuntu 18.04 to 20.04 LTS using command line

Par Vivek Gite

I need to upgrade the Ubuntu Linux version 18.04 LTS server to a 20.04 LTS server using the command line option. How do I upgrade Ubuntu 18.04 to 20.04?

The post Upgrade Ubuntu 18.04 to 20.04 LTS using command line appeared first on nixCraft.

Protects Linux machines from accidental shutdowns/reboots with molly-guard

Par Vivek Gite

Oops! I did it again. I thought I was logged into my home server. Turns out I rebooted the db server. Another my not so favorite is typing 'shutdown -h 0' into the wrong terminal. I know a few people who have admitted to doing that here.

The post Protects Linux machines from accidental shutdowns/reboots with molly-guard appeared first on nixCraft.
  • 17 janvier 2020 à 14:25

Linux find Windows 10 OEM product key command

Par Vivek Gite

I removed and installed Ubuntu Linux 16.04 LTS on my development Lenovo laptop. However, I need to use my Windows 10 pro in KVM VM for running the accounting app. How do I find and print my embedded Windows 10 pro key from a Linux command line option? How can I retrieve Microsoft Windows 8 and 10 OEM product key from BIOS?

The post Linux find Windows 10 OEM product key command appeared first on nixCraft.

Linux / Unix Rsync Copy Hidden Dot Files and Directories Only

Par Vivek Gite

How do I use the rsync tool to copy only the hidden files and directory (such as ~/.ssh/, ~/.foo, and so on) from /home/jobs directory to the /mnt/usb directory under Unix like operating system?

The post Linux / Unix Rsync Copy Hidden Dot Files and Directories Only appeared first on nixCraft.
  • 16 janvier 2020 à 21:40

Add a new user account with admin access on Linux

Par Vivek Gite

How do I add a user account with admin (sudo) access on Ubuntu or CentOS Linux cloud server? How can I add a new user with admin account level access in Linux?

The post Add a new user account with admin access on Linux appeared first on nixCraft.

Alarm clock Set Timeout For A Shell Command

Par Vivek Gite

How can I run a command called foo, and have it timeout/abort after 10 seconds under GNU/Linux running bash shell or script? How do I run the command under an alarm clock?

The post Alarm clock Set Timeout For A Shell Command appeared first on nixCraft.
  • 16 janvier 2020 à 12:18

How to use/run bash aliases over ssh based session

Par Vivek Gite

I have set up a bash alias named file_repl. It works entirely when I log in using ssh command. However, my bash aliases are not running over ssh, for example:
$ ssh vivek@server1.cyberciti.biz file_replbash: file_repl: command not foundHow do I run bash shell aliases when I use ssh command?

The post How to use/run bash aliases over ssh based session appeared first on nixCraft.
  • 15 janvier 2020 à 17:47

CentOS Linux 8.1 (1911) released and here is how to upgrade it

Par Vivek Gite

CentOS Linux 8.1 (1191) released. It is a Linux distribution derived from RHEL (Red Hat Enterprise Linux) 8.1 source code. CentOS was created when Red Hat stopped providing RHEL free. CentOS 8.1 gives complete control of its open-source software packages and is fully customized for research needs or for running a high-performance website without the need for license fees. Let us see what's new in CentOS 8.1 (1911) and how to upgrade existing CentOS 8.0.1905 server to 8.1.1911 using the command line.

The post CentOS Linux 8.1 (1911) released and here is how to upgrade it appeared first on nixCraft.

Dell XPS 13 Developer Edition 2020 Ubuntu Laptop Announced

Par Vivek Gite

Look like Dell listing to customer feedback. Dell XPS 13 Developer Edition is the ultimate Linux laptop for developers and Linux enthusiasts/power users. The Dell XPS 13 Developer Edition 2020 now supports 10th Gen Intel CPU and 32GB ram. This system comes pre-installed with Ubuntu Linux 18.04, but you can install any other distro.

The post Dell XPS 13 Developer Edition 2020 Ubuntu Laptop Announced appeared first on nixCraft.

❌