bash Archives | SmartTech101 https://smarttech101.com/category/bash/ Do Everything in Linux Thu, 22 Feb 2024 15:49:15 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 https://i0.wp.com/smarttech101.com/wp-content/uploads/2022/09/cropped-ST.png?fit=32%2C32&ssl=1 bash Archives | SmartTech101 https://smarttech101.com/category/bash/ 32 32 198967989 How to Use Conditional Statements in Bash: The If-Else Fi Basics https://smarttech101.com/how-to-use-conditional-statements-in-bash-the-if-else-fi-basics/ https://smarttech101.com/how-to-use-conditional-statements-in-bash-the-if-else-fi-basics/#comments Fri, 11 Aug 2023 09:13:41 +0000 https://smarttech101.com/?p=2965 Learn about conditonal statements in bash - if, if else, if-elif-else, conditional expressions like `-z`, `-n`, `>`, etc. with examples.

The post How to Use Conditional Statements in Bash: The If-Else Fi Basics appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-use-conditional-statements-in-bash-the-if-else-fi-basics/feed/ 1 2965
How to Use Loops in Bash? https://smarttech101.com/how-to-use-loops-in-bash/ https://smarttech101.com/how-to-use-loops-in-bash/#comments Sat, 05 Aug 2023 13:20:53 +0000 https://smarttech101.com/?p=2945 Learn the ins and outs of loop scripting in Bash. Discover various loop types, applications, and real-world examples in this comprehensive guide. From basic iterations to dynamic file processing and creative timer implementation, you'll gain the expertise needed to efficiently automate tasks and manage complex operations using loops in Bash.

The post How to Use Loops in Bash? appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-use-loops-in-bash/feed/ 1 2945
Understanding Brace Expansion in Bash: Generating Sequences https://smarttech101.com/understanding-brace-expansion-in-bash-generating-sequences/ https://smarttech101.com/understanding-brace-expansion-in-bash-generating-sequences/#comments Thu, 03 Aug 2023 14:03:15 +0000 https://smarttech101.com/?p=2932 Discover the power of Brace Expansion in Bash, a feature that enables you to generate sequences of text effortlessly. Learn how to create numeric ranges, combine letters and numbers, and even use variables in brace expansion. Boost your Linux productivity with this essential technique.

The post Understanding Brace Expansion in Bash: Generating Sequences appeared first on SmartTech101.

]]>
https://smarttech101.com/understanding-brace-expansion-in-bash-generating-sequences/feed/ 1 2932
Bash Commands in Linux With Examples https://smarttech101.com/bash-commands-in-linux-with-examples/ https://smarttech101.com/bash-commands-in-linux-with-examples/#respond Mon, 31 Jul 2023 13:57:30 +0000 https://smarttech101.com/?p=2914 In this article, I'll introduce you to some important tools you can use in the Linux terminal. We'll explore variables in bash, and some basic operations used along with bash like copying files, displaying text, moving and deleting files, listing directories, and searching for specific words. These commands will boost your productivity. So, welcome aboard as we embark on an exciting journey into the world of Bash commands in Linux! Let's get started!

The post Bash Commands in Linux With Examples appeared first on SmartTech101.

]]>
https://smarttech101.com/bash-commands-in-linux-with-examples/feed/ 0 2914
How to Create Shell Scripts in Linux/Unix https://smarttech101.com/how-to-create-shell-scripts-in-linux-unix/ https://smarttech101.com/how-to-create-shell-scripts-in-linux-unix/#comments Fri, 24 Mar 2023 19:08:50 +0000 https://smarttech101.com/?p=2639 It is about how to create and run shell scripts in Linux and Mac. I will also talk about basic commands getting and setting variable values.

The post How to Create Shell Scripts in Linux/Unix appeared first on SmartTech101.

]]>
https://smarttech101.com/how-to-create-shell-scripts-in-linux-unix/feed/ 2 2639