---
title: "#scripting articles | Hashnode"
description: "Explore 321 articles tagged #scripting on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/scripting"
---

Tag

# #scripting

321 posts · 91 followers

[Sanskriti Harmukh](https://hashnode.com/@sharmukh) · [Oct 29](https://hashnode.com/posts/processing-text-with-bash-using-grep-sed-and-awk-commands/6ae37acec2c3512a1c45494e)

### [Processing Text with Bash Using Grep, Sed, and Awk Commands](https://vultr.hashnode.dev/processing-text-with-bash-using-grep-sed-and-awk-commands?utm_source=hashnode&utm_medium=feed)

Filter, transform, and extract data from text files in Bash using grep, sed, and awk, including combined pipelines and scripts.

8 min read · [vultr.hashnode.dev](https://vultr.hashnode.dev/processing-text-with-bash-using-grep-sed-and-awk-commands?utm_source=hashnode&utm_medium=feed)

[Powerduck](https://hashnode.com/@powerduck) · [Oct 16](https://hashnode.com/posts/agent-rewrites-shell-loses-exit-code/6ad2a44e8210a7e6594871db)

### [The Agent Rewrote the Shell Script in Python and Dropped the Exit Code](https://blogs.powerduck.com/agent-rewrites-shell-loses-exit-code?utm_source=hashnode&utm_medium=feed)

A shell script that exits on first failure gets ported to Python line by line. The happy path runs identically. The bad path silently succeeds.

2 min read · [blogs.powerduck.com](https://blogs.powerduck.com/agent-rewrites-shell-loses-exit-code?utm_source=hashnode&utm_medium=feed)

[Jebitok](https://hashnode.com/@w1t3r) · [Sep 8](https://hashnode.com/posts/python-pentesting-scripts-tryhackme/6a9fe159b130478f224fbe7e)

### [Python: Pentesting Scripts (TryHackMe)](https://www.sharonjebitok.com/python-pentesting-scripts-tryhackme?utm_source=hashnode&utm_medium=feed)

Link to the Walkthrough on TryHackMe: Python: Pentesting Scripts Introduction Your team just wrapped up the reconnaissance phase of a penetration test against a mid-sized e-commerce company. The clien

57 min read · [sharonjebitok.com](https://www.sharonjebitok.com/python-pentesting-scripts-tryhackme?utm_source=hashnode&utm_medium=feed)

[A. B Satya Jaideep](https://hashnode.com/@satyajaii) · [Jul 2](https://hashnode.com/posts/shell-scripting-in-linux-user-creation-loops-and-conditional-statements/6a460c3ca400697f876675ab)

### [Shell Scripting in Linux: User Creation, Loops, and Conditional Statements](https://satyajai.hashnode.dev/shell-scripting-in-linux-user-creation-loops-and-conditional-statements?utm_source=hashnode&utm_medium=feed)

Shell scripting is one of the most essential skills for Linux administrators and DevOps engineers. Instead of executing commands manually, shell scripts automate repetitive tasks, making system administration faster and more reliable. In this blog, we'll build four practical shell scripts: 👤 User Creation (createuser.sh) 🔁 For Loop (forloop.sh) 🔄 While Loop (whileloop.sh) ✅ Conditional Statements (conditions.sh)

5 min read · [satyajai.hashnode.dev](https://satyajai.hashnode.dev/shell-scripting-in-linux-user-creation-loops-and-conditional-statements?utm_source=hashnode&utm_medium=feed)

[Harsh Jaiman](https://hashnode.com/@harshjaiman) · [Jun 28](https://hashnode.com/posts/inside-servicenow-s-engine-how-java-rhino-and-javascript-work-together/6a411ca516feaa257adaeded)

### [Inside ServiceNow's Engine: How Java, Rhino, and JavaScript Work Together](https://harshjaiman.hashnode.dev/inside-servicenow-s-engine-how-java-rhino-and-javascript-work-together?utm_source=hashnode&utm_medium=feed)

Java runs the engine, Rhino bridges the gap, JavaScript steers — here's how ServiceNow actually executes your code at enterprise scale.

17 min read · [harshjaiman.hashnode.dev](https://harshjaiman.hashnode.dev/inside-servicenow-s-engine-how-java-rhino-and-javascript-work-together?utm_source=hashnode&utm_medium=feed)

[Zeodack Portfolio](https://hashnode.com/@zeodackport) · [Jun 13](https://hashnode.com/posts/diagnosing-the-printer-goes-offline-after-router-restart-problem-with-powershell/6a2cff4344ea6a817ee8b2b2)

### [Diagnosing the "Printer Goes Offline After Router Restart" Problem with PowerShell](https://zeodackport.hashnode.dev/diagnosing-the-printer-goes-offline-after-router-restart-problem-with-powershell?utm_source=hashnode&utm_medium=feed)

A PowerShell script to diagnose the DHCP IP mismatch that causes printers to go offline after router restarts — plus the permanent fix.

3 min read · [zeodackport.hashnode.dev](https://zeodackport.hashnode.dev/diagnosing-the-printer-goes-offline-after-router-restart-problem-with-powershell?utm_source=hashnode&utm_medium=feed)

[Hugo](https://hashnode.com/@hugovalters) · [Apr 18](https://hashnode.com/posts/hardcoded-passwords-in-scripts-thats-not-automation-thats-a-breach/69e37a01bb6ad4775c29ae81)

### [Hardcoded Passwords in Scripts: That's Not Automation, That's a Breach](https://hugovalters.hashnode.dev/hardcoded-passwords-in-scripts-thats-not-automation-thats-a-breach?utm_source=hashnode&utm_medium=feed)

There is a special place in infrastructure hell for sysadmins who write "automation" scripts with $AdminPassword = "CompanyAdmin2026!" right at the top. You usually find these masterpieces sitting on a globally readable network share like \\\\fs01\\IT\_...

3 min read · [hugovalters.hashnode.dev](https://hugovalters.hashnode.dev/hardcoded-passwords-in-scripts-thats-not-automation-thats-a-breach?utm_source=hashnode&utm_medium=feed)

[Lucas Gragg](https://hashnode.com/@dopienerd) · [Apr 17](https://hashnode.com/posts/windows-watchdog-that-silently-spawned-11-duplicate-processes-and-the-one-line-fix/69e185789c3443ba9756ce48)

### [Windows watchdog that silently spawned 11 duplicate processes — and the one-line fix](https://python-bots.hashnode.dev/windows-watchdog-that-silently-spawned-11-duplicate-processes-and-the-one-line-fix?utm_source=hashnode&utm_medium=feed)

I came back to my desk and counted 11 cmd windows instead of the 6 I expected. All running Python, all for the same project, all spawned by my own watchdog. This post is the diagnostic trail and the fix, in case anyone else is using tasklist /FI "WIN...

4 min read · [python-bots.hashnode.dev](https://python-bots.hashnode.dev/windows-watchdog-that-silently-spawned-11-duplicate-processes-and-the-one-line-fix?utm_source=hashnode&utm_medium=feed)

[Y “Daveyous” Usop](https://hashnode.com/@daveyous07) · [Apr 1](https://hashnode.com/posts/windows-first-developer-ergonomics-in-this-monorepo/69cd9e125c81d1810cb5c5e6)

### [Windows-first developer ergonomics in this monorepo](https://myaijourneydaveyous07.hashnode.dev/windows-first-developer-ergonomics-in-this-monorepo?utm_source=hashnode&utm_medium=feed)

Batch files, port helpers, and Compose as the glue

1 min read · [myaijourneydaveyous07.hashnode.dev](https://myaijourneydaveyous07.hashnode.dev/windows-first-developer-ergonomics-in-this-monorepo?utm_source=hashnode&utm_medium=feed)

[Piotr "NotBlackMagic" Opoka](https://hashnode.com/@notblackmagic) · [Mar 25](https://hashnode.com/posts/find-any-file-on-windows-like-a-linux-user/69c44ce410e664c5daef3e59)

### [How to Find Any File on Windows Like a Linux User (using Windows Powershell)](https://freecodecamp.org/news/find-any-file-on-windows-like-a-linux-user?utm_source=hashnode&utm_medium=feed)

Sometimes you might struggle to find a file or program when you have no idea where it could be saved or installed. And the Windows user interface may not always give you the results you want. If that'

29 min read · [freecodecamp.org](https://freecodecamp.org/news/find-any-file-on-windows-like-a-linux-user?utm_source=hashnode&utm_medium=feed)
