Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

aws cli ec2 list security groups

# Get EC2 Security Group
awsProfile="awsProfileName" # Use your aws profile name
instanceId="i-00000000000000000" # Enter instance ID
awsQuery="Reservations[].Instances[].{SecurityGroups:SecurityGroups}[0]"
aws --profile "$awsProfile" ec2 describeInstance --instance-ids "$instanceId" --query "$awsQuery"
Comment

PREVIOUS NEXT
Code Example
Shell :: rustup set default toolchain nightly 
Shell :: grep multiple strings 
Shell :: remove all files inside directory linux 
Shell :: ubuntu upgrade 
Shell :: launch powershell code runner 
Shell :: windows cd to another drive 
Shell :: Build-tool 32.0.0 rc1 is missing DX at dx.bat 
Shell :: problema hora windows ubuntu 
Shell :: linux local bin add to path 
Shell :: push clone repo to own repo 
Shell :: git change remote branch name 
Shell :: how to install apple music ubuntu 
Shell :: debian docker 
Shell :: oh my zsh apple m1 
Shell :: how to commit to github from terminal 
Shell :: schedule shell script mac 
Shell :: certbot expand certificate 
Shell :: linux print screen 
Shell :: xcopy folder to another folder 
Shell :: ionic start server 
Shell :: instal kubectl ubutu 
Shell :: deactivate laptop keyboard ubuntu 
Shell :: find java home 
Shell :: install pcl ubuntu 
Shell :: mongodb server stop command in kali linux 
Shell :: echo export path 
Shell :: nuxt install 
Shell :: delete github credentials in windows 
Shell :: add local project to bitbucket 
Shell :: forgot password ubuntu wsl 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =