SHELL

How to change default Python version ?

There are various ways to change the default Python version on Linux. This article discuss some of the ways to change the default version of Python. This article is equally applicable for other executable also. Below command will list all the versions of python installed on the device ls -ls [...]

2022-02-22T12:23:42+05:30Categories: Linux|Tags: |

Using Wildcard in Bash Shell

Wildcard characters are used to define the pattern for searching or matching text on string data in the bash shell. It is also used to create regular expressions. They are the special characters used as part of glob patterns. To use such a wildcard successfully, it must be outside of [...]

2021-07-30T19:13:18+05:30Categories: Programming|Tags: |

Case Statement in Bash Script

case statement in bash shell is similar to switch statement in C++. It can be used to test simple values like integers and characters. Bash shell checks the condition, and controls the flow of the program. The case construct also allows us to test strings against patterns that can contain [...]

2021-07-28T20:40:00+05:30Categories: Programming|Tags: |

Keyboard Shortcuts in Bash Shell

Terminal is a program called a terminal emulator. It opens a window and lets you interact with the shell. This post covers various keyboard shortcuts which are supported in bash and zsh shell. Key commands for both shells are similar and knowing these time-saving shortcuts can be a great boon [...]

2021-07-06T19:00:02+05:30Categories: Linux|Tags: |
Go to Top