List Info

Thread: Refresh default settings on reboot




Refresh default settings on reboot
user name
2007-03-06 06:53:19
Hi Simón et al,
I set this as a new thread. I enjoyed reading your article "Refresh default settings on reboot." I'm a student of the command line, so I have a question. 

In it you use the command:
 find /home/student -maxdepth 1 -iname '.?*' -exec rm -rf '{}9; ;
I'm okay with the first part out to '.?*' , but how does this differ from '.*" ?
After that, I'm lost! Don't you pipe something here?

Scott

BTW, I also read your BLOG posting about SystemImager and hope my posted comment about http://svn.sisuite.org/  might help.


> Check out how I do it at:
>
> http://indianalinux.blogspot.com/2007/02/refresh-default-settings-on-reboot.html
>;
> I keep a definition of my image, sort of a HOWTO replicate our implementation of Ubuntu at http://www.north.mccsc.edu/indianaaccess/imagedefinition.html (not QUITE up to date at the moment, and heavily under construction). I keep a blog of my progress at http://indianalinux.blogspot.com
>
> You might consider joining the ubuntu-education list as well as this one. https://lists.ubuntu.com/mailman/listinfo/ubuntu-education
>
> Again, it's no annoyance. If you have questions, we're here.
>
> Take care!
>
> Simon
>
;        My solution is to set it up so that, during the boot process all the student preferences are removed and a fresh copy is put in place.
>;
>
> I hope I'm not becoming annoying, but is there somewhere that describes how to do this? I'm setting up a small lab in my classroom this week using LTSP 6.10 (I'm installing the server today) and that would be beneficial I think.
>
> Thanks,
> Scott
>

RE: Refresh default settings on reboot
country flaguser name
United States
2007-03-06 11:58:12
Hey Scott,
 
Well, to be honest, that was given to me fully formed by a
friend. I suppose it means the same a .* except that there
must be at least 2 characters, thus protecting "."
from deletion although rm has a built in protection against
deleting ".". 
 
My guess is that my friend is used to using this sort of
command with all sorts of utilities, some of which maybe
aren't as intelligently designed as rm.
 
A pipe is unnecessary, as the find command can -exec the
necessary action on any file that meets the test (-iname
'.?*')
 
I'll need to take a look at the .deb files you pointed out,
thanks. In my experience they sometimes work and sometimes
don't in Ubuntu.
 
Hope this finds you all doing well!
 
Sim?n

________________________________

From: los2chapinesgmail.com on behalf of Scott Ledyard
Sent: Tue 3/6/2007 7:53 AM
To: Simon Ruiz
Cc: edubuntu-userslists.ubuntu.com
Subject: Refresh default settings on reboot


Hi Simón et al,
I set this as a new thread. I enjoyed reading your article
"Refresh default settings on reboot." I'm a
student of the command line, so I have a question.  

In it you use the command: 
 find /home/student -maxdepth 1 -iname '.?*' -exec rm -rf
'{}' ;
I'm okay with the first part out to '.?*' , but how does
this differ from '.*" ? 
After that, I'm lost! Don't you pipe something here? 

Scott

BTW, I also read your BLOG posting about SystemImager and
hope my posted comment about http://svn.sisuite.org/ 
might help.

-- 
edubuntu-users mailing list
edubuntu-userslists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )