Editing
Archive
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Bash files=== ====/localhost/share/userconf/bashrc==== # bashrc - System-wide initialization for everybody's ~/.bashrc # Directories to consider as ``local improvements'' to the operating system. prefix=/localhost/usr exec_prefix=${prefix} x_prefix=/usr/openwin # First, add the local directories into the paths. export INFOPATH=${prefix}/info export MANPATH=${prefix}/share/man:${prefix}/man export PATH=${exec_prefix}/bin:/localhost/bin export LD_LIBRARY_PATH="${exec_prefix}/lib" export PRINTER=101@ps export MOZILLA_HOME=/local/lib/communicator # Add in the the /usr/local directory for host-specific binaries. if [ -d "/usr/local" ]; then case "$MANPATH" in */usr/local/man*) ;; *) MANPATH="$MANPATH:/usr/local/man" ;; esac case "$PATH" in */usr/local/bin*) ;; *) PATH="$PATH:/usr/local/bin" ;; esac case "$LD_LIBRARY_PATH" in */usr/local/lib*) ;; *) LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" ;; esac fi # Add in system-specific directories. case "$OSTYPE" in [lL]inux | [lL]inux-*) export INFOPATH="$INFOPATH:/usr/info" export MANPATH="$MANPATH:/usr/man:/usr/X11R6/man" export PATH="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/opt/kde/bin" export PRINTER=325@ps alias idraw="LD_LIBRARY_PATH=/local/lib/LINUX /local/bin/idraw" ;; SunOS | solaris2.[5-9] | solaris2.10 | solaris) # export MANPATH="$MANPATH:/usr/man:/opt/SUNWspro/man:/opt/SUNWste/license_tools/man" export MANPATH="$MANPATH:/usr/man:/opt/sfw/man:/opt/SUNWste/license_tools/man" # export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:/usr/openwin/lib:/usr/ucblib" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/openwin/lib:/usr/ucblib" # export PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/ucb:/usr/lib/nis" export PATH="$PATH:/opt/SUNWvts/bin:/opt/sfw/bin:/usr/ccs/bin:/usr/bin:/usr/ucb:/usr/lib/nis" export INFOPATH="$INFOPATH" alias mail='/usr/ucb/mail' ;; SunOS4) export OPENWINHOME=${x_prefix} export MANPATH="$MANPATH:/apps/man:/usr/man:/usr/lang/man:${OPENWINHOME}/man" export PATH="/apps/bin:/usr/local/bin:/usr/ucb:/usr/bin:/usr/lang" export INFOPATH=/apps/info ;; [iI]rix6 | [iI]rix6.3 | [iI]rix6.5) export INFOPATH="$INFOPATH:/usr/share/info" export MANPATH="$MANPATH:/usr/share/catman" #$PATH contains ~/bin:/local/bin:/usr/local/bin" as bash default export PATH="$PATH:/usr/bsd:/usr/bin:/usr/bin/X11:/usr/freeware/bin:/usr/sbin:/sbin:/usr/etc" ;; *) echo "bashrc: no defaults for OSTYPE=\"$OSTYPE\"" 1>&2 MANPATH="$MANPATH:/usr/man" PATH="$PATH:/bin:/usr/bin" ;; esac # Add in X11 directories. if [ -n "$x_prefix" ] && [ -d $x_prefix ]; then case "$MANPATH" in *$x_prefix/man*) ;; *) MANPATH="$MANPATH:$x_prefix/man" ;; esac case "$PATH" in *$x_prefix/bin*) ;; *) PATH="$PATH:$x_prefix/bin" ;; esac fi # Make sure files are created with the correct permissions. # NOTE: The umask command takes an argument that specifies the permission # bits that you do *not* want turned on by default. # Read the chmod(1) manual page for more information. # # Thus, 077 means: g-rwx,o-rwx, which is maximum protection. umask 022 # Don't set aliases if the shell is non-interactive. if [ -n "$PS1" ]; then set -o noclobber # Don't allow redirection to overwrite existing files. set -o notify # Report job exit status immediately. set -o ignoreeof # Don't allow ^D to terminate the shell. # Set the prompt string to the hostname and working directory. if [ -z "$TERMREC_ON" ] then # usual prompt export PS1='\h:\W \$ ' else # termrec prompt export PS1='\h:\W (termrec)\$ ' fi # Set up common aliases to use for interactive sessions. alias j='jobs -l' # Check the current jobs with alias lsa='ls -F' alias ll='ls -alF' alias dir='ll' alias which='type -a' fi ====/local/share/userconf/bash_profile==== # bash_profile - System-wide initialization for ~/.bash_profile # mail check interval and location export MAIL=$HOME/Maildir export MAILCHECK=300 export XAPPLRESDIR=$XAPPLRESDIR:/local/share/X11/app-defaults # limit core file size to 0 ulimit -c 0 if [ "$TERM" = "iris-ansi-net" -o "$TERM" = "xterm-color" ] ; then eval `/usr/ucb/tset -s -Q xterm` fi echo "This terminal type is $TERM." # general terminal characteristics # stty erase '^H' -parenb cs8 # Add commands below this comment, if you would like them to be run # automatically when you log in via rlogin or telnet. # The `date' command is given as an example. #date if [ -f ~/.profile ] ; then . ~/.profile fi ====/space/home/skboyd/.bashrc==== # .bashrc - Initialization file for the Bourne-Again SHell (BASH) # # This file is executed at the beginning of every interactive bash shell # invocation. It is also read by your .xsession and .bash_profile, so # don't put any commands in here that require user intervention. # # If you want applications or other interactive programs to start # automatically when you begin a session with the X Window System, # add code to your .xsession file. # # If you want commands to be run automatically when you login via # rlogin or telnet, add code to your .bash_profile file. # Fetch system-specific initialization. source /localhost/share/userconf/bashrc # This line sets your program search path. export PATH=~/bin:$PATH:. # Add your own personal aliases, functions, variable settings, etc., # below this comment ... export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/localhost/usr/lib:/usr/ucblib export CVSROOT=:ext:skboyd@m177.enme.ucalgary.ca:/localhost/cvsroot export CVS_RSH=ssh # # Qt # #QTDIR=/localhost/stow/qt-x11-free-3.2.1 #PATH=$PATH:$QTDIR/bin #MANPATH=$QTDIR/doc/man:$MANPATH #LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib #export QTDIR PATH MANPATH LD_LIBRARY_PATH ====/space/home/skboyd/.bash_profile==== # .bash_profile - Login startup file for the Bourne-Again SHell (BASH) # # This file is executed at the beginning of every non-X login session. # DO NOT EDIT ANY PART OF THIS FILE, except for the list of commands # at the very bottom of the file. # # Generally, you should only edit your .xsession to start up applications # automatically when you start a session with the X Window System. # # Edit your .bashrc if you want to set aliases and environment variables. # Always read in the ~/.bashrc, to get our default environment. if [ -r ~/.bashrc ]; then source ~/.bashrc fi # Get the terminal characteristics. source /localhost/share/userconf/bash_profile
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information