khalilasharen

Merubah tampilan terminal linux

Apr 19th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. #!/bin/bash
  2. #------------------------------------------////
  3. # Bash
  4. # Last Modified 1 Februari 2013 j0ck3r
  5. # Running on Backtrack 5
  6. #------------------------------------------////
  7. #------------------------------------------////
  8. # Colors:
  9. #------------------------------------------////
  10. black='\e[0;30m'
  11. blue='\e[0;34m'
  12. green='\e[0;32m'
  13. cyan='\e[0;36m'
  14.  
  15. red='\e[0;31m'
  16. purple='\e[0;35m'
  17. brown='\e[0;33m'
  18. lightgray='\e[0;37m'
  19. darkgray='\e[1;30m'
  20. lightblue='\e[1;34m'
  21. lightgreen='\e[1;32m'
  22. lightcyan='\e[1;36m'
  23. lightred='\e[1;31m'
  24. lightpurple='\e[1;35m'
  25. yellow='\e[1;33m'
  26. white='\e[1;37m'
  27. nc='\e[0m'
  28. #------------------------------------------////
  29. # Some original .bashrc contents:
  30. #------------------------------------------////
  31. # If not running interactively, don't do anything
  32. [ -z "$PS1" ] && return
  33. # don't put duplicate lines in the history. See bash(1) for more options
  34. export HISTCONTROL=ignoredups
  35. # update the values of LINES and COLUMNS.
  36. shopt -s checkwinsize
  37. # make less more friendly for non-text input files, see lesspipe(1)
  38. [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
  39. # set variable identify\e[1;32ming the chroot you work in (used in the prompt below)
  40. if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
  41. debian_chroot=$(cat /etc/debian_chroot)
  42. fi
  43. #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]j0ck3r@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
  44. #------------------------------------------////
  45. # Prompt:
  46. #------------------------------------------////
  47.  
  48. #PS1='\e[0;36m\h\[\e[0;36m\] \w \[\033[00m\] $ \[\033[00m\]'
  49. PS1='\033[01;32mj0ck3r\[\033[01;32m\]@\[\033[01;32m\]\h\[\033[00;32m\]{\[\033[01;32m\]\w\[\033[01;32m\]}\[\033[01;32m\]:\[\033[00m\]'
  50. #PS1='\e[0;36m\W\@ \$\e[m '
  51. #if [ `id -un` != root ]; then
  52. #PS1="[${EGR}\u@\h${EBL} \W${NONE}]# "
  53. #else
  54. #PS1="[${ERD}\h${EBL} \W${NONE}]# "
  55. #fi
  56. #------------------------------------------////
  57. # System Information:
  58. #------------------------------------------////
  59. echo -e "${lightblue}";figlet "tulisan yg ingin dimunculkan dalam ascii";echo "=========================Please Identify u'r Personal Employed================"
  60. echo -ne ${lightblue}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  61. echo -ne ${lightgreen}Today is:${red} `date`; echo
  62. echo -e ${lightgreen}Kernel Information: ${red} `uname -smr`
  63. echo -e ${lightgreen}Time: ${red} `date +%r`
  64. echo -e ${lightgreen}Date: ${red} `date +%d-%m-%Y`
  65. echo -e ${lightgreen}User: ${red} `whoami`
  66. echo -e ${lightred}Just Ordinary People
  67. echo -e ${white}${italic}This is My world,world composed of the digits 0 and 1
  68. #echo -e \t \t ${cyan}@${white}j${lightgreen}0${white}c${red}k${yellow}3${green}r
  69. echo -ne ${lightblue}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Advertisement
Add Comment
Please, Sign In to add comment