Showing some Useful Linux Commands and Some Useful Tips when using the Linux Operating systems
df -aTH
Shows Mounted Devices and Drives
jq . [NameOfJSONFi]
This is to beautify the JSON Output in the terminal
sudo v4l2-ctl --list-devices
This Commands Returns Connected USB Devices
sudo apt update
This will update your systems packages
sudo apt upgrade
This will upgrade your systems packages
sudo apt install [NameOfApplication]
This will install the Application that can be subsituied with [Name of Application]
sudo nala upgrade
Same as apt but better , This will upgrade your systems packages
sudo nala update
Same as apt but better, This will upgrade your systems packages
sudo nala install [NameOfApplication]
Same as apt but better,This will install the Application that can be subsituied with [Name of Application]
sudo demsg
This shows device messages or systems messages
sudo ifconfig
This will show system network interfaces
sudo systemctl stop [NameOfAppliactionORService]
This will stop an Application or Service
sudo systemctl start [NameOfAppliactionORService]
This will start an Application or Service
sudo adduser [Username]
This will add the new users
sudo usermod -aG [Username] sudo
This will add a user to the sudo Group
sudo netplan apply
To apply the network config
sudo systemctl restart networking
This will restart the networking settings
sudo lspci -nn
View Hardward Information for PCI Devices
sudo lsusb -v
View Hardware Information for USB Devices
sudo a2ensite [VirtualHostConfigFile]
Enables a Virtualhost in Apache2
sudo a2dissite [VirtualHostConfigFile]
disables a Virtualhost in Apache2