08-28-2008
Quote:
Originally Posted by
elDeuce
I'm just tired of having a putty window open and my internet dieing and killing the script.
besides what era said. if im not reading this wrong, then you dont know about "nohup" or "screen"
they both have (in different ways) the ability to launch a program/script and they wont die when you close the putty session
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.
I write a shell script for import data to oracle using sql loader.
I set permission 755 or 777 for that script. I can run that script in the consol okay.
When I call it from PHP using system command. I got return value 126 this value when don't have permission right ?
I check step... (2 Replies)
Discussion started by: raccsdl
2 Replies
2. Shell Programming and Scripting
Hello,
I have written a code for uploading a file onto the server.The code is as follows:
<? if ($_POST == "Upload File")
{
if( move_uploaded_file ($_FILES ,$target) )
{
$tmpsrc = $_FILES ;
echo... (2 Replies)
Discussion started by: michrods
2 Replies
3. Shell Programming and Scripting
Status quo is, within a web application, which is coded completely in php (not by me, I dont know php), I have to fill out several fields, and execute it manually by clicking the "go" button in my browser, several times a day.
Thats because:
The script itself pulls data (textfiles) from a... (3 Replies)
Discussion started by: lowmaster
3 Replies
4. Shell Programming and Scripting
Okay I want to write a script that I put on a jump drive. And when you plug the USB in this script executes. How would i go about doing this? I don't care what the program does right now. I just want to know how this would be done. Any ideas? (1 Reply)
Discussion started by: cbreiny
1 Replies
5. Shell Programming and Scripting
Good Day,
I have multiple websites on a domain. I am looking for a loop structure that can run each site script. egdomain1/test.php domainx/test.php so on, currently I copy and paste a list of commands but that skips certain commands. Some help would be greatly appreciated.
Sergio (3 Replies)
Discussion started by: SergioP
3 Replies
6. Shell Programming and Scripting
Is it possible to dry run a php script without actually executing it? Say I need to test the output of a php file to see if it matches a pattern. I need to run this on all php files on the server. But I fear if there are php files that make modifications, sends out mail etc, that should not happen.... (1 Reply)
Discussion started by: anilcliff
1 Replies
7. Shell Programming and Scripting
echo $result=exec("./permit.sh".$_FILES);
pls suggest some other method to run shell script in php .:wall::mad: (0 Replies)
Discussion started by: upvan111
0 Replies
8. Shell Programming and Scripting
Hi,
I am newbie to Linux/Asterisk. I am trying to write a shell script that would look for my SIP trunk registration, if found UNREACHABLE then it would execute a command and check my local IP, if my local IP is 192.168.1.106 then it would change the IP to 192.168.1.150 and vice versa, after... (8 Replies)
Discussion started by: jeetz
8 Replies
9. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
OPENBOX(1) General Commands Manual OPENBOX(1)
NAME
openbox -- A minimalistic, highly configurable, next generation window manager with extensive standards support.
SYNOPSIS
openbox [--help] [--version] [--replace] [--reconfigure] [--restart] [--config-file FILE] [--sm-disable] [--sync] [--debug]
[--debug-focus] [--debug-xinerama]
DESCRIPTION
Openbox is minimalistic, highly configurable, next generation window manager with extensive standards support.
You can start Openbox in three ways:
If you run a display manager such as GDM, you will find 3 entries in the login session type menu for Openbox: GNOME/Openbox, KDE/Openbox
and Openbox. If you want to use Openbox within GNOME or KDE, you can choose the appropriate entry, and it will launch GNOME or KDE with
Openbox as the window manager.
The third option at log in, which is Openbox without a session manager, uses the openbox-session command to start Openbox. On
log in, openbox will run the ~/.config/openbox/autostart.sh script if it exists, and will run the system-wide script /etc/xdg/open-
box/autostart.sh otherwise. You may place anything you want to run automatically in those files, for example:
xsetroot -solid grey &
gnome-settings-daemon &
Make sure that each line is followed by a "&" or else the script will stop there and further commands will not be executed. You can use the
/etc/xdg/openbox/autostart.sh file as an example for creating your own.
The default /etc/xdg/openbox/autostart.sh runs a number of things with Openbox.
Lastly, if you use startx to launch your X session, you can set up a ~/.xinitrc file to run openbox-session and follow the same directions
as above regarding the autostart.sh file.
You can use the obconf tool to configure Openbox easily with a graphical interface, however more in-depth configuration is possible by
editing the configuration files by hand.
The default configuration and menu files are installed in /etc/xdg/openbox/, and the user configuration is placed in ~/.config/openbox/.
You can copy the default configuration and menus to ~/.config/openbox and edit it to your liking.
OPTIONS
These are the possible options that openbox accepts:
--help Show a summary of the options available.
--version Show the version of the program.
--replace Replace the currently running window manager.
--reconfigure
If Openbox is already running on the display, tell it to reload its configuration.
--restart If Openbox is already running on the display, tell it to restart. This is useful if you have upgraded Openbox and don't want to
restart X.
--config-file FILE
Use FILE for configuration instead of looking for rc.xml in the XDG search path. FILE is an absolute path.
--sm-disable
Do not connect to the session manager.
--sync Run in synchronous mode (for debugging).
--debug Display debugging output.
--debug-focus
Display debugging output for focus handling.
--debug-xinerama
Split the display into two fake xinerama regions, if xinerama is not already enabled. This is for debugging xinerama support.
SEE ALSO
obconf (1), openbox-session(1), openbox-gnome-session(1), openbox-kde-session(1).
The program's full documentation is available on the website: http://openbox.org/
Please report bugs to: http://bugzilla.icculus.org/
OPENBOX(1)