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!
====/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
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