---
title: "Discussion on \"A Simple bash script to check the age of a user.\" | Hashnode"
description: "Discussion on \"A Simple bash script to check the age of a user.\". Introduction\nBash scripting is a powerful way to automate tasks on Linux systems. In this article, I’ll walk you through a simple bash script that asks a user for their age and prints whether they are an adult or not.\nPrerequisites\nBefore running thi..."
url: "https://hashnode.com/posts/automate-file-organization-with-a-simple-bash-script/6887c1a9638313e45fd76151"
---

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

Discussion

# [A Simple bash script to check the age of a user.](https://soniab.hashnode.dev/automate-file-organization-with-a-simple-bash-script?utm_source=hashnode&utm_medium=feed)

Introduction Bash scripting is a powerful way to automate tasks on Linux systems. In this article, I’ll walk you through a simple bash script that asks a user for their age and prints whether they are an adult or not. Prerequisites Before running thi...

Jul 28, 2025 · 2 min read · soniab.hashnode.dev  
Updated Jul 31, 2025  
Read the article

-   [#bashscripting](https://hashnode.com/tag/bashscripting)

## Written by

[Sonia Umoru](https://hashnode.com/@sonia527)

@sonia527

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
