01-13-2009
Are you running a rsh daemon on the windows box?
Just use the scheduler on the windows box.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
How do I write a korn shell that will rename file with the current date. What I want to do is, I have a file that is re-written every day. But instead, I want to keep a 14 day history of the file. So I want to write a script that will rename the current file with a date attached to the... (2 Replies)
Discussion started by: watson2000
2 Replies
2. Shell Programming and Scripting
hi
how can I execute a shell script on unix server from a .bat file of windows desktop??
Regards. (3 Replies)
Discussion started by: Chaitrali
3 Replies
3. Shell Programming and Scripting
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the second... (1 Reply)
Discussion started by: ilugopal
1 Replies
4. Windows & DOS: Issues & Discussions
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the... (6 Replies)
Discussion started by: ilugopal
6 Replies
5. Shell Programming and Scripting
All,
Can anyone please help me with the below scenario in korn shell script.
Can anyone please give me some hints to proceed on this.
I have a Flat file of the below format.
Input file format:... (1 Reply)
Discussion started by: sp999
1 Replies
6. UNIX for Advanced & Expert Users
I am currently in Afghanistan and do not have access to some of the resources I normally do back in the US. Just accessed this site and it looks promising! Hopefully you will not find my question too much of a waste of your time.
I write mostly Korn Shell and PERL on Solaris systems for the... (2 Replies)
Discussion started by: mseanowen
2 Replies
7. Shell Programming and Scripting
I need to split a file if it is over 2GB in size (or any size), preferably split on the lines. I have figured out how to get the file size using awk, and I can split the file based on the number of lines (which I got with wc -l) but I can't figure out how to connect them together in the script.
... (6 Replies)
Discussion started by: ssemple2000
6 Replies
8. Shell Programming and Scripting
Hi,
I have files in the directory like below which I need to validate if all the required files are present.
A_B_001 of 002_time1.txt
A_B_002 of 002_time1.txt
A_B_001 of 001_time2.txt
Scenarios-
a)If file with 001 of 002_time1 or 002 of 002_time1 is missing in the folder,script should... (6 Replies)
Discussion started by: aneeta13
6 Replies
9. Shell Programming and Scripting
I know there are other ways of accomplishing the below task, but the purpose of this thread is to understand the below code.
I wanted to use xargs with user defined function in korn shell. Am aware, that I could write custom function into a script and place it in FPATH and then call it in xargs,... (2 Replies)
Discussion started by: luhah
2 Replies
10. Shell Programming and Scripting
Hi,
I am facing an issue wherein some temporary files (here docs) are getting created in /tmp and are not getting deleted automatically.
When i check the list of open files with below command i can see one file is getting appended continuously.(In this case /tmp/sfe7h.34p)
The output is... (4 Replies)
Discussion started by: Navin_Ramdhami
4 Replies
LEARN ABOUT XFREE86
dmxchangedesktopattributes
DMXChangeDesktopAttributes(3X) DMXChangeDesktopAttributes(3X)
NAME
DMXChangeDesktopAttributes - change global bounding box
SYNOPSIS
#include <X11/extensions/dmxext.h>
int DMXChangeDesktopAttributes(Display *dpy,
unsigned int mask,
DMXDesktopAttributes *attr);
DESCRIPTION
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect
on the screen layout. An attribute mask is placed in mask and the attributes to change are placed in attr.
The values that are used to compute mask are as follows:
DMXDesktopWidth
DMXDesktopHeight
DMXDesktopShiftX
DMXDesktopShiftY
The DMXDesktopAttributes structure is:
typedef struct {
unsigned int width;
unsigned int height;
int shiftX;
int shiftY;
} DMXDesktopAttributes;
width and height specify the new width and height for the bounding box. shiftX and shiftY specify where the Xinerama origin will be
placed with respect to the origin of the new bounding box. This allows the left and upper edges of the bounding box to be changed without
changing the visual position of the windows on the desktop. If width or height is not specified, the current values will be used. If
shiftX or shiftY is not specified, 0 will be used.
All coordinants are in the global DMX coordinant system. If Xinerama is not active, an error will be generated.
RETURN VALUE
DMXChangeDesktopAttributes() will return 0 on success, DmxBadXinerama if Xinerama is not active, DmxBadValue if the size of the bounding
box is too large, and DmxBadReply if there was a protocol error.
DMXChangeDesktopAttributes() can generate BadLength (if the request is malformed, which should never happen when using this library inter-
face), and BadValue (if any values are out of range).
SEE ALSO
DMXGetDesktopAttributes(3X), DMX(3X), Xdmx(1)
XFree86 Version 4.7.0 DMXChangeDesktopAttributes(3X)