[Sig] Questions from the meeting
Dann S. Washko
Mon, 23 Apr 2001 22:36:07 -0400
The one question that arose at the linux sig lab meeting tonite was how to
refresh a profile after you have made changes. There is two ways to do
Say you edited the .bashrc file in your home directory to include a
different path. Instead of logging out, and loggin back in again, just
source .bashrc (or the complete path if not in your home dir)
This also works for .bash_profile.
Remember, when you first log in, .bash_profile is the file that is read.
For each instance of a shell or xterm thereafter, .bashrc is referenced.
Second, the question regarding comparing two file systems. Following
Jeff's advice after you listed the two file systems and cat 'ted the
output to two different file, you issue the diff command and cat that to a
diff test1 test2 >test3
Looking at the contents of test3 reveals a list of files. The top portion
will have > preceed each file which indicates that the item is in test1
and not test2. The second section, seperated by a -----, starts with a <
which indicates the item is in test2 and not test1.
Daniel S. Washko
Lehigh Valley Linux Users Group
get slack ( http://www.slackware.com ) and get happy