Tag: zsh

How to disable “did you mean…” feature in Linux shell

How to disable offers to install a package with an incorrectly entered command In case the command you entered into the Linux console is not found, some distributions show additional information suggesting which packages the entered command might be in and how it can be installed. An example of such a message: Command 'magick' not found, did you mean: command...

How to convert a string to lowercase in Bash

This note will show you how to convert a string to lowercase (small letters) on the Linux command line. To convert a string to lower case regardless of its current case, use one of the following commands. tr echo "Hi all" | tr '[:upper:]' '[:lower:]' hi all Attention! If you want to change the case of any letters other than...

How to convert a string to uppercase in Bash

This note will show you how to convert a string to upper case (capital letters, uppercase) on the Linux command line. To convert a string to capital letters regardless of its current case, use one of the following commands. tr echo "Hi all" | tr '[:lower:]' '[:upper:]' HI ALL Attention! If you want to change the case of any letters...

How to find out which shell is in use in Linux

Linux shells There are several Linux shells, each with its own characteristics. Examples of popular shells are Bash (which is the default shell on many distributions) and ZSH (which is the default shell on Kali Linux, it has many fans). The shell information is contained in the $SHELL environment variable to see its value and to find out which shell...
Loading...
X