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
#!/bin/bash | |
YELLOW="\033[1;33m" | |
RED="\033[1;31m" | |
WHITE="\033[1;37m" | |
ENDCOLOR="\033[0m" | |
if [ $USER != root ]; then | |
echo -e $RED"Error: must be root"$ENDCOLOR | |
echo "command : sudo $0" |
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
#!/bin/bash | |
YELLOW="\033[1;33m" | |
RED="\033[1;31m" | |
WHITE="\033[1;37m" | |
ENDCOLOR="\033[0m" | |
# Root Check | |
if [ $USER = root ]; then | |
echo -e $RED"Error: must be not root"$ENDCOLOR |
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
#!/bin/bash | |
######################################################################################################### | |
## Linux System Cleaning Script | |
## | |
## Code by : Dimas Toha Pramawitra (Lonehack) | |
## <[email protected]> | |
## Created : 04 Feb 2014 | |
## Modified : 13 Jun 2016 | |
## |
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
#!/bin/bash | |
######################################################################################################### | |
## OpenCV Uninstallation Script | |
## | |
## Code by : Dimas Toha Pramawitra (Lonehack) | |
## <[email protected]> | |
## Created : 20 Mar 2016 | |
## Modified : 16 Apr 2016 | |
## |
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
#!/bin/bash | |
######################################################################################################### | |
## OpenCV Installation Script | |
## | |
## Code by : Dimas Toha Pramawitra (Lonehack) | |
## <[email protected]> | |
## Created : 20 Mar 2016 | |
## Modified : 16 Apr 2016 | |
## |