Horje
Run multiple commands over SSH as sudo Code Example
Run multiple commands over SSH as sudo
ssh -t user@server sudo -- "sh -c 'apt update && apt upgrade -y'"
# For example, ec2 Debian or Ubuntu Linux server can be updated as follows
ssh -t ls.www-2 sudo -- "sh -c 'apt update && apt upgrade -y'"




Shell

Related
vscode fedora Code Example vscode fedora Code Example
find command absolute path Code Example find command absolute path Code Example
dd utility explained examples Code Example dd utility explained examples Code Example
watch and compile scss command Code Example watch and compile scss command Code Example
get-distributiongroupmember exchange online missing cmdlet Code Example get-distributiongroupmember exchange online missing cmdlet Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9