Search Results

Search: Posts Made By: arunize
Forum: Linux 03-15-2006
2,249
Posted By arunize
Printing Problems..
Dear All..
When printing(Epson DotMatrix 9pinX136Cols) an graphics(Graphics2D) document through my Java application, the printer simply take a round and drop the paper out. Nothing printed is it my...
2,572
Posted By arunize
X=$(echo $DISPLAY | cut -d":" -f1) if [ "_$X"...
X=$(echo $DISPLAY | cut -d":" -f1)
if [ "_$X" == "_" ]
then
hostname
else
echo "$X"
fiThe above code working fine in server or stand alone system. In a dump terminal it gives following...
2,572
Posted By arunize
Problem ...
Thanks Vino...
2,572
Posted By arunize
Help Me...
Any body..? Can solve this?
2,572
Posted By arunize
O/P From Script Problem..
echo $DISPLAY is command to find the hostname in dump terminal.
I have modified your coding as follows..

X= echo $DISPLAY | cut -d":" -f1
if [ $X == `` ]
then
hostname
else
echo $X
fi
...
2,572
Posted By arunize
Thanks Rahul.. That's really work. :)
Thanks Rahul..
That's really work. :)
2,572
Posted By arunize
o/p From Script
Dear Group..
I am very new user of Linux..
Can any of you help me to complete my script.?
I have two commands
$DISPLAY - will give o/p as ARUN:00.0
and hostname - will give o/p as ARUN

I...
Showing results 1 to 7 of 7

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