check_latest_version && sudo apt update && sudo apt upgrade -y
Install required software:
sudo apt install package
sudo yum install package
which command
Verify PATH variable:
echo $PATH
export PATH=$PATH:/new/dir
hash -r
Specify complete path:
/usr/bin/command
./script.sh
whereis command
The shell cannot locate the specified command in any directory listed in the PATH variable.
type command
find /usr -name command
dpkg -S command