This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
tutorials:profile_jbaber [2011/04/26 20:53] – clemens | tutorials:profile_jbaber [2011/04/30 15:14] – removed clemens | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code bash .jbaber_profile> | ||
- | #clear | ||
- | # | ||
- | # This is the default standard profile provided to a user. | ||
- | # They are expected to edit it to meet their own needs. | ||
- | |||
- | # Hello there and welcome to your .profile! | ||
- | # way for you to initialize and customize your UNIX environment. | ||
- | # | ||
- | # I'd like to help you with a few notes about each part. | ||
- | # | ||
- | # This sets the environment variable " | ||
- | # email file. Typically email is spooled in /usr/mail with the user's | ||
- | # login (enviroment variable LOGNAME) for the file's name. | ||
- | MAIL=/ | ||
- | |||
- | # Which editor? | ||
- | # based off of ex (EXtended ed). But since you might not know these, | ||
- | # we will give you " | ||
- | # | ||
- | # | ||
- | # | ||
- | EDITOR=/ | ||
- | VISUAL=/ | ||
- | |||
- | # Neat hacks for the David Korn's shell. | ||
- | # standard prompt is the dollar sign. The shell comment character | ||
- | # if you can't tell is the pound (#) sign. Uncomment out the follow | ||
- | # and delete the line after it (or comment it out) if you would like | ||
- | # the standard UNIX Korn shell prompt. | ||
- | # | ||
- | # Normal UNIX prompt | ||
- | PS1=" | ||
- | # | ||
- | # This one gives you the return code for the last command executed | ||
- | # and the present working directory | ||
- | # | ||
- | |||
- | # here is an example of a KSH function. | ||
- | # directory and hostname in your prompt | ||
- | # | ||
- | |||
- | #chdir () | ||
- | #{ | ||
- | # \cd ${*:-$HOME} && PS1=" | ||
- | #} | ||
- | |||
- | #alias cd=chdir | ||
- | #cd | ||
- | |||
- | alias rss=snownews | ||
- | alias l="ls -F" | ||
- | #alias m=pine | ||
- | alias m=mutt | ||
- | alias chow=math | ||
- | #alias p=pico | ||
- | #alias p=nano | ||
- | alias p=vi | ||
- | alias exit=logout | ||
- | alias scr=screen | ||
- | alias strongbad_email.exe=m | ||
- | alias git=" | ||
- | PATH=$PATH: | ||
- | MANPATH=$MANPATH:/ | ||
- | #sigromizer ~/sigs | ||
- | fortune $HOME/ | ||
- | mesg y | ||
- | #don't keep .core files | ||
- | ulimit -c 0 | ||
- | |||
- | |||
- | |||
- | # This tells the system what terminal you are using or emulating. | ||
- | # support a number of terminals and can infact support more. For more | ||
- | # ideas, you can look in / | ||
- | # DEC vt100. | ||
- | #TERM=vt100 | ||
- | TERM=xterm-color | ||
- | |||
- | # stty (Set TTY) sets up your TTY. Note, if you have problems with | ||
- | # your backspace key, try changing the "erase ' | ||
- | # If that still does not help, type stty erase at the shell prompt | ||
- | # and then hit your backspace key. | ||
- | |||
- | stty erase ' | ||
- | |||
- | # The following can be used for setting up the number of lines and | ||
- | # columns you are using. | ||
- | # by 79 or 80 columns. | ||
- | # used for TTYs .. experiment in sizing your own. | ||
- | #LINES=25 | ||
- | #COLUMNS=80 | ||
- | # | ||
- | # stty rows 25 cols 80 | ||
- | |||
- | #Set the time zone. | ||
- | TZ=EST5EDT | ||
- | |||
- | # | ||
- | |||
- | BROWSER=/ | ||
- | REPLYTO=" | ||
- | EMAIL=" | ||
- | # Just for the program ' | ||
- | PARINIT=' | ||
- | |||
- | |||
- | # Now lets go ahead and make those enviroment variables active! | ||
- | export MAIL PS1 TERM EDITOR VISUAL TZ EMAIL REPLYTO PARINIT | ||
- | |||
- | |||
- | |||
- | #echo | ||
- | #echo " | ||
- | #echo "For quick help, type ' | ||
- | #echo "For detailed questions and answers, type ' | ||
- | #echo "For user discussion boards, type ' | ||
- | #echo "For interactive discussions, | ||
- | #echo "To setup your homepage, type ' | ||
- | #echo "to create your URL http:// | ||
- | #echo " | ||
- | #echo | ||
- | #oneliner | ||
- | |||
- | set -o vi; bind ' | ||
- | #set -o emacs; bind ' | ||
- | #fortune -as | ||
- | #echo | ||
- | #cowsay `newmail -d / | ||
- | #newmail -d / | ||
- | #echo | ||
- | #frm -s new jbaber | ||
- | #echo | ||
- | #trans | ||
- | pom | ||
- | </ |