Moved Content
This commit is contained in:
100
Linux/Commands.md
Normal file
100
Linux/Commands.md
Normal file
@@ -0,0 +1,100 @@
|
||||
A list of good to know commands in debian terminal
|
||||
|
||||
|
||||
---
|
||||
## File managment
|
||||
|
||||
Print content to the terminal from a file
|
||||
``` Bash
|
||||
cat "file"
|
||||
```
|
||||
|
||||
Edit a file in the terminal
|
||||
``` Bash
|
||||
Nano "file"
|
||||
```
|
||||
|
||||
Copy folder/file
|
||||
``` Bash
|
||||
cp "source" "destionation"
|
||||
```
|
||||
|
||||
Move folder/file
|
||||
``` Bash
|
||||
mv "source" "destionation"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Navigation
|
||||
|
||||
Navigiate into a subfolder
|
||||
``` Bash
|
||||
cd folder
|
||||
```
|
||||
|
||||
Navigate to the previoes folder
|
||||
``` Bash
|
||||
cd ..
|
||||
```
|
||||
|
||||
Navigate to the root folder of the system
|
||||
``` Bash
|
||||
cd /
|
||||
```
|
||||
|
||||
Shows the current filepath you are in
|
||||
``` Bash
|
||||
pwd
|
||||
```
|
||||
|
||||
---
|
||||
## Networking
|
||||
|
||||
``` Bash
|
||||
ipconfig
|
||||
```
|
||||
|
||||
``` Bash
|
||||
ip addr shpw
|
||||
```
|
||||
|
||||
``` Bash
|
||||
Ping "domain"
|
||||
```
|
||||
|
||||
``` Bash
|
||||
Hostname
|
||||
```
|
||||
|
||||
|
||||
|
||||
---
|
||||
## Package managment
|
||||
|
||||
``` Bash
|
||||
sudo apt autoremove
|
||||
```
|
||||
|
||||
``` Bash
|
||||
sudo apt install "Package"
|
||||
```
|
||||
|
||||
``` Bash
|
||||
sudo apt remove "Package"
|
||||
```
|
||||
|
||||
``` Bash
|
||||
sudo apt update
|
||||
```
|
||||
|
||||
``` Bash
|
||||
sudo apt upgrade
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user