Linux Commands

apt-get update && apt-get upgrade -y
sudo apt autoremove -y

ip -4 -br a

du -sh /data

ls -lh --block-size=1M | awk '{printf "%.2f MB (%.2f GB) %s\n", $5, $5/1024, $9}' | sort -k2 -hr

#!/bin/bash

sudo apt update -y

sudo apt upgrade -y

#sudo apt-get install apache2 -y

#sudo systemctl start apache2

#sudo systemctl enable apache2

sudo timedatectl set-timezone Asia/Kolkata

sudo hostnamectl set-hostname veeam

sudo apt install -y build-essential git curl wget

sudo apt install -y htop unzip tmux