2004-07-13
Some cool bash/Linux stuff: If you're using bash, put a line TMOUT=600 in /root/.bashrc. The user will . . .
1K - last updated 2005-03-19 13:41 UTC by 7115
2010-11-26 From which host am I logged in
Sometimes you want to adjust your settings in bashrc, depending from which host you are logging in from. . . .
1K - last updated 2010-11-26 15:27 UTC by 7115
2011-03-03 From which host am I logged in
A previous entry documented on how to change your settings in bashrc, according to from which host you . . .
2K - last updated 2011-03-03 17:31 UTC by 7115
2011-08-30 Creating specific password lists with John the Ripper
For security purposes, you sometimes want a dictionary with possible passwords. Perhaps you want to assess . . . path, by adding the following line to your ~/.bashrc: export PATH=$HOME/opt/john-1.7.8/run Logout, . . .
5K - last updated 2011-08-31 10:58 UTC by 7115
2013-03-27 warning Setting locale failed
I was getting the error from all kinds of Linux programs about "setting locale failed". For example, . . . Linux side, by unsetting the LC_CTYPE in your .bashrc. Add the following line: unset LC_CTYPE However, . . .
3K - last updated 2014-03-28 13:06 UTC by 7115
2014-04-16 Python vi keybindings on OS X
If you're used to vi keybindings, and you use Python interactively, you're going to do a lot of cursing . . . rlcompleter import readline Add a line to your .bashrc which makes Python run .pythonrc when it starts . . .
1K - last updated 2014-04-16 12:40 UTC by 7115
SSH
= Create a VNC tunnel to work = Suppose your home and organization's network looks like this: +-----Organization-Network-----+ . . . the bash shell, put the following lines in the .bashrc at home: WORK_IP="192.168.0.100" FROM=`echo . . . This can be used in scripts, for instance in .bashrc. # If we're logging in through SSH, write this . . .
7K - last updated 2008-11-14 09:17 UTC by 7115
Screen
When you're ssh'ing to a specific remote server regularly, [http://www.gnu.org/software/screen/screen.html . . . live. I ended up adding the following to my .bashrc # -- if $STARTED_SCREEN is set, don't try it . . .
7K - last updated 2009-05-26 14:24 UTC by 7115
Shared directories
Sometimes you need a couple of users to share a directory, for example a number of developers who test . . . In the shell initialization file (for instance .bashrc), add the line umask 002 Tip: if users encounter . . . the group write bit.'' Setting the umask in .bashrc will not affect the way that directories and . . .
2K - last updated 2009-10-28 10:47 UTC by 7115
Shell tricks
= Shared accounts = Sometimes, you have to use shell accounts which are shared with other people. Of . . . a handy trick. Add the following lines to the .bashrc file and adjust the first variable. I'm assuming . . . correct this, put the following lines in your .bashrc if you're using bash on the other end (note . . .
2K - last updated 2014-02-12 13:23 UTC by 7115
Turn off beep
To turn off the beep in several applications: For bash and other readline applications, create a new . . . For less, put the following line in your $HOME/.bashrc: export LESS="-Q" For vi, put the following . . .
1K - last updated 2009-02-09 14:47 UTC by 7115
Using Screen
= THIS IS AN OLD VERSION = PLEASE CHECK THE MORE RECENT PAGE: [[Screen]]. When you're ssh'ing to a specific . . . live. I ended up adding the following to my .bashrc # -- if $STARTED_SCREEN is set, don't try it . . .
6K - last updated 2009-05-20 09:04 UTC by 7115
bashrc
text/plain
9K - last updated 2007-11-13 12:41 UTC by 7115
13 pages found.