Advertisement
luisascoobydoo

profile

Jan 25th, 2017
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1.  
  2. #
  3. # This profile is generic and intended to support logins with a shared
  4. # nfs home directory.
  5. #
  6.  
  7. # Set up the terminal:
  8. if [ "$TERM" = "" ]
  9. then
  10. eval ` tset -s -Q -m ':?hp' `
  11. else
  12. eval ` tset -s -Q `
  13. fi
  14. stty erase "^H" kill "^U" intr "^C" eof "^D" susp "^Z"
  15. stty hupcl ixon ixoff
  16.  
  17. # Set up the search paths:
  18.  
  19. # Set up the shell environment:
  20. set -u
  21. trap "echo 'logout'" 0
  22.  
  23. # Set up the shell variables:
  24. EDITOR=vi
  25. export EDITOR
  26.  
  27. PATH=${PATH}:/usr/local/bin
  28. export PATH
  29.  
  30. #
  31. # Place any "per-host" settings in this section...
  32. #
  33.  
  34. PATH=${PATH}:.
  35. export PATH
  36.  
  37. umask 022
  38.  
  39. #export DISPLAY=172.31.10.190:0.0
  40.  
  41. #JAVA_HOME=/usr/local/java/1.6.0_11_x64
  42. #JAVA_HOME=/usr/local/java/1.7.0_11_x64
  43. #JAVA_HOME=/usr/local/java/1.8.0_66_x64
  44. #JAVA_HOME=/usr/java/jdk1.8.0_102
  45. JAVA_HOME=/usr/java/jdk1.7.0_80
  46.  
  47.  
  48. #PATH=${PATH}:${JAVA_HOME}/bin
  49. export JAVA_HOME
  50.  
  51. #export _JAVA_OPTIONS="-Xms2048m -Xmx2048m"
  52.  
  53. PATH=${JAVA_HOME}/bin:${PATH}
  54. export PATH
  55.  
  56. ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1
  57. # ORACLE_HOME=/usr/local/oracle10g
  58. PATH=${PATH}:${ORACLE_HOME}/bin
  59. export ORACLE_HOME PATH
  60.  
  61. function untar
  62. {
  63. what=$1
  64. gunzip < $1 | tar xvf -
  65. }
  66.  
  67. function clearlog
  68. {
  69. rm ../log/*
  70. rm -r ../cache/*
  71. }
  72.  
  73. function undb
  74. {
  75. sed '$ a PROS_EXECUTED_DB_SETUP=1' installer.properties > installer.properties.tmp
  76. mv installer.properties.tmp installer.properties
  77. }
  78.  
  79.  
  80. alias home='cd; cd /cygdrive/c/Documents*/flopez'
  81. alias cleanod='rm -fr cache/* rm -fr log/* rm -fr config/configurator/repository/*; ls -l cache log config/configurator/repository'
  82. alias lookfor='find . -type f -print | xargs grep -ins '
  83. alias lookforwcontext='find . -type f -print | xargs grep -insA 2 -B 2'
  84. #--alias ls='ls --color=always '
  85. alias down='home; cd My*/Down*; ls'
  86. alias dev='home; cd dev; ls'
  87. alias desk='home; cd Desktop; ls'
  88.  
  89. #PS1="\w [Flor] >>"
  90.  
  91. PS1="[\u@\h \w]\$"
  92.  
  93. export PS1
  94.  
  95. . ./.ond_bashrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement