https://github.com/sekky61/aoc-bash
Some of the AoC challanges written in Bash and Linux utilities
https://github.com/sekky61/aoc-bash
aoc bash linux
Last synced: about 2 months ago
JSON representation
Some of the AoC challanges written in Bash and Linux utilities
- Host: GitHub
- URL: https://github.com/sekky61/aoc-bash
- Owner: Sekky61
- Created: 2023-12-01T23:27:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T14:36:24.000Z (over 2 years ago)
- Last Synced: 2025-08-27T09:45:29.630Z (10 months ago)
- Topics: aoc, bash, linux
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Advent of Code 2023 using Bash
This repository contains my solutions for the Advent of Code 2023 challenges, implemented in Bash.
More specifically, using Bash and unix utilities.
## Directory Structure
Each day's solutions are organized into separate directories.
```
/Day-XX
├── input.txt
├── part-1.sh
└── part-2.sh
```
## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/Sekky61/aoc-bash.git
cd aoc-bash
```
2. Navigate to the specific day's directory (a needed step):
```bash
cd Day-01
```
3. Run the solution scripts:
```bash
bash part-1.sh
bash part-2.sh
```
## Automated Day Setup
1. Create the file `cookies.txt` in the root directory and paste your session cookie from the AoC website into it.
2. Run the script with the desired day number:
```bash
./create.sh
```
3. The script creates a directory (Day-), an empty input.txt file, and populates part-1.sh and part-2.sh with templates.
4. Navigate to the day's directory and start solving the challenges!