Search Results

Search: Posts Made By: mendez
5,747
Posted By mendez
thanks, its work
thanks, its work
5,747
Posted By mendez
Double redirection
Hi to all.

It's possible with a single line redirect to stdout and to a file a echoed string?

I need something like this:
echo "Pizza" >/tmp/file (and same time print to stout "Pizza")...
...
6,440
Posted By mendez
you have to use: exit 0 else exit 1... ...
you have to use:
exit 0
else
exit 1...

In the next script you can intercept the exit code whit a special variable "$?"

example:

First script
...
exit 1
...

Second script
...
if [[...
Forum: Linux 12-23-2010
7,068
Posted By mendez
sorry don't understand this point...
sorry don't understand this point...
Forum: Linux 12-23-2010
7,068
Posted By mendez
the script don't have a continuous connection to...
the script don't have a continuous connection to the DB but make connection only when events occur (login/logout)

I have a flat file for debugging but i think that if the script run when system...
Forum: Linux 12-23-2010
2,760
Posted By mendez
Connection to XenDesktop
Hi to all,

i need to automate the access to a XenDesktop environment at users XFCE login.

Currently i use a Citrix Receiver saved configuration of "AppName" (with saved user and password) and...
Forum: Linux 12-22-2010
7,068
Posted By mendez
i am confused... can you simple get an...
i am confused...

can you simple get an example of how understand the shutdown with strace?
thanks
Forum: Linux 12-22-2010
7,068
Posted By mendez
the question is: what i have to put in strace for...
the question is: what i have to put in strace for debug gnome shutdown process?

I don't understend why if replace the original /sbin/shutdown with a wrapper that insert a delay first then execute...
Forum: Linux 12-22-2010
7,068
Posted By mendez
ok, currently don't have declared any stop @...
ok,
currently don't have declared any stop @ runlevel for this process.

The script must have the time to intercept the disconnection of 'user, which normally happens at shutdown.

At this...
Forum: Linux 12-22-2010
7,068
Posted By mendez
The script is launched via event.d (ubuntu 10.04)...
The script is launched via event.d (ubuntu 10.04)

/etc/init/checkuser.conf
description "checkuser"
start on runlevel [2345]
respawn
exec /var/scripts/checkusers.sh

How can manage the...
Forum: Linux 12-21-2010
7,068
Posted By mendez
How can i (s)trace what gnome do when call...
How can i (s)trace what gnome do when call shutdown, the point is that need to intercept this signal, delay, then execute original signal...
Forum: Linux 12-21-2010
7,068
Posted By mendez
Delay gnome shutdown/restart
Hi to all.
My first message here, but i following you via twitter feed from many time...

The question:
I need to delay 5-10 seconds the shutdown command executed when the user click on the power...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy