Last active
May 11, 2016 00:58
-
-
Save techlunacy/39d03b4f775e1c6927fdb0fabdfdd525 to your computer and use it in GitHub Desktop.
Revisions
-
techlunacy revised this gist
May 11, 2016 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,10 @@ 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 -
techlunacy revised this gist
Apr 26, 2016 . 1 changed file with 10 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,13 @@ # SHELL COMMANDS ## SORT BY SIZE du -hs * | sort -h ## SHOW SUDO PERMISSIONS sudo -l ## SHOW ARCHITECTURE OF LINUX uname –a # GIT ## CHECKOUT SINGLE FILE FROM ANOTHER BRANCH git checkout branch -- filename -
techlunacy revised this gist
Apr 26, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,6 @@ du -hs * | sort -h # SHOW SUDO PERMISSIONS sudo -l # SHOW ARCHITECTURE OF LINUX uname –a -
techlunacy revised this gist
Apr 20, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # SORT BY SIZE du -hs * | sort -h # SHOW SUDO PERMISSIONS sudo -l -
techlunacy revised this gist
Apr 20, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,5 @@ # SORT BY SIZE `du -hs * | sort -h` # SHOW SUDO PERMISSIONS `sudo -l` -
techlunacy created this gist
Apr 10, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # SORT BY SIZE du -hs * | sort -h