---
title: "Discussion on \"Basic Bash Scripting\" | Hashnode"
description: "Discussion on \"Basic Bash Scripting\". Begin with !/ and the bash location\n!/usr/bash\n\nextension .sh\nTwo possibility to run a bash script:\n#1\nbash script.sh\n\n#2\n./script.sh\n\nbash script.sh One Two Three\n#One, Two and Three are arguments. You can use then in the script\necho $1     #print f..."
url: "https://hashnode.com/posts/basic-bash-scripting/61017a79d3dd5634ae908540"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Basic Bash Scripting](https://massyfigini.hashnode.dev/basic-bash-scripting?utm_source=hashnode&utm_medium=feed)

Begin with !/ and the bash location !/usr/bash extension .sh Two possibility to run a bash script: #1 bash script.sh #2 ./script.sh bash script.sh One Two Three #One, Two and Three are arguments. You can use then in the script echo $1 #print f...

Jul 18, 2021 · 3 min read · massyfigini.hashnode.dev  
Updated Sep 2, 2024  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#shell](https://hashnode.com/tag/shell)
-   [#unix](https://hashnode.com/tag/unix)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Massimiliano Figini](https://hashnode.com/@massyfigini)

@massyfigini

  
[View profile](https://hashnode.com/@massyfigini)

Data Enthusiast

data engineer • T-SQL developer • r and python • Power BI and tableau • machine learning enthusiast • data lover Follow back granted

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
