Skip to content

CODEFATHER

Learn to Code. Shape Your Future

  • Blog
  • Robots
  • Programmable Devices
  • Courses
  • Coaching
  • Search

Tag: learn bash scripting

print-odd-numbers-bash

Bash While Loop: An Easy Way to Print Numbers from 1 to N

April 2, 2020 Claudio Sabato Blog

In this article you will learn how to create a while loop in Bash. While loops are used in Bash[…]

Read more
how-to-check-if-file-or-directory-exists

Check If a File or Directory Exist using Bash. How?

March 19, 2020 Claudio Sabato Blog

In Bash scripts is very common to check if a file or a directory exist. How do you check if[…]

Read more
use-bash-and-curl-to-get-response-code-from-API

Using cURL command in a Bash Script: Get the HTTP Response Code

March 8, 2020 Claudio Sabato Blog

Using the cURL command in a Bash script can be useful, but why? We live in the era of APIs…[…]

Read more
syntax-error-unexpected-end-of-file

Bash Unexpected end of file. What Does This Syntax Error Mean?

March 7, 2020 Claudio Sabato Blog

You are running a Bash script, and you see a syntax error: Unexpected end of file. What does it mean?[…]

Read more
how-to-get-directory-bash-script

How to Get the Directory of a Bash Script

March 5, 2020 Claudio Sabato Blog

Have you ever tried to get the directory of your Bash script programmatically? It’s a common thing people ask and[…]

Read more
exit-0-exit-1-bash

Exit a Bash Script: Exit 0 and Exit 1 Explained

February 26, 2020 Claudio Sabato Blog

Why would you exit from a Bash script? Let’s say you are writing a script…there’s one thing that is almost[…]

Read more
loop-through-lines-of-a-file-Bash

Loop Through the Lines of a File: Bash For Loop Explained

February 24, 2020 Claudio Sabato Blog

I want to loop through the lines of a file with a Bash script and one of the ways to[…]

Read more
if-else-statement-bash-script

Bash If Else Statement: How to Use it in Your Scripts

February 17, 2020 Claudio Sabato Blog

The if else statement is the way to make decisions in Bash scripting. In this guide you will learn how[…]

Read more
passing-command-line-argument-bash-script

Bash Script Arguments: How to Pass Them via the Command Line

February 16, 2020 Claudio Sabato Blog

In this article, we will create a simple Bash script and show how to pass arguments to it using the[…]

Read more

Posts navigation

«Previous Posts 1 2
Disclosure: Some of the links and banners on this page may be affiliate links, which can provide compensation to Codefather.tech at no extra cost to you. Codefather.tech is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by linking to Amazon. Codefather.tech also participates in affiliate programs with DataCamp, Coursera, CJ, ShareASale, Ezoic, and other sites. Our affiliate disclaimer is available here.
Learn Python coding with step-by-step video tutorials
  • About Claudio Sabato
  • Privacy Policy
  • Terms and Conditions
  • Acceptable Use Policy
  • Affiliate Disclaimer
© Copyright CodeFatherTech 2022 - A brand of Your Journey To Wealth Ltd

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

CODEFATHER
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.