On Linux systems there are files often used as sources for new account (login) creations. On the system:
the .bashrc file is at:
It's about 100 lines and should be a good start.
:) as soon as i installed my software a couple of weeks ago..
(fedora core 2 vs, 2.6.8-1.521) i decided to switch the shell to sh shell and i know that .bashrc is the bash profile file(???) i want to use the sh version of the same file and make it the main profile file.. how can I switch it and... (3 Replies)
I search the web and found the following statements
.....
The /etc/profile file is a system wide initialization script which is run at login time for each user, while .profile is the users own login initialization. The .bashrc file is an initialization file run by each interactive invocation... (1 Reply)
Hello,
I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after.
So, I tried to modify other files in my home directory,... (1 Reply)
hi i am using cygwin and would like to modify my .bashrc file. How can search to find where it is? I have looked at multiple bashrc file in /etc but none of them seemed to work..thanks (12 Replies)
i have made a few changes to my bashrc file...have set a few environmental variable that my shell scripts use. Is there any way that these changes can reflect in evryone else's bashrc who are in the network or do all of them have to copy those changes to their own bashrc file. (2 Replies)
I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting.
Therefore I tried to change it via putty shel using vim bashrc command. but... (4 Replies)
I have modified the .bashrc. The problem is that when I write a long command,
it does not write on the next line but continues to write on the same line.
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for... (1 Reply)
Hello All,
I was wondering if there is a way to execute a command in my ".bashrc" file based on how I logged into the PC?
I was thinking maybe there is a way to check how the user (*myself) logged in, maybe somehow with the who command along with something else, but I'm not sure... I know I... (7 Replies)
It deletes my .bashrc file rarely but predictability after some unknown count of Mac's restarts. Has someone ever faced such behavior?
How do I prevent OS X from modifying .bashrc? What ownership/permission should I set up to not let it happen?
OS X Lion. (6 Replies)
Discussion started by: scrutinizerix
6 Replies
LEARN ABOUT DEBIAN
go2
GO2(1)GO2(1)NAME
go2 - directory finder
SYNOPSIS
go2 [-h] [--cd] [-i] [-r] [--setup] [--version] [pattern [pattern ...]]
DESCRIPTION
This manual page documents briefly the go2 command.
This manual page was written for the Debian(TM) distribution because the original program does not have a manual page.
go2 is a program that finds (and changes to) directories.
IMPORTANT
go2 requires be loaded from the shell. To do this include the next sentence in your $HOME/.bashrc file:
[ -e /usr/lib/go2/go2.sh ] && source /usr/lib/go2/go2.sh
If your wish improve directory caching, you may include also the next sentence:
alias cd='go2 --cd'
Both are made by the setup process the first time you invoke go2.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included
below. For a complete description, see the Info files.
--cd Just change working directory
-i Case insensitive.
-r Search from root directory.
-d Search in hidden directories.
-l List only, print matches and exists.
--setup
Install go2 in your .bashrc.
SEE ALSO
This program is fully documented in
http://arco.esi.uclm.es/~david.villa/go2.html
COPYRIGHT
Copyright (C) 2011 David Villa
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR
David.Villa@uclm.es
2011-08-05 GO2(1)