Skip to content

Instantly share code, notes, and snippets.

View Nidheesh9's full-sized avatar

NIDHEESH KUMAR RAO Nidheesh9

View GitHub Profile
@Nidheesh9
Nidheesh9 / CLI_Drill_2.sh
Created October 30, 2025 10:53
Solved CLI Drill 2
# Pipes
# 1. Download the Harry Potter text file and save it as novel.txt
curl https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt > novel.txt
# 2. Display the first 3 lines of novel.txt
head -n 3 novel.txt
# 3. Display the last 10 lines of novel.txt
tail -n 10 novel.txt
@Nidheesh9
Nidheesh9 / CLI_Drill_1.sh
Last active October 30, 2025 09:40
Solved CLI Drill 1
# 1. Created the given directory structure
# Create a directory named hello
mkdir hello
# Move into hello directory
cd hello
# Create a directory named one
mkdir one