[Novalug] making something take

Christopher Jones christopher.donald.jones@gmail.com
Wed Dec 4 00:06:07 EST 2013


I found that most of the changes I made that I thought I needed to reboot
for might just require some particular command to refresh.

For instance...
I use I3 wm and it starts as my user from a bash prompt. So no matter how
many times I close my terminal none of the settings I make to .bashrc will
have any effect. I thought I would always have to restart ....... I was
wrong.

:~# source .bashrc   or :~# source .bash_profile   depending on what file
your changing.

It may be trivial but it was definitely cool the first time I learned it.


On Tue, Dec 3, 2013 at 6:05 PM, Mark Smith <mark@winksmith.com> wrote:

> On Tue, Dec 03, 2013 at 05:20:55PM -0500, Dave K wrote:
> > On Wed, Dec 04, 2013 at 11:13:04AM +1300, Mark Smith wrote:
> > > and to tie it back to the original question... a program will have
> > > libraries open, using files, text segements (programs) running.  a
> common
> > > example would be libc, but installing any file, library, program, etc
> > > will not be seen until the program is restarted.  and there are other
> > > reasons as well.
> >
> > I discovered this the hard way, as I imagine many do.  In a former life,
> > caring and feeding machines, I noticed a file system out of space but
> > couldn't account for it looking at the file level.
>
> the opposite thing is to create a huge file with very little diskblocks.
> at best, it keeps people scratching their heads.  at worst, it'll really
> mess up a backup or the backup estimates.  i'll need 4000 tapes?  :-)
>
>         dd if=/dev/zero of=$HOME/sparse.img bs=1 seek=1TB count=1
>         ls -lh $HOME/sparse.img
>         ls -lhs $HOME/sparse.img
>
> --
> Hei konā mai
> Mark Smith
> mark@winksmith.com
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>



-- 
Chris Jones
RHCSA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20131204/67ebbf4d/attachment.htm>


More information about the Novalug mailing list