Guest User

Untitled

a guest
Jul 15th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. -----------------------------------------------------------------------------------------------------
  2.  
  3.  
  4.  
  5. ~> cat .cshrc
  6. setenv LC_ALL en_US.ISO8859-1
  7. setenv MM_CHARSET en_US.ISO8859-1
  8. setenv LANG en_US.ISO8859-1
  9. alias h history 25
  10. alias j jobs -l
  11. alias la ls -a
  12. alias lf ls -FA
  13. alias ll ls -lA
  14. setenv EDITOR /usr/bin/edit
  15. setenv PAGER more
  16. setenv BLOCKSIZE K
  17.  
  18. --------------------------------------------------------------------------------------------------
  19.  
  20.  
  21.  
  22.  
  23. ~> cat .login
  24. # $FreeBSD: src/share/skel/dot.login,v 1.17.2.1.6.1 2010/12/21 17:09:25 kensmith Exp $
  25. #
  26. # .login - csh login script, read by login shell, after `.cshrc' at login.
  27. #
  28. # see also csh(1), environ(7).
  29. #
  30.  
  31. if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips
  32.  
  33. -----------------------------------------------------------------------------------------------------
  34.  
  35.  
  36.  
  37.  
  38. ~> cat .profile
  39. # $FreeBSD: src/share/skel/dot.profile,v 1.23.2.1.6.1 2010/12/21 17:09:25 kensmith Exp $
  40. #
  41. # .profile - Bourne Shell startup script for login shells
  42. #
  43. # see also sh(1), environ(7).
  44. #
  45.  
  46. # remove /usr/games if you want
  47. PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
  48.  
  49. # Setting TERM is normally done through /etc/ttys. Do only override
  50. # if you're sure that you'll never log in via telnet or xterm or a
  51. # serial line.
  52. # Use cons25l1 for iso-* fonts
  53. # TERM=cons25; export TERM
  54.  
  55. BLOCKSIZE=K; export BLOCKSIZE
  56. EDITOR=vi; export EDITOR
  57. PAGER=more; export PAGER
  58.  
  59. # set ENV to a file invoked each time sh is started for interactive use.
  60. ENV=$HOME/.shrc; export ENV
  61.  
  62. if [ -x /usr/games/fortune ] ; then /usr/games/fortune freebsd-tips ; fi
  63.  
  64. ---------------------------------------------------------------------------------------------------
  65.  
  66.  
  67.  
  68.  
  69. ~> cat .shrc
  70. # $FreeBSD: src/share/skel/dot.shrc,v 1.3.36.1.6.1 2010/12/21 17:09:25 kensmith Exp $
  71. #
  72. # .shrc - bourne shell startup file
  73. #
  74. # This file will be used if the shell is invoked for interactive use and
  75. # the environment variable ENV is set to this file.
  76. #
  77. # see also sh(1), environ(7).
  78. #
  79.  
  80.  
  81. # file permissions: rwxr-xr-x
  82. #
  83. # umask 022
  84.  
  85. # Enable the builtin emacs(1) command line editor in sh(1),
  86. # e.g. C-a -> beginning-of-line.
  87. set -o emacs
  88.  
  89. # Uncomment this and comment the above to enable the builtin vi(1) command
  90. # line editor in sh(1), e.g. ESC to go into visual mode.
  91. # set -o vi
  92.  
  93.  
  94. # some useful aliases
  95. alias h='fc -l'
  96. alias j=jobs
  97. alias m=$PAGER
  98. alias ll='ls -laFo'
  99. alias l='ls -l'
  100. alias g='egrep -i'
  101.  
  102. # # be paranoid
  103. # alias cp='cp -ip'
  104. # alias mv='mv -i'
  105. # alias rm='rm -i'
  106.  
  107.  
  108. # # set prompt: ``username@hostname$ ''
  109. # PS1="`whoami`@`hostname | sed 's/\..*//'`"
  110. # case `id -u` in
  111. # 0) PS1="${PS1}# ";;
  112. # *) PS1="${PS1}$ ";;
  113. # esac
  114.  
  115. # search path for cd(1)
  116. # CDPATH=.:$HOME
  117.  
  118. ----------------------------------------------------------------------------------------------------
  119.  
  120.  
  121.  
  122.  
  123.  
  124. /etc> cat profile
  125. # $FreeBSD: src/etc/profile,v 1.14.30.2.4.1 2010/12/21 17:09:25 kensmith Exp $
  126. #
  127. # System-wide .profile file for sh(1).
  128. #
  129. # Uncomment this to give you the default 4.2 behavior, where disk
  130. # information is shown in K-Blocks
  131. # BLOCKSIZE=K; export BLOCKSIZE
  132. #
  133. # For the setting of languages and character sets please see
  134. # login.conf(5) and in particular the charset and lang options.
  135. # For full locales list check /usr/share/locale/*
  136. # You should also read the setlocale(3) man page for information
  137. # on how to achieve more precise control of locale settings.
  138. #
  139. # Check system messages
  140. # msgs -q
  141. # Allow terminal messages
  142. # mesg y
Add Comment
Please, Sign In to add comment