Last active
May 11, 2016 00:58
-
-
Save techlunacy/39d03b4f775e1c6927fdb0fabdfdd525 to your computer and use it in GitHub Desktop.
commands i need to remember
This file contains hidden or 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
| # SHELL COMMANDS | |
| ## SORT BY SIZE | |
| du -hs * | sort -h | |
| ## SHOW SUDO PERMISSIONS | |
| sudo -l | |
| ## SHOW ARCHITECTURE OF LINUX | |
| uname –a | |
| # YUM | |
| ## SHOW DUPLICATE PACKAGES IN A YUM REPOSITORY | |
| yum list available package-name --showduplicates | |
| # GIT | |
| ## CHECKOUT SINGLE FILE FROM ANOTHER BRANCH | |
| git checkout branch -- filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment