mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-08-22 03:43:16 +02:00
add system
remove unnecessary files to clean your server
This commit is contained in:
12
README.md
12
README.md
@ -2197,7 +2197,17 @@ check ntp:
|
|||||||
```bash
|
```bash
|
||||||
ntpq -p
|
ntpq -p
|
||||||
```
|
```
|
||||||
|
##### remove unnecessary files to clean your server
|
||||||
|
```bash
|
||||||
|
sudo apt-get autoremove
|
||||||
|
sudo apt-get clean
|
||||||
|
sudo rm -rf ~/.cache/thumbnails/*
|
||||||
|
```
|
||||||
|
Remove old kernal:
|
||||||
|
```bash
|
||||||
|
sudo dpkg --list 'linux-image*'
|
||||||
|
sudo apt-get remove linux-image-OLDER_VERSION
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||||
|
Reference in New Issue
Block a user