First Steps in Linux

This page is meant as a stepping stone for new Linux users to understand the basics of what they are doing. If you are following along and your results do not look exactly the same (e.g. the colors are different, etc) that is okay!

The Terminal

You are likely familiar with this, but just in case you aren't, the terminal is a place where we will run all of our commands to do things like list files, create new files, run scripts, install software, etc. In SCR more often than not you will be running your commands in an environment that does not have any sort of User Interface and are constricted purely to the terminal, so getting used to it and learning the ins and outs will be incredibly useful. If you are using WSL, the terminal will be opened automatically for you (it is the only way to interact with Linux). If you dualbooted and have a full user interface, you can use the keybind CTRL + SHIFT + T to open a terminal (or use the search bar and type terminal to find the application). In Ubuntu, your terminal will look something like this (again, my theme will likely be different than yours).

Basic Commands

As I noted earlier, there are a ton of commands that you can run to do various things in the terminal. You can look more up online, and likely find articles written 10x better than this one all about it, but here are a few basic commands that you will probably use often

There are very likely more commands than this you will use and that you will learn throughout your time in Linux. There are tons of articles and videos online that can give you more in-depth explanations of Linux and how to use it. I've attached an image below of me running some of the basic commands above to show what they do.

Sudo

Just a quick note on this. Occasionally you will see commands ran with sudo before them, such as sudo apt install xyz or sudo ..., this means "super user". Basically, most things on linux require some set of permissions to perform and some commands require elevated permissions (similar to administrators on Windows) which is what prepending sudo is doing for you. Be very careful when running commands with sudo as these can have consquences. Specifically, any time you are running a command that can remove files like rm please be very careful.


Revision #3
Created 21 January 2026 14:33:33 by Dylan Zemlin
Updated 21 January 2026 21:59:06 by Dylan Zemlin