Linux Basic Guide (Ubuntu/Kali)

Commands, concepts, and programs tutorial

Installing WSL

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

After restart:

wsl --install

After restart, go to Microsoft Store, pick whatever distribution you like & install it.

Working Directory (WD)

cd (Change Directory)

Usage: cd {PATH}

Root Permissions

Files/Directories

Working with files

Running executables

Package Manager

Helping Programs

Environment Variables

The system has some variables with assigned values, so programs can use it

File Permissions

When doing ll, here is an expected output:

drwxrwxrwx root root
lrwxr-xr-- root root
-rw-rw-r-- user user

For more, check this page

Tricks