10-08-2001
How about this?
If I have say three machines, one from which I want to sed the screens and two that I want to send the screens to.
If the two that I want to sent to have the same IP address (lets say 1.1.1.9) and I set the sending machines DISPLAY variable to
DISPLAY=1.1.1.9
export DISPLAY
Do you think it would send the screen to both(as it thinks they are the same machine?)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all:
im working in bourne shell and i want to keep in a varible separated strings and later use them independently
can anybody write me an example?thanks (1 Reply)
Discussion started by: micromicrin
1 Replies
2. UNIX for Dummies Questions & Answers
All,
I have a file ABC.TXT which has two records:
12345 19.93 34.94
12345 94.84 10.48
If do the following command and
grep '12345' ABC.TXT >> test1.txt
If I look at the output of test1.txt I appears as follows:
12345 19.93 34.94 12345 94.84 10.48
I... (5 Replies)
Discussion started by: kingofprussia
5 Replies
3. Shell Programming and Scripting
Hi All,
I've got a script to output YAML data, and I want to display data that's held inside variables inside one large CAT area. What's the easiest way to do this?
cat << "END"
---
classes:
- general_image
- $intro #Variable 1
- $mid #Variable 2
... (2 Replies)
Discussion started by: glarizza
2 Replies
4. Shell Programming and Scripting
if i want to display the contents of a file between say line number 3 and 10 then i use the following command
sed -n '3,10p' filename
if this 3 was contained in x and 10 was contained in y then how wud this command modified?
sed -n '$x,$yp' filename does not work..please advise (2 Replies)
Discussion started by: arindamlive
2 Replies
5. UNIX and Linux Applications
Hi,
We are in AIX 5.3
In a shell program I use a variable coming from a file and containing a path : 'C:\temp\titi'
Z2='C:\temp\titi'
echo $Z2
When I want to print the variable with echo command , I have :
C: emp iti
How to have the correct variable ? Thanks (1 Reply)
Discussion started by: tbeghain
1 Replies
6. Shell Programming and Scripting
Hi All,
i have a requirement where i have to run a script with at least 25 arguements and position of arguements can also change. the unapropriate way is like below. can we achieve this in more good and precise way??
#!/bin/ksh
##script is sample.ksh
age=$1
gender=$2
class=$3
.
.
.... (3 Replies)
Discussion started by: Lakshman_Gupta
3 Replies
7. Shell Programming and Scripting
Hello,
I would like to ask for help with csh script.
An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
Discussion started by: FMMOLA
7 Replies
8. Shell Programming and Scripting
Hi All,
I need to read values of 10 columns from oracle query and assign the same to 10 unix variables. The query will return only one record(row).
I tried to append all these columns using a delimiter(;) in the select query and assign the same to a single variable(V) in unix. I thought I... (3 Replies)
Discussion started by: hkrishnan91
3 Replies
9. Shell Programming and Scripting
Hi guys,
I have a log file that generates multiple logs about a query.
<query time='2016-04-13 13:01:50.825'>
<PagingRequestHandler>
<Before>brand:vmu</Before>
<After>brand:vmu</After>
</PagingRequestHandler>
<GroupDeviceFilterHandler>
<Before>brand:vmu</Before>
... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
10. Shell Programming and Scripting
Hi,
I have scenario like below and need to search for multiple patterns
Eg:
Test
Time Started= secs
Time Ended = secc
Green test
Test
Time Started= secs
Time Ended = secc
Green test
Output:
I need to display the text starting with Test and starting with Time... (2 Replies)
Discussion started by: weknowd
2 Replies
LEARN ABOUT DEBIAN
xdriinfo
xdriinfo(1) General Commands Manual xdriinfo(1)
NAME
xdriinfo - query configuration information of DRI drivers
SYNOPSIS
xdriinfo [-display displayname] [command]
DESCRIPTION
xdriinfo can be used to query configuration information of direct rendering drivers. If no command argument is specified it lists the names
of the direct rendering drivers for all screens.
Valid commands are:
nscreens
Print the number of screens.
driver screen
Print the name of the direct rendering driver for screen.
options screen|driver
Print the XML document describing the configuration options of a driver. The driver can be specified directly by driver name or
indirectly by screen number. If the driver name is specified directly then no X connection is needed.
ENVIRONMENT
DISPLAY
The default display.
SEE ALSO
X(7), xdpyinfo(1), xwininfo(1), xvinfo(1), glxinfo(1), xprop(1)
AUTHOR
Felix Kuehling
X Version 11 xdriinfo 1.0.4 xdriinfo(1)