---
title: Linux Fundimentals
author: Jonah Faas
description: This page will give an overview and some use cases for linux fundimentals
published: 2/17/2025
---
# Linux Fundimentals
## Links
- [Home](/home.md)
- [cloud-infastructure](/cloud-infastructure.md)
- [contanerization](/contanerization.md)
- [linux-fundamentals](/linux-fundamentals.md)
- [version-control](/version-control.md)
### Overview
    Linux is a free open source OS often used because of its flexibility and security features, because it is open source its code can be modified and distributed to team members easily
### Use Cases
Super user do

`sudo`

List Files

`ls (-a shows-all-files) (-l shows-detailed-info)`

Change Directory

`cd`

Print Working Directory

`pwd`

Create File

`touch (filename.extention)`

Edit

`vi (filename)`

`i (insert)`

`(esc-key-to-exit)`

`:wq (save-quit)`

`:q! (quits-without-saving)`

Create Folder

`mkdir (-p can-create-subfolders-at-same-time)(foldername)`

Install

`dnf/yum (install)(-y automatically-agrees-to-install) (filename) (update updates-list-of-out-of-date-files) (upgrade upgrades-out-of-date-files)`

System Control

`systemctl (enable) (start) (status) (package-name)`

Copy

`cp (filename) (destination-filename)`

Move/Rename

`mv (filename) (new-filename-with-destination)`

Remove

`rm (filename) (-d removes-folder-won't-work-if-not-empty) (-r go-through-all-files-and-folders-under)(-f force)`

Add User

`adduser (username) (-c adds-name)`

Add Password

`passwd (username) (password)`

Add Group

`groupadd (groupname)`

Add User to Group

`usermod (username) (-aG adds-group-to-user) (groupname)`

Change Mode

`chmod (between-000-and-777)`

Change Owner

`chown (user) (filename)`

Change Group

`chgrp (groupname) (filename)`

Check IP

`ipconfig/ip addr`

Ping

`ping (ip-address)`

Get Files

`wget (url)`

Get and Send Files

`curl (url)`

