Linux SSH Komutları

HDD Partition

df -h

Folder size

du -h

ssh connection

ps aux | grep ssh
sudo netstat -natp | grep sshd

ssh history
cat /dev/null > ~/.bash_history && history -c && exit

Kernel Upgrade

sudo apt-get update
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10.6/linux-headers-4.10.6-041006_4.10.6-041006.201703260832_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10.6/linux-headers-4.10.6-041006-generic_4.10.6-041006.201703260832_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10.6/linux-image-4.10.6-041006-generic_4.10.6-041006.201703260832_amd64.deb
sudo dpkg -i linux-headers-4.10.6*.deb linux-image-4.10.6*.deb
mv /etc/grub.d/06_OVHkernel /etc/grub.d/25_OVHkernel
update-grub
reboot