Skip to content
  • Home
  • About
  • eBooks
  • Shop
  • Donate
  • Linux Online Courses
  • Subscribe to Newsletter
  • Linux Hosting
  • A-Z Linux Commands
  • Get Involved
    • Testimonials
    • Join TecMint
    • Submit Article Request
    • Suggest an Update
Tecmint: Linux Howtos, Tutorials & Guides
  • Linux Distro’s
    • Best Linux Distros
    • RedHat Distributions
    • Linux Distros for Beginners
    • Linux Server Distros
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Secure Linux Distros
    • Linux Distros for Old PC
    • New Linux Distros
    • Linux Distros for Kids
    • Linux Distros for Windows Users
  • FAQ’s
  • Programming
    • Shell Scripting
    • Learn Python
    • Learn Awk
  • Linux Commands
  • Linux Tricks
  • Best Linux Tools
  • Certifications
    • RHCE Exam
    • RHCSA Exam
    • LFCE Exam
    • LFCS Exam
    • Ansible Exam
  • Guides
    • Hadoop Series
    • Docker Series
    • Postfix Mail
    • XenServer Series
    • RHEV Series
    • Clustering Series
    • LVM Series
    • RAID Series
    • KVM Series
    • iSCSI Series
    • Zentyal Series
    • Ansible Series
    • Django Series
    • Create GUI Apps
  • Monitoring Tools
    • Nagios
    • Zabbix
    • Cacti
    • Observium
    • Monitorix
    • Collectd
    • Collectl
    • MySQL Monitoring

Bash Shell

Break and Continue Statements

How to Use Break and Continue Statements in Shell Scripts

1 Comment

In this article, we will take a look at how to use a break and continue in bash scripts. In bash, we have three main loop constructs (for, while, until). Break and continue statements

Use until Loop in Your Shell Scripts

How to Use until Loop in Your Shell Scripts

Leave a comment

In bash for, while, and until are three loop constructs. While each loop differs syntactically and functionally their purpose is to iterate over a block of code when a certain expression is evaluated. Until

Read File in Linux

Different Ways to Read File in Bash Script Using While Loop

Leave a comment

This article is all about how to read files in bash scripts using a while loop. Reading a file is a common operation in programming. You should be familiar with different methods and which

Use Heredoc in Bash Scripting

How to Use Heredoc in Shell Scripting

Leave a comment

Here document (Heredoc) is an input or file stream literal that is treated as a special block of code. This block of code will be passed to a command for processing. Heredoc originates in

Sourcing File in Shell Script

Learn Difference Between Sourcing and Forking in Bash

Leave a comment

The main focus of this article is to clearly understand what happens when you run the script vs source the script in bash. First, we will clearly understand how the program is submitted when

Learn Difference Between $$ and $BASHPID in Bash

Learn Difference Between $$ and $BASHPID in Bash

4 Comments

Recently I was working on a shell script and I saw a significant difference in how bash special variable $ and BASHPID behaves. Every process running in Linux will be assigned with a process

Create Simple Shell Scripts in Linux

How to Create Simple Shell Scripts in Linux

Leave a comment

Creating shell scripts is one of the most essential skills that Linux users should have at the tip of their fingers. Shell scripts play an enormous role in automating repetitive tasks which otherwise would

Marcel Modern Linux Shell

Marcel – A More Modern Shell for Linux

1 Comment

Marcel is a new shell. It is similar to traditional shells in many ways, but it does a few things differently: Piping: All shells use pipes to send a text from the output of

Direnv - Manage Environment Variables in Linux

Direnv – Manage Project-Specific Environment Variables in Linux

Leave a comment

direnv is a nifty open-source extension for your shell on a UNIX operating system such as Linux and macOS. It is compiled into a single static executable and supports shells such as bash, zsh,

Bash-It - Manage Scripts and Linux Aliases

Bash-it – Bash Framework to Control Your Scripts and Aliases

1 Comment

Bash-it is a bundle of community Bash commands and scripts for Bash 3.2+, which comes with autocompletion, themes, aliases, custom functions, and more. It offers a useful framework for developing, maintaining and using shell

Post navigation
Older posts
1 2 … 5 Next →

Over 3,500,000+ Readers

Join TecMint on Facebook Follow TecMint on Twitter Join TecMint on LinkedIn Follow TecMint on Instagram Follow TecMint via RSS Feed Subscribe to TecMint Newsletter
A Beginners Guide To Learn Linux for Free [with Examples]
Red Hat RHCSA/RHCE 8 Certification Study Guide [eBooks]
Linux Foundation LFCS and LFCE Certification Study Guide [eBooks]

Learn Linux Commands and Tools

4 Useful Tools to Monitor CPU and GPU Temperature in Ubuntu

An Easy Way to Hide Files and Directories in Linux

Assign Read/Write Access to a User on Specific Directory in Linux

How to Check Timezone in Linux

4 Useful Tools to Find and Delete Duplicate Files in Linux

How to Limit File Download Speed Using Wget in Linux

Join TecMint Weekly Newsletter

If You Appreciate What We Do Here On TecMint, You Should Consider:

Support Us

Linux Server Monitoring Tools

How to Setup and Manage Log Rotation Using Logrotate in Linux

How to Create a Centralized Log Server with Rsyslog in CentOS/RHEL 7

ngrep – A Network Packet Analyzer for Linux

Dstat – A Resourceful Tool to Monitor Linux Server Performance in Real-Time

HardInfo – Check Hardware Information in Linux

Use Glances to Monitor Remote Linux in Web Server Mode

Learn Linux Tricks & Tips

An Easy Way to Hide Files and Directories in Linux

4 Ways to Find Server Public IP Address in Linux Terminal

Find Top 15 Processes by Memory Usage with ‘top’ in Batch Mode

Useful Commands to Create Commandline Chat Server and Remove Unwanted Packages in Linux

How to Block or Disable Normal User Logins in Linux

How to Set Limits on User Running Processes in Linux

Best Linux Tools

30 Best File Managers for Linux Systems

10 Best Markdown Editors for Linux

23 Best Open Source Text Editors (GUI + CLI) in 2021

6 Best PDF Page Cropping Tools For Linux

10 Best GitHub Alternatives to Host Open Source Projects

10 Tools to Take or Capture Desktop Screenshots in Linux

  • Donate to TecMint
  • Contact Us
  • Advertise on TecMint
  • Linux Services
  • Copyright Policy
  • Privacy Policy
  • Career
  • Sponsored Post
Tecmint: Linux Howtos, Tutorials & Guides © 2021. All Rights Reserved.

The material in this site cannot be republished either online or offline, without our permission.

Hosting Sponsored by : Linode Cloud Hosting

Scroll back to top