On the following script that I get an error when I try to execute as root:
#./mv_log.sh
bash: /root/util/mv_log.sh: Permission denied
#!/usr/bin
datetag=`date --date='1 day ago' +"%b%d%Y"`
logname=`find /opt/bea/wlserver6.1/config/*/logs/ -iname 'access.log0*' -mtime -1 -print`
mv... (4 Replies)
I am new to unix, and this is my 1st post on this board. Looking for some advice about a cron job in my server.
I am running a cron task that references a script which runs several other scripts and compiles them into a report and emails it to me. If I run the script manually, I will... (2 Replies)
Hi All,
I'm getting this all the time with a regular user (after I do su - and smc):
It appears you are attempting to run the graphical
Solaris Management Console from a terminal which does
not have a suitable 'DISPLAY' environment. Please check
your 'DISPLAY' settings and that the user... (5 Replies)
I am running Ubuntu 8.1 on a Toshiba Satellite P105-S9337 with built-in Bluetooth hardware. I cannot get the Bluetooth hardware to work with my Microsoft Bluetooth mouse.
I have installed the tosh software with no luck.
Does anyone have an idea as to what to try. I have several kernel mods... (0 Replies)
I ran into this issue and thanks to various postings in various forums, was
able to figure out the solution but didn't see one posting that laid the
whole issue out cleanly. So thought the following might help others ...
------------------------------------------------------------------------... (2 Replies)
Hi there. My first time posting so apologies for any indescretions in advance. :o I've got two SunFire V440 servers running Solaris 5v10. Both have a quad Gigabit ethernet card fitted, both have the same symptom; that is, I can't get the first port ce1 to run Gigabit. Motherboard ports are ce0 and... (10 Replies)
how to run an already developed script run against a list of ip addresses solaris 8 question.
the script goes away and check traffic information, for example
check_GE-VLANStats-P3 1.1.1.1
and returns the results ok.
how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
I am using while read do/ done to retrieve menu item.
Works as advertised, no problem.
I am using this hack function "pause" to stop script execution and wait for keyboard "enter" key to continue. Sort of break point function. Also works fine with one exception - it does not work when used... (4 Replies)
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
LEARN ABOUT DEBIAN
irexec
IREXEC(1) User Commands IREXEC(1)NAME
irexec - run programs with one button press
SYNOPSIS
irexec [options] [config_file]
DESCRIPTION
This program lets you execute arbitrary commands on an IR signal decoded by lircd, the LIRC daemon. You can give irexec a command line
parameter which has to be a name of a valid config file. If no command line parameters are given irexec reads the default config file which
is usually ~/.lircrc.
If irexec executes a program it will wait until this program terminates. So append a '&' to the command string if you don't want that.
The config string consists of the command to be run.
-h --help
display usage summary
-v --version
display version
-d --daemon
run in background
-n --name
use this program name
OPTIONS
If you add the --daemon option irexec will fork to background. That way you can easily start irexec from an init script. In this case you
should specify a config file on the command line as irexec won't be able to find your home directory. Potential uses are shutting down the
computer, starting a dial-up connection etc.
NOTE
If you start irexec, it reads your ~/.lircrc and reacts only on prog= entries that point to irexec. If you have included more than one pro-
gram in your .lircrc, then start all these programs, they react itself only to their according entries in .lircrc.
SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory.
irexec 0.9.0-pre1 October 2010 IREXEC(1)