---
title: "Discussion on \"Introduction to Automation and Shell Scripting in Linux (Part 02)\" | Hashnode"
description: "Discussion on \"Introduction to Automation and Shell Scripting in Linux (Part 02)\". How to Write a Shell Script\n\nCreate a Shell Script file with extension .sh using Touch command.\n\nOpen file using command vi/vim.\n\nPress esc i to insert/write something on file.\n\nStart writing your Shell Script using specific indentation/syntax.\n\n\n\n#!..."
url: "https://hashnode.com/posts/introduction-to-automation-and-shell-scripting-in-linux-part-02/67c316d5f5a466b6f2926b8b"
---

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

Discussion

# [Introduction to Automation and Shell Scripting in Linux (Part 02)](https://automation-and-shell-scripting.hashnode.dev/introduction-to-automation-and-shell-scripting-in-linux-part-02?utm_source=hashnode&utm_medium=feed)

How to Write a Shell Script Create a Shell Script file with extension .sh using Touch command. Open file using command vi/vim. Press esc i to insert/write something on file. Start writing your Shell Script using specific indentation/syntax. #!...

Mar 1, 2025 · 2 min read · automation-and-shell-scripting.hashnode.dev  
Updated Mar 20, 2025  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#shell-scripting](https://hashnode.com/tag/shell-scripting)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Shahana Riaz](https://hashnode.com/@Shahana)

@Shahana

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

I am a DevOps Engineer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
