Skip to content

Instantly share code, notes, and snippets.

View mohammedali64's full-sized avatar

mohammedali64

View GitHub Profile
@mohammedali64
mohammedali64 / cliDrill2
Last active November 5, 2025 07:36
CLI commands drill 2
#Download the contents of "Harry Potter and the Goblet of fire" using the command line
mohammedali@Mohammeds-MacBook-Pro dir1 % curl -O https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1113k 100 1113k 0 0 216k 0 0:00:05 0:00:05 --:--:-- 255k
mohammedali@Mohammeds-MacBook-Pro dir1 % ls
cliDrill2 file.txt
drill2.txt Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
dummy.txt HarryPotter.txt
mohammedali@Mohammeds-MacBook-Pro dir1 % mv Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt hp.txt
@mohammedali64
mohammedali64 / drill1.sh
Created November 4, 2025 10:46
CLI Commands drill 1
# Main Directory
mkdir hello
cd hello
# Created directories
mkdir five
mkdir one
# Work inside 'five'
cd five