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 :: nodemon installation 
Shell :: jupyter command install 
Shell :: command to find out my git head version 
Shell :: configurar chave ssh gitlab 
Shell :: set alias for directory in powershell 
Shell :: git make new branch 
Shell :: linux check current umask 
Shell :: change git committed message 
Shell :: move repository from bitbucket to github 
Shell :: insert image into github wiki 
Shell :: error: insufficient permission for adding an object to repository database 
Shell :: append data to a file with cat command 
Shell :: precompile bits/stdc++.h 
Shell :: create a directory 
Shell :: git unstash 
Shell :: install docker 
Shell :: nginx install ssl certificate centos 
Shell :: apt upgrade full 
Shell :: gnu octave ubuntu 20.04 
Shell :: linux help 
Shell :: ubuntu enable network manager 
Shell :: ghost in the shell full movie 
Shell :: close vim 
Shell :: npm install different version 
Shell :: git push to new branch 
Shell :: shell: how to grep a string 
Shell :: docker compose commands 
Shell :: shell pipe 
Shell :: cordova could not install from "android" as it does not contain a package.json file. 
Shell :: LF will be replaced by CLRF 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =