Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, March 18, 2008

auto start a process in Ubuntu

1. Create a script that calls the program you want to auto start
2. Copy the script to /etc/init.d/
3. Run "sudo update-rc.d <script> default"

Monday, January 7, 2008

force fsck to run on reboot

Use when:
1. df reports incorrect figures
2. file size becomes 0
3. files go missing



==========
sudo touch /forcefsck