Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

ebenzecri/aws-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

aws-toolkit

Amazon Web Services (AWS) tools

cleanmyami.sh

Clean an EC2 instance before create a new AMI

Usage

As non root user

set +o history

history -c

sudo -i

As root user

set +o history

history -c

bash <(curl -s https://raw.githubusercontent.com/ebenzecri/aws-toolkit/master/cleanmyami.sh)

What this script does?

  • Delete files or directories you specify
  • Delete SSH keys from all users
  • Clean cached packages
  • Clean logs
  • Clean bash history for all users

About

Amazon Web Services (AWS) tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages