Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sudo command not found

su -
apt install sudo
usermod -aG sudo <username>
exit
Comment

sudo: command not found

ls -l foo.sh
Comment

sudo: apt: command not found

If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get
Comment

PREVIOUS NEXT
Code Example
Shell :: how to start nginx in linux 
Shell :: ubuntu install gimp 
Shell :: delete all zone identifier files 
Shell :: Error starting daemon: error while opening volume store metadata database: timeout 
Shell :: git user.name user.email 
Shell :: git save password global 
Shell :: how to kill a process on a port? 
Shell :: ubuntu settings missing 
Shell :: kill ubuntu port 
Shell :: ubuntu disabling IPV6 
Shell :: remote origin already exists 
Shell :: install telnet alpine 
Shell :: dns flush command 
Shell :: reload zshrc 
Shell :: nvm ubuntu 
Shell :: manjaro clean up disk space 
Shell :: git undo commit keep changes 
Shell :: Please install all available updates for your release before upgrading. 
Shell :: install putty on ubuntu 
Shell :: nginx control process exited with error code 
Shell :: install tmux ubuntu 
Shell :: check ffmpeg version command 
Shell :: ubuntu bluetooth not turning on 
Shell :: permission denied running shell script 
Shell :: [!] Android Studio (not installed) flutter 
Shell :: check ubuntu disk space 
Shell :: how to remove samba ubuntu 
Shell :: git config setting 
Shell :: ubuntu clean up disk space 
Shell :: show mac address in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =