linux basic commands
linux basic commands
# Package Management
sudo apt update
# Updates the package lists for upgrades and new package installations.
# Service Management
sudo systemctl start service_name
# Starts the specified service.
du -sh /path/to/directory
# Displays the size of the specified directory.
# Network Management
ip a
# Displays all network interfaces and their statuses.
# System Monitoring
top
# Displays real-time system information including CPU and memory usage.
free -h
# Displays memory usage in a human-readable format.