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 :: go back to previous commit 
Shell :: ruby on rails install 
Shell :: read input from multiple lines in BASH 
Shell :: venv git 
Shell :: sail command not found 
Shell :: powershell get disk space remote computer 
Shell :: create a new repository on the command line on GitHub 
Shell :: get version of mongodb server 
Shell :: failed to open stream: No space left on device linode 
Shell :: mongo shell command to create database 
Shell :: create a directory and change to it command line 
Shell :: Date time in linux prompt 
Shell :: git add untracked to gitignore 
Shell :: cli50 documentation 
Shell :: linux which command 
Shell :: ubuntu 20.04 aufräumen 
Shell :: reverse a django migration 
Shell :: mac kill process 
Shell :: git undo all changes 
Shell :: linux list recursive 
Shell :: how to git commit and push 
Shell :: bash concatenate string variables 
Shell :: how to install raspap 
Shell :: add ufw rule from 
Shell :: ubuntu useradd 
Shell :: set alias for directory in powershell 
Shell :: deploy django site to aws 
Shell :: git rebase a local branch into my branch 
Shell :: Create Boxes Around Text 
Shell :: bash read command examples 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =