Menü +

find ./ -type f -name '*source-string*'

| ksh | kshrc | profile | Das Absolute Korn Shell Enviroment

# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
test -z "$PROFILEREAD" && . /etc/profile
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
umask 0022
##
##
# if running bash
        #if [ -n "$SHELL" ]; then
        #    # include .bashrc if it exists
        #    if [ -f "$HOME/.kshrc" ]; then
        #        ksh "$HOME/.kshrc"
        #    fi
        #fi

source /UserName/.kshrc
##
##
# -------------------------------------------------------------
# show info.txt
if [ -n "$SHELL" ]; then
#
echo "" && cat ~/info.txt | head -n18
INFO_TXT=$(cat ~/info.txt | sed 's/^/\|\ \ \ /g')
echo "$INFO_TXT" | tail -10
echo "+------------------------------------------------------------+
"
#
else : ;
#
fi
 cat .kshrc
# -------------------------------------------------------------
if [ -f "/userhome/scripts/profiles/extern.aliases" ]; then source "/userhome/scripts/profiles/extern.aliases";fi
#
if [ -f "/userhome/scripts/profiles/extern.profile" ]; then source "/userhome/scripts/profiles/extern.profile";fi
#
if [ -f "/etc/oracle/oraenv" ]; then source /etc/oracle/oraenv;fi
# -------------------------------------------------------------
# Dies das $TERM wird in croon umgebung gebraucht.
# tput: No value for $TERM and no -T specified
# stty: Standardeingabe: Das Argument ist ungültig
# /user/.kshrc: line 95: trap: KEYBD: invalid signal specification
#
export TERM='linux'
# -------------------------------------------------------------
#
export PATH="$PATH:/usr/local/bin:/usr/lbin/"
# -------------------------------------------------------------
# Dies das $TERM wird in croon umgebung gebraucht.
# tput: No value for $TERM and no -T specified
# stty: Standardeingabe: Das Argument ist ungültig
#
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#
if [ -x /usr/bin/tput ] && tput setaf [1-7] ;
        then
                # We have color support; assume it's compliant with Ecma-48
                # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
                # a case would tend to support setf rather than setaf.)
        color_prompt=yes
    else
        color_prompt=
    fi
#
if [ "$color_prompt" = yes ]; then
PS1='$(tput sgr0)$ [$(tput setaf 1;tput bold)APPID PROD $(tput sgr0)$(date "+%H:%M:%S") $(tput setaf 4)$(id -un)@$(hostname -f):$(tput sgr0;tput bold)$PWD$(tput sgr0)]
$ '
PS2='# '
else
PS1='$ [ APPID PROD $(date "+%H:%M:%S") $(id -un)@$(hostname -f):$PWD ]

<pre>