mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 16:56:35 +00:00
add system
remove unnecessary files to clean your server
This commit is contained in:
parent
42df407113
commit
b5f01625ac
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-=-=-=-=-=-=-=-=-=-
|
||||||
|
Loading…
Reference in New Issue
Block a user