04-13-2010
To access UNIX server from Tk application running on Windows
Yes you can access. You can make use of any existing protocols [Like SSH, Telnet etc] to talk to Linux server. Expect is a one more application [Add on to Tcl] which can be used to automate the tasks.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm a complete novice at Unix and need to create a script that does the following...
checks to see if an application server is running.
If the app is running then print 'Available'
Else print 'Unavaliable'
exit from scriopt
I have no idea where to start. I'd be very grateful... (0 Replies)
Discussion started by: duglover
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Do you think there a way to get the windows titles of an X11 application with multiple windows on AIX?
I have only the application's process id, but I can use shell and C++ programming. I am looking for a hint/links to explore.
Thanks! (0 Replies)
Discussion started by: lolal500
0 Replies
3. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
4. UNIX for Dummies Questions & Answers
Ive written a java based "webscraper to rss feed" which resides on my college web space when I execute the app from putty it creates the feed and sets the permissions perfectly.I then wrote a php script to execute the app on demand from the browser using
...
system("java -cp... (1 Reply)
Discussion started by: gleesonger
1 Replies
5. Shell Programming and Scripting
How I can get the logs that are getting stored in specific location in unix server
through an Apache web server installed in unix server?
Requirement is to access the logs through the URL in windows browser without any access. (1 Reply)
Discussion started by: alvida
1 Replies
6. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
7. UNIX for Dummies Questions & Answers
I want to look up log files on the unix server. My machine is windows 7 pro.
I can view them from windows explorer but it is slow because huge amount logs files there.
Is there a way or tools to quickly access it?
Thanks. (7 Replies)
Discussion started by: zhshqzyc
7 Replies
8. Shell Programming and Scripting
Hi All
I need to transfer a file from a UNIX server to a windows server.
I saw that it is possible to do this using scp command by looking at the forum listed below:
... (2 Replies)
Discussion started by: vx04
2 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
i am trying to find whether nginx is installed or not as well process is running or not on my centos server.
For that i am searching for the nginx configuration file nginx.conf based on that i am printing the ouput.
Below script i am using.
var=$(find / -name "nginx.conf" !... (1 Reply)
Discussion started by: balu1234
1 Replies
LEARN ABOUT DEBIAN
dislocate
DISLOCATE(1) General Commands Manual DISLOCATE(1)
NAME
Dislocate - disconnect and reconnect processes
SYNOPSIS
dislocate [ program args... ]
INTRODUCTION
Dislocate allows processes to be disconnected and reconnected to the terminal. Possible uses:
o You can disconnect a process from a terminal at work and reconnect from home, to continue working.
o After having your line be dropped due to noise, you can get back to your process without having to restart it from scratch.
o If you have a problem that you would like to show someone, you can set up the scenario at your own terminal, disconnect, walk
down the hall, and reconnect on another terminal.
o If you are in the middle of a great game (or whatever) that does not allow you to save, and someone else kicks you off the ter-
minal, you can disconnect, and reconnect later.
USAGE
When run with no arguments, Dislocate tells you about your disconnected processes and lets you reconnect to one. Otherwise, Dislocate runs
the named program along with any arguments.
By default, ^] is an escape that lets you talk to Dislocate itself. At that point, you can disconnect (by pressing ^D) or suspend Dislo-
cate (by pressing ^Z).
Any Tcl or Expect command is also acceptable at this point. For example, to insert the contents of a the file /etc/motd as if you had
typed it, say:
send -i $out [exec cat /etc/motd]
To send the numbers 1 to 100 in response to the prompt "next #", say:
for {set i 0} {$i<100} {incr i} {
expect -i $in "next #"
send -i $out "$i
"
}
Scripts can also be prepared and sourced in so that you don't have to type them on the spot.
Dislocate is actually just a simple Expect script. Feel free to make it do what you want it to do or just use Expect directly, without
going through Dislocate. Dislocate understands a few special arguments. These should appear before any program name. Each should be sep-
arated by whitespace. If the arguments themselves takes arguments, these should also be separated by whitespace.
The -escape flag sets the escape to whatever follows. The default escape is ^].
CAVEATS
This program was written by the author as an exercise to show that communicating with disconnected processes is easy. There are many fea-
tures that could be added, but that is not the intent of this program.
SEE ALSO
Tcl(3), libexpect(3)
"Exploring Expect: A Tcl-Based Toolkit for Automating Interactive Programs" by Don Libes, O'Reilly and Associates, January 1995.
AUTHOR
Don Libes, National Institute of Standards and Technology
7 October 1993 DISLOCATE(1)