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 :: How To Create Notification Using Batch Script 
Shell :: view rpm info 
Shell :: bash run until success or timeout 
Shell :: how to take two ip addresses and perform arithemetic bash 
Shell :: install tidyverse ubuntu 20.04 
Shell :: docker install ubuntu 
Shell :: crontab syntax 
Shell :: scp command show status 
Shell :: --no-check-certificate while running a script 
Shell :: mkdir -p exemple 
Shell :: bash forward argv to command 
Shell :: apache show connections 
Shell :: install homebrew in mac 12 
Shell :: Make sure /usr/local/bin is in your PATH environment variable. 
Shell :: pipe multi-line string into file 
Shell :: 200 response .htaccess 
Shell :: how to get mcp23017 input in binary shell 
Shell :: conda-forge install web_manager 
Shell :: linux remove non empty directory 
Shell :: terminal mkdir and cd 
Shell :: delete git local branch 
Shell :: running kubernetes dasboard 
Shell :: change permission to connect your SSH instance mac 
Shell :: how to push code into github reposityory 
Shell :: git remove submodule 
Shell :: how to change branches in githup from terminal 
Shell :: how get pods in kuber 
Shell :: bash array number range from var 
Shell :: undo git amend 
Shell :: clear git bash command history 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =