Hi.
I want to run some commands every time a user of an ubuntu 9.10 machine logs out or shuts down. What is the best way to do this? Every user uses gnome if that helps.
I have a single ethernet run at home that I just added. I have a cable tester that tests for pin/pair crossover or miswired pins. The entire line tests green (all 4 LEDs light up green on the tester) but I can't get any PC to connect through the link. No link light on the ethernet connection.
Any simple tests/fixes, or do I rip out the wall sockets and do it again?
I have a single ethernet run at home that I just added. I have a cable tester that tests for pin/pair crossover or miswired pines. The entire line tests green (all 4 LEDs light up green on the tester) but I can't get any PC to connect through the link. No link light on the ethernet connection.
Any simple tests/fixes, or do I rip out the wall sockets and do it again?
I'm looking for an easy method to run N selected processes at the same time with one command. It should put all the output on my terminal and shut down all of them when I exit with ctrl+c. Is there any existing app that does this?
I'm thinking of some thing like exec_many 10 foo - it should keep 10 foos running and respawn any that dies.
I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful.
Is this possible using ssh (putty)? Or by any other means?
Thanks!
I have a web application that runs a program which needs X. I'm using xvfb to launch it; I want to run it as another user.
I could probably do sudo -u username -p password my command. However, I'm not feeling too good about storing the users password in plain text.
Is there a "smarter" way of doing this?
My company seems to be hit by a virus that calls shutdown -r on all workstations. Until IT figures it out, I want to:
run a console program (shutdown-a) every minute
without it flashing a cmd.exe window on the screen.
Any suggestions?
All,
I need to run a script everytime there is an incoming email message to a postfix email server. I have read the docs but I was wondering what would be the best approach to do this. Would anybody give me some hint or examples on how to do this. The postfix server is running under Ubuntu.
Thanks heaps for your help
I have a buggy driver for my Wifi USB dongle.
Every time the computer wakes from standby, the wifi is disabled.
I created a script to restart the device, but I have no idea how to automatically run it when wake from standby.
I'm using Widnows 7 x64.
I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..).
I don't want to use some program to do that, I'm looking for something cleaner. I've found a solution that uses VBScript, but I don't really like using VBS, either.
I want to use jsmin to minify every js file in a directory, and js files in subfolders as well.
I would want to use the compiled vers of jsmin found here:
http://www.ejeliot.com/blog/73
What is the Mac OS X equivalent of a batch file?
Looking for something like this for Mac OS X:
http://superuser.com/questions/116417/run-a-batch-command-for-every-file-in-a-directory
I have a computer on LAN running ssh. I can normally tunnel the GUI application using
ssh computer-name -X program-name
But I wam my full desktop to be running on a remote computer using ssh so that I can just use that computer remotely like a local desktop. For this I think I will need to run KDM (or GDM ) remotely, what configuration do I need to do to make this happen?
Hi! I was wandering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open.
The idea is to conect via SSH to the linux host, that would be running in background.
Have you ever done somenthing like this? Is it possible?
Thanks!
I followed the steps here on how to create a sandboxed web browser using Sandboxie. So that you won't have to right-click a shortcut everytime and choose run sandboxed. And so that I could set a keyboard shortcut for the sandboxed web browser.
I am using Iron browser, but when I try to execute the shortcut created by sandboxie. It doesn't have extensions in it. What do I do in order to load the extensions along with the browser
How can I enable non-admin users to run a certain application (in my case, a script) with admin permissions on Windows XP?
This would be similar to the setuid bit on *nix.
I just installed Windows 8 on my computer. Next I installed a program for prototyping (Pencil). Everytime I run this program I have the following Warning:
User Account Control
Do you want to allow the following program from an unknown publisher to make changes to this computer?
I prefer not disable the User Account Control.
Is there a way to stop User Account to warn me for this program?
Thanks.
Complete beginner question...
Let's say I have SSH access to my website. And, I have a file:
mywebsite.com/foo/my_script.php
How can I use SSH to run my_script.php?
Title's pretty explanatory. I have an application(Second Life) that isn't compatible with 64-bit windows 7. It says that it is compatible with Windows XP, Vista, and 7 but only the 32-bit version of 7. I need to know if it's possible for me to download something to make the application compatible with my computer. I've run troubleshooters and ran it as windows compatible XP service pack 2 and tried again with service pack 3.
I need to be enlightened in this topic.
First, is it possible to run open dns
on a network so that you won't have
to install the open dns updater to
update the ip address of those
machines with dynamic ip address.
Second, how do I set it up. Can I set it up on the router?
Hi!
I was wandering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open.
The idea is to conect via SSH to the linux host, that would be running in background.
Have you ever done somenthing like this? Is it possible?
Thanks!
I am using the Connection Manager Administration Kit (CMAK) to create vpn connections for my users, if it is possible how do I create a custom action that launches an executable that runs synchronously?
In the help file it says
Only DLLs run synchronously, meaning
that Connection Manager starts the
action and then waits for the function
to return before continuing
Is there any way around this?
I have seen something similar called VPN-Q which from the screen shots appear to do just that.
I am using the follwing to auto login and then run file containng a command.
C:\path\to\putty.exe -load "[Sessionname]" -l [user] -pw [password] -m C:\path\to\commands.txt
Commands.txt contains the following command
ps -elf|grep 'sometext'
but when I try to do so a new window for putty comes and exits instantly after login. I cannot see the output of command in commands.txt
What is the problem;. Is there error in my approach or I need some more command to make the putty window pause for sometime before exiting.
I have a jar that runs forever (infinite loop with socket listening thread) and need it to run in the background at all times. An example would be: "java -jar test.jar" How do I do this? Thanks in advance!