#devlife

LIVE

what a magnificent app for Linux and Unix users

This one corrects errors in previous console commands. Download it from the Github:

How to change hostname on Amazon Linux 2 without reboot

The correct way to change the hostname on Amazon Linux 2 without rebooting your EC2 or Lightsail instance

Read more: How to change hostname on Amazon Linux 2 without reboot

How to check if Ansible collection is installed or not

Here is a quick command-line tip for finding out if the Ansible collection you want is installed or not on your development workstations powered by Linux, Unix or macOS/*BSD.


How to check if Ansible collection is installed or not

Linux vs Windows system upgrades

How to find a path of a Linux command like a pro

One of the most common questions I get is how can I find a Linux command path that I just installed on Linux using a package manager such as apt/dnf command. We have many new developers coming from the Windows world. Many are first-time Linux users. Some are using Linux from WSL, and others are directly dealing with cloud servers over ssh. Let us see some common commands to list or find a path for Linux commands.

Read:How to find a path of a Linux command like a pro

I am sharing this as it might help someone. Nothing beats free and well-written resources.Web Development for Beginners - A Curriculum. Give it a try. It is free.

Nginx vs Apache comic - the war for port 80. Hah. Thanks https://turnoff.us/geek/apache-vs-nginx-epilogue/

How to Set Up WireGuard VPN on Amazon Linux 2

Here is complete guide about setting up WireGuard VPN on Aws Cloud EC2 or Lightsail instance running on Amazon Linux 2.

How to create temporary random file name in bash scripting

Did you know? You can use the mktemp command under Linux, FreeBSD, macOS and Unix-like systems to make a temporary file or directory safely and print its name.

Read more: How to create temporary random file name in bash scripting

Ubuntu 22.04 LTS Set Up OpenVPN Server In 5 Minutes


Ubuntu 22.04 LTS Set Up OpenVPN Server In 5 Minutes

life :’(

Random image from my computer (Calvin and Hobbes comic )

Did you know? Many Linux system services & login under Linux/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.

Read more: Understanding the /etc/shells file

me after reading “Employers posted a record job openings” ..

New blog post: A cautionary tale about locking Linux and FreeBSD user accounts and ssh logins: things are not always what they seem, and I learnt my lesson.

How to make disk image with dd on a Linux or Unix for backup and restore purposes


Read more: How to make disk image with dd on Linux or Unix

Searching multiple words like a pro on your macOS, Linux and Unix box

When you type ‘rsync –help’ you get a wall of text. One option is to use less on Linux:

rsync –help|less

But, I prefer to grep to search multiple strings to find about -p, -h, -i, -b & -u options:

rsync –help|grep -E -w – ’-(p|h|i|b|u)’


SeeHow To Search Multiple Words / String Pattern Using grep Command on Bash shell for more info.

In order to tell grep not to treat ’–’ as command line option prefix pattern with –. The double dash “–” means “end of command line flags.” It tells grep (or any valid Linux/Unix command) not to try to parse what comes after command line options. See What Does ‐‐ (double dash) Mean In SSH Shell Command? for more info

Developers: Do you agree?

New Linux user be like …

Did you know?

The first line in your shell/python/perl script “#!/bin/sh” or “#!/usr/bin/evn python” is called Shebang, & it is used to tell the Linux/Unix OS which interpreter to use to parse the rest of the file. You can override interpreter at the CLI:

bash foo.ksh

Run the script as python3 instead of default python3

shabang"python3 old-script.py

SeeShebang bash Linux shell scripting page for more info.

Programming Interview.

credit

How to install Go [golang] on Ubuntu Linux

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 it

SeeHow to install Go [golang] on Ubuntu Linux

bri'ish init

Join #Worldie #womenwhocode #womenintech #girlswhocode #daysofcode #womeninstem #dev #developer #gir

Join #Worldie #womenwhocode #womenintech #girlswhocode #daysofcode #womeninstem #dev #developer #girls #programming #coding #peoplewhocode #coder #girlsintech #softwareengineer #webdeveloper #code #girlboss #javascript #tech #codinglife #womenempowerment #technology #programmergirl #cutetechgirls #geekgirl #programmerlife #webdevelopment #devlife #programmer (at Downtown Detroit)
https://www.instagram.com/p/B-QAxpnghds/?igshid=swoeen49blfq


Post link
Join #Worldie #womenwhocode #womenintech #girlswhocode #daysofcode #womeninstem #dev #developer #gir

Join #Worldie #womenwhocode #womenintech #girlswhocode #daysofcode #womeninstem #dev #developer #girls #programming #coding #peoplewhocode #coder #girlsintech #softwareengineer #webdeveloper #code #girlboss #javascript #tech #codinglife #womenempowerment #technology #programmergirl #cutetechgirls #geekgirl #programmerlife #webdevelopment #devlife #programmer (at Downtown Detroit)
https://www.instagram.com/p/B-QAuXWA7hA/?igshid=1webzxdmkfjza


Post link
loading