Skip to content

Instantly share code, notes, and snippets.

@valguss
Last active August 29, 2015 14:07
Show Gist options
  • Save valguss/1f0f00eb85cf1e08c9f2 to your computer and use it in GitHub Desktop.
Save valguss/1f0f00eb85cf1e08c9f2 to your computer and use it in GitHub Desktop.
Helpful Linux Commands
Magento Grab Database:
mysqldump --routines -u root -p db_name -h 127.0.0.1 --lock-tables=false --single-transaction | gzip -9 > db_name.sql.gz
#see what CVE's are fixed
rpm -q --changelog openssh | grep CVE
rpm -q --changelog openssl | grep CVE-2014-0160
#master process listening on port
/usr/sbin/lsof -i:3306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment