Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-12-2005, 10:44 PM   #1
Registered: Dec 2003
Location: NC, USA
Distribution: Slackware, VectorLinux, Smoothwall, and PCLinuxOS
Posts: 40

Rep: Reputation: 15
Question Output commands when programs run?

So I'm trying to create some crontabs and have been successfully doing so with Kcron. However, my crons aren't very elaborate. I've seen others use elaborate commands to start up a music player every morning at 8am etc. and I wondered how they got ahold of the command that opened up amarok with the proper volume and other settings that they needed.

I haven't seemed to run across any answer. The only thing I can think that someone might do to get ahold of these commands is to see the program executing via shell. Am I correct on this? If so, can I cat the output of a program execution to a file so that I can rip the command into a crontab? Help is appreciated....
Old 12-12-2005, 11:13 PM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
The best suggestion I can think of is to view the man pages for the program you're interested in learning about. You should be able to read about all the available options there.

man xmms
edit: One more thing. Not sure which desktop environment you're using, but in KDE it's pretty trivial to see the command that is being run when you click the icon. There are probably many ways to get to this, but the quickest for me is to right mouse click on it and click Edit Item.

Last edited by anomie; 12-12-2005 at 11:16 PM.
Old 12-13-2005, 12:07 AM   #3
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
for available options
the man page is usually the best choice

for programs such as amarok with no man...
<program> --help
or similar will also list the runtime options

for what you want to do, i believe you will
need to create a seperate config file and refer
to that config instead of your user's standard
config at runtime in your cron...


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
the sound gives output when using mic but no output when run a music file medo Debian 0 04-19-2004 08:17 PM
shortcuts to run commands/programs nexx_au Linux - General 3 12-21-2003 05:10 AM
Bash: How to concatenate the output of different commands? J_Szucs Programming 1 11-13-2003 08:43 AM
Using commands to output to files, how is this done? nro Linux - Newbie 3 11-11-2003 09:38 PM
how to read the output of df -k and about logical volumes commands jdara1 Linux - Software 3 05-23-2003 01:22 PM

All times are GMT -5. The time now is 07:48 PM.

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