Last active
December 11, 2015 07:19
-
-
Save daniyalzade/4565801 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MySQL get number of rows per table | |
select TABLE_NAME, TABLE_ROWS, DATA_LENGTH from INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'db_name'; | |
# Delete vim files | |
rm -rf ls -l **/.*.swp | |
# Find large ( 100MB > ) files | |
sudo find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment