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 :: linux give full permission to directory 
Shell :: remove env file from git 
Shell :: .desktop file 
Shell :: yarn install chocolatey 
Shell :: ubuntu get partition list 
Shell :: download vs code in linux 
Shell :: update git repo local 
Shell :: device manager cmd command 
Shell :: how to list all gnome extensions 
Shell :: show directory size linux 
Shell :: zsh add to path permanently 
Shell :: composer drush 
Shell :: why is merge removing gitingore 
Shell :: git see all tracked files 
Shell :: office 2016 activation crack 
Shell :: tar all files and subdirectories 
Shell :: aws cli create new profile 
Shell :: space in dock mac 
Shell :: linux check line exist in file 
Shell :: wget command not found mac 
Shell :: bash check if package is installed 
Shell :: Waiting for your editor to close the file... 
Shell :: xdg check defult browser 
Shell :: reset iptables ubuntu 
Shell :: go update all packages 
Shell :: store git credentials ubuntu 
Shell :: unzip bz2 file ubuntu 
Shell :: how to add path in ubuntu 
Shell :: git init repo 
Shell :: k8 svc url 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =