Basic commands in Linux not working : -bash: vim: No such file or directorySolution: Reset your path with the following command # export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin