This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
#sudo mv hosts /etc/hosts | |
#for opensuse | |
#sudo zypper install neovim git sqlite sensors podman | |
# atop | |
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Script to find big files on Linux | |
#change 500M to required size | |
find / -type f -size +500M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }' | |
# fstrim with output | |
sudo fstrim --fstab --verbose |
NewerOlder