LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-29-2004, 06:36 AM   #1
falkesgaard
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
automatically starting process in Fedora Core 2 by using script


My problem is that I automatically want to start a process when my computer starts. I'm using Fedora Core 2, and I think that I "just" need to write a script that I can place in ~/Desktop/Autostart

What I normally do is to open a Console, where I write the command "vls". And that it is all - but I would like this to be done automatically.

Can anyone help me with this.

PLZ

Last edited by falkesgaard; 07-29-2004 at 06:38 AM.
 
Old 07-29-2004, 10:11 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,298

Rep: Reputation: 138Reputation: 138
Here's your script:

#!/bin/bash
vls


Put that in a text file and name the text file dovls. Open a console and navigate to the directory that dovls is in and run as root:

# chmod a+x dovls


That makes the script executable. Place the script in your ~.kde/Desktop/Autostart directory. That should start vls whenever kde starts assuming vls is in PATH which apparently it is since you don't have to give the path to it in a console in order to execute it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run system-config-soundcard automatically during starting process? leduytien Linux - Software 1 02-11-2006 09:57 AM
How to create a bash script to automatically disown a process. jon_k Linux - Software 5 06-19-2005 05:53 AM
Unable to kill Java process on Fedora Core 2 eblack Fedora 10 04-07-2005 02:49 AM
Startup process in Fedora core 2 cabua99 Red Hat 1 01-25-2005 12:51 PM
booting process (Fedora Core 2) chunlee Linux - General 3 10-12-2004 08:08 AM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration