Advertisement
v1ral_ITS

Terminal CMD To Save Commands And List Them [ VERY HELPFUL ]

Apr 21st, 2018
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.89 KB | None | 0 0
  1. #!/bin/bash
  2. # ImPerial TeK Solutions (ITS)
  3. # Copyright (c) 2018 v1ral <ImPerialTeKSolutions@outlook.com>
  4. ##########################################
  5.     # Console colors             #
  6.     white='\033[0m'   # white (norm) #
  7.     red='\033[31m'    # red          #
  8.     green='\033[32m'  # green        #
  9.     orange='\033[33m' # orange       #
  10.     blue='\033[34m'   # blue         #
  11.     purple='\033[35m' # purple       #
  12.     cyan='\033[36m'   # cyan         #
  13.     gray='\033[37m'   # gray         #
  14. ##########################################
  15. S='sudo'
  16. # ELEVATED PRIVLEGES
  17. P='apt-get -y install'
  18. # AUTOMATIC ANSWER YES, INSTALLING ANY GIVEN APT PACKAGE
  19. PP='python-pip'
  20. # NEEDED PACKAGE BEFORE INSTALLING KEEP
  21. K='keep'
  22. # AWESOME PIP PACKAGE FOR SAVING TERMINAL COMMANDS
  23. PI='pip install'
  24. # FOR INSTALLING THE PIP KEEP PACKAGE
  25. #########
  26. # START #
  27. #########
  28. echo -e $red"Options: $orange \n1) Do You Have 'python-pip' Already Installed? \nIf You Are Not Sure Answer No \nWe Will Check $blue \n2) Answer=NO $gray \n3) Yes I Already Have 'python-pip' Installed \nPlease Now Install 'keep' For Me "
  29.  
  30. read n
  31. case $n in
  32.     1) $S $P $PP; $S $PI $K; echo "Please Wait.....";;
  33.     2) $S $P $PP; $S $PI $K; "Please Wait.....";;
  34.     3) $S $PI $K; "Please Wait.....";;
  35. esac
  36. echo -e $green"Congratulations!!! \nAll Done!!! $gray \nv1ral <ImPerialTeKSolutions@outlook.com> $orange \nBash Shell Scripts Made For You, Custom Made Scripts.... \nMake Your Daily Tasks Easier!!!! $blue \nEMAIL Us Today, We Can Help!!! "
  37.  
  38. echo -e $gray"OPTIONS: \n1) Send Us Feedback \nOr Inquire About A Script Made For You! \n2) No Thanks, Im Done! "
  39.  
  40. read nn
  41. case $nn in
  42.     1) read -p "Hit [E]nter & Copy Email, Hit [E]nter After To Bring Up Your Browser"; read -p "ImPerialTeKSolutions@outlook.com"; sleep 3; x-www-browser www.gmail.com;;
  43.     2) echo "$orange If You Ever Change Your Mind \nPlease Feel Free To Email Us Anytime @ \nImPerialTeKSolutions@outlook.com, THANKS! "
  44. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement