mirror of
https://github.com/hakluke/how-to-exit-vim.git
synced 2025-05-01 19:26:41 +02:00
Update README.md
This commit is contained in:
parent
58e647a30c
commit
bb121c445a
1 changed files with 5 additions and 0 deletions
|
@ -639,3 +639,8 @@ ssh -i <ec2 keypair pem location> ec2-user@<ec2 instance ip address>
|
|||
vim
|
||||
```
|
||||
5. In the AWS EC2, select the newly created EC2 instance and terminate the instance.
|
||||
|
||||
## The AWS CLI Wau
|
||||
```
|
||||
!aws --region `ec2-metadata --availability-zone | sed 's/placement: \(.*\).$/\1/'` ec2 stop-instances --instance-ids `wget -q -O - http://169.254.169.254/latest/meta-data/instance-id`
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue