Recent Notes

Displaying keyword search results 1 - 3
Created by Dr. Xi on September 29, 2008 23:21:38    Last update: January 16, 2010 23:36:05
Create a startup script for inetd Copy /etc/init.d/skeleton to /etc/init.d/inetd . Change the top section of the script to read: PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="In... Now inetd can be stopped/started/restarted like this: sudo /etc/init.d/inetd stop sudo /etc/init.... Add links to rc*.d $ sudo update-rc.d inetd defaults Adding sy... If you no longer need to start inetd at boot up: $ sudo update-rc.d -f inetd remove update-r... This would remove the links from the start up sequence but leave /etc/init.d/inetd in place. Contents of /etc/init.d/skeleton : #! /bin/sh ### BEGIN INIT INFO # Provide...
Created by Dr. Xi on May 05, 2009 19:59:21    Last update: May 05, 2009 19:59:21
Delete a single file: >>> import os >>> file = 'myfile' >>> os.rem... Delete a directory and contents: >>> import shutil >>> dir(shutil) ['Error', ...
Created by Dr. Xi on November 23, 2008 05:31:00    Last update: November 26, 2008 21:41:25
CVS has two commands, cvs tag and cvs rtag for creating and manipulating labels. cvs tag uses the local file system to determine which revisions to associate with the label, while cvs rtag works directly on the repository. You can tag before checkout with the rtag command. If you checked out, had a successful build and want to create a baseline based on the checked out versions, you should use the tag command. # to add tag "my_tag" to module "my_module" on...