LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2012, 04:24 AM   #1
jayeshsharma52
Member
 
Registered: Jul 2012
Posts: 54

Rep: Reputation: Disabled
put output of c program in startup


I am working on keyloger in c ,but i am stuck at how to put the output of c program in startup,so that user need not to manualy run the program again n again.
(keyloger is running quite perfectely except this problem).
Thanks.
 
Old 08-11-2012, 04:47 AM   #2
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 90
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by jayeshsharma52 View Post
how to put the output of c program in startup
To run any program during system bootup,
add entry in /etc/rc.local
 
Old 08-11-2012, 05:07 AM   #3
jayeshsharma52
Member
 
Registered: Jul 2012
Posts: 54

Original Poster
Rep: Reputation: Disabled
Sorry but there's no file/directory named rc.local in entire root directory.(there are rc0.d rc1.d etc)
(using fedora 16).
 
Old 08-12-2012, 05:12 AM   #4
linuxxer
Member
 
Registered: Apr 2011
Location: I have my own planet
Distribution: SlackwareŽ
Posts: 90
Blog Entries: 1

Rep: Reputation: Disabled
Because Fedora switch to systemd as default init system.
Sorry I am not using Fedora.
But you can google for systemd related help.
You can try this.

http://fedoraforum.org/forum/showthread.php?p=1592893

I think this link will be littlebit helpful.

You can can create service entry for /etc/rc.local OR
Separate entry for you own service.
 
  


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 put any program in startup in fedora 16. jayeshsharma52 Linux - Newbie 6 08-07-2012 04:26 PM
Where to put startup scripts? susja Linux - Newbie 8 02-05-2012 04:40 AM
How to put scripts in the startup..? balavignesh Linux - Software 1 08-28-2006 10:43 AM
where to put startup commands nickcol Linux - General 1 05-10-2005 05:00 AM
How to put programs in startup emanners Linux - General 2 07-09-2001 02:04 PM


All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration