Editing Profile
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.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{welcome}} | {{welcome}} | ||
− | + | This tip comes from ericbsd on Telegram 21.02. at 1:24 | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | on Telegram 21.02. at 1:24 | + | |
You have to go to .profile in your home folder. | You have to go to .profile in your home folder. | ||
− | <code>/u/h/ericbsd cat .profile</code | + | <code>/u/h/ericbsd cat .profile</code> |
− | <nowiki>#</nowiki> $FreeBSD$ | + | <nowiki>#</nowiki> $FreeBSD$ |
− | <nowiki>#</nowiki | + | <nowiki>#</nowiki> |
− | <nowiki>#</nowiki> .profile - Bourne Shell startup script for login shells | + | <nowiki>#</nowiki> .profile - Bourne Shell startup script for login shells |
− | <nowiki>#</nowiki | + | <nowiki>#</nowiki> |
− | <nowiki>#</nowiki> see also sh(1), environ(7). | + | <nowiki>#</nowiki> see also sh(1), environ(7). |
− | <nowiki>#</nowiki | + | <nowiki>#</nowiki> |
− | <nowiki>#</nowiki> These are normally set through /etc/login.conf. You may override them here | + | <nowiki>#</nowiki> These are normally set through /etc/login.conf. You may override them here |
− | <nowiki>#</nowiki> if wanted. | + | <nowiki>#</nowiki> if wanted. |
− | <nowiki>#</nowiki> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH | + | <nowiki>#</nowiki> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH |
− | <nowiki>#</nowiki> BLOCKSIZE=K; export BLOCKSIZE | + | <nowiki>#</nowiki> BLOCKSIZE=K; export BLOCKSIZE |
− | <nowiki>#</nowiki> Setting TERM is normally done through /etc/ttys. Do only override | + | <nowiki>#</nowiki> Setting TERM is normally done through /etc/ttys. Do only override |
− | <nowiki>#</nowiki> if you're sure that you'll never log in via telnet or xterm or a | + | <nowiki>#</nowiki> if you're sure that you'll never log in via telnet or xterm or a |
− | <nowiki>#</nowiki> serial line. | + | <nowiki>#</nowiki> serial line. |
− | <nowiki># </nowiki>TERM=xterm; export TERM | + | <nowiki># </nowiki>TERM=xterm; export TERM |
− | <code>EDITOR=vi; export EDITOR</code | + | <code>EDITOR=vi; export EDITOR</code> |
− | <code>PAGER=less; export PAGER</code | + | <code>PAGER=less; export PAGER</code> |
− | <nowiki>#</nowiki> set ENV to a file invoked each time sh is started for interactive use. | + | <nowiki>#</nowiki> set ENV to a file invoked each time sh is started for interactive use. |
− | <code>ENV=$HOME/.shrc; export ENV</code | + | <code>ENV=$HOME/.shrc; export ENV</code> |
− | <nowiki>#</nowiki> Query terminal size; useful for serial lines. | + | <nowiki>#</nowiki> Query terminal size; useful for serial lines. |
− | <code>if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi</code | + | <code>if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi</code> |
− | <nowiki>#</nowiki> Display a random cookie on each login. | + | <nowiki>#</nowiki> Display a random cookie on each login. |
− | <code>if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi</code | + | <code>if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi</code> |
− | <code>CHARSET=UTF-8; export CHARSET</code | + | <code>CHARSET=UTF-8; export CHARSET</code> |
− | <code>'''LANG=en_US.UTF-8;''' export LANG</code | + | <code>'''LANG=en_US.UTF-8;''' export LANG</code> |
− | You will need to log out to have this the change to happen | + | You will need to log out to have this the change to happen |