Nearly every Linux distribution these days uses the sudo
utility as a way to grant non-privileged users the ability to execute commands as privileged root users. You may have noticed that after entering your sudo password once, you can continue to execute commands without needing to re-enter it for five minutes. We can even extend this convenience by allowing any sudo commands to be executed without a password.
terminal
How to install and configure Starship on Linux
One of the things that make Linux-based operating systems great is the high degree of customization they offer us. We can customize and adapt (almost) everything to our needs, from the options the kernel is compiled with, to the desktop environment. On any Linux distribution, the terminal emulator is an essential tool for power users and system administrators. Starship is a free and open source plugin written in rust we can use to customize our favorite shell prompt by using a variety of modules.
Remove or ignore all comment lines from Linux config files
Files on a Linux system often have many lines that are reserved just for comments. In other words, lines that begin with a #
character. This is especially true for Linux configuration files.
Linux epoch time
Epoch time is a convention used on Unix and Linux systems that many applications rely on for calculating time between dates and other similar functions. Some Linux commands like date
and perl
have an epoch option built in. An epoch denotes the number of seconds that have passed since the date January 1st, 1970.
Linux Cheat Sheet
In this tutorial, we will list various practical Linux commands to be used only as a reference guide and by experienced Linux users. Not all Linux commands will be available on your system by default so consider installing the relevant package before use.
TERM environment variable not set – Solution
The TERM environment variable not set
message is a frustrating error that can render your Linux system widely unusable, at least from the command line. In this tutorial, you will see how to resolve the error.
Falling back to the standard locale – Solution
If you are trying to use the perl
command in your terminal or execute a script coded in the language, you may encounter the Falling back to the standard locale
error. This indicates that your Linux system is missing a particular software package that Perl relies on, or the software has become corrupted or misconfigured. In this tutorial, we will show you how to remedy the error and get your perl
command working again.
Pax command examples on Linux
pax is an archive utility somewhere between cpio
and tar
. This is just because it is independent of the specific archive format, and supports a wide variety of different archive formats. It can perform simple tasks as creating a compressed archive of a selected directory or it can as much easily create a daily incremental backup.
Introduction to terminal multiplexer Tmux
Tmux is a terminal multiplexer: it let us run and manage multiple terminal sessions from a single screen. This is specially useful when connecting to remote machines using ssh, since, among the other things, it allows us to keep processes started from those terminals running in the background when we disconnect from the session (or logout and close the remote secure shell altogether), letting us re-attach to it at a later time.
Retrieve Weather information using Linux command line
Although most Linux users will use a GUI tool to retrieve weather information, it is also possible to do get a weather forecast from the command line. Whether you are stubborn command line user or you wish to automate flower watering using your Linux system and cron, there are several different options that can do the job. Some tools even allow you to retrieve information such as current outside temperature, wind, pressure, humidity, altitude, and more, directly from your Linux terminal.
Ubuntu 22.04 GPG error: The following signatures couldn’t be verified
The Ubuntu 22.04 GPG error: The following signatures couldn't be verified
is the most common error when attempting to include third party package repositories to the apt
package manager. The GPG error should rather be treated as a warning against potential package installation from unknown sources. Therefore, the GPG error message prompts the user to verify and manually import the third party signature belonging to relevant package developer.
Configure sudo without password on Ubuntu 22.04 Jammy Jellyfish Linux
Are you tired of having to provide your administrator password when you use sudo
? In this tutorial you will learn how to configure sudo
without the password on Ubuntu 22.04 Jammy Jellyfish Linux. This means that the sudo
command will not prompt you to enter password hence rendering your sudo
command completely without a password.