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 :: notepad++ alternative 
Shell :: npm install sql 
Shell :: bash xargs 
Shell :: git pull with username and password linux 
Shell :: linux cut 
Shell :: cli edit file 
Shell :: linux zip file 
Shell :: Git create a new repository on the command line 
Shell :: how to install deepin desktop environment on ubuntu 20.10 
Shell :: kdiff3 download linux 
Shell :: bash check if file is readable 
Shell :: awk field separator multiple characters 
Shell :: ubuntu lamp setup 
Shell :: move linux 
Shell :: create zip file command line 
Shell :: gitlab gradle project 
Shell :: merge master into local branch 
Shell :: adding to git 
Shell :: store environment variables firebase 
Shell :: git pull only master branch 
Shell :: git rebase head 
Shell :: uname -r command 
Shell :: change default location screen mac 
Shell :: script for restart redis service automatically 
Shell :: conda install minio 
Shell :: linux os 
Shell :: conda install spyder 4.2.5 
Shell :: W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures were invalid: KEYEXPIRED 1622248854 
Shell :: how to show two table side by side in github readme 
Shell :: libsound2-dev missing 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =