

Yes you can do loads with your Raspberry Pi. Certainly you can install ARM based linux distros onto it, but with an older model you’re best using a Pi specific linux distro.
The official Raspberry Pi OS is linux and is compatible with all Raspberry Pi models - there is a universal 32bit version and a 64bit version for newer models 3+.
There is also Dietpi which tries to be more lightweight and optimised.
You can image either distro onto an SD card and run it on the Pi. If you connect the pi to your network you can run it headless and access it via SSH on your PC.
However, if you main aim is to learn and play with Linux, then it is worth considering alternatives. For example, you could install VirtualBox on your Windows PC, and create a virtual PC to run any X86 linux distro you’d like on it. That can include small systems with command line only or a full desktop environment of your choice. That would likely give you much higher performance and options than a 10 year old raspberry pi can offer.
The Pi is good if you want an always on server device to play with Linux on. The Virtual machine route is good if you want a more powerful system to play with occasionally when you feel like it.

That’s great! Here’s a few tips to take it a bit further; the world is your oyster!
Open your .bashrc file (e.g. /home/yourusername/.bashrc) and add the following:
alias get="/path/to/your/bash/file"Now open a terminal and type get, and it’ll launch the script. No clicking needed, it’ll run anytime from any terminal!
And if you do use the alias then you can use another refinement, you can drop the echo: instead of $a, you can use $1 and remove the echo & read as you no longer need them:
#! /usr/bin/bash yt-dlp -x $1Now for example you can type in a terminal:
get http://url.to.video/And yt-dlp will do it’s stuff. $1 passes the first parameter after starting the script as a variable to it.
You can use the keyboard shortcut Control+shift+v to paste a URL into the terminal, no mouse needed; just remember to add a space after typing get