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 :: view certificate openssl 
Shell :: gitlab push to create 
Shell :: ubuntu 20.04 ifconfig public ip address 
Shell :: ssh list port forwards 
Shell :: pip install influxdb 
Shell :: install wordpress on centos 7 
Shell :: shell script tutorial 
Shell :: PowerShell script block 
Shell :: Fetch submodules recursively 
Shell :: add co author git 
Shell :: how to install windows sdk 
Shell :: linux ip route add 
Shell :: cmd run exe as service 
Shell :: delete a folder then git push 
Shell :: clear command in linux 
Shell :: github.com api 
Shell :: signing key android 
Shell :: E: Unable to locate package libclang-cpp-dev 
Shell :: duplicate wsl distro 
Shell :: Create and edit a new file nano 
Shell :: delete remote git tags matching pattern 
Shell :: To exclude directory with particluar pattern : 
Shell :: git apply trailing whitespace 
Shell :: remote: Permission to asfand005/test.git denied to asfand87. 
Shell :: install grafana on amazon linux 2 
Shell :: remove image docker 
Shell :: bash cake command not found 
Shell :: list relative path windows 
Shell :: install next-auth 
Shell :: install firefox redhat 7 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =