check_latest_version && sudo apt update && sudo apt upgrade -y
Check if the file or directory exists:
ls -la /path/to/file
pwd
file /path/to/file
Search for the file in the filesystem:
find / -name "filename" 2>/dev/null
locate filename
which command_name
Create required directory structure:
mkdir dirname
mkdir -p /path/to/nested/directory
ENOENT occurs when a program tries to access a file or directory that doesn't exist in the specified location.
strace -e trace=file command 2>&1 | grep ENOENT
echo $PATH
ldd /path/to/executable
stat /path/to/file