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 :: corntab using nano 
Shell :: zoom ubuntu 18.04 
Shell :: for each line in file bash 
Shell :: add folder to path mac 
Shell :: install homebrew on ubuntu 
Shell :: nx: command not found 
Shell :: download spotify ubuntu 
Shell :: how to check mac address in linux 
Shell :: xrandr add 1366 
Shell :: ubuntu change permissions on folder and subfolders 
Shell :: how to uninstall app from terminal ubuntu 
Shell :: macbook how to reset launchpad 
Shell :: check bash version 
Shell :: uninstall in linux 
Shell :: device manager windows 10 run 
Shell :: git change origin 
Shell :: pipenv not found after pip3 install 
Shell :: How to grep for file name recursively with some file content 
Shell :: fix dual boot time ubuntu 
Shell :: centos upgrade nodejs 
Shell :: install apache2 ubuntu 
Shell :: curl without progress 
Shell :: how to check how many files are in a folder linux 
Shell :: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! 
Shell :: git clone branch 
Shell :: node-gyp 
Shell :: macos kill dns cache 
Shell :: find process id of port ubuntu 
Shell :: how to create tar in unix 
Shell :: destroy pipeline concourse 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =