Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Save the Children

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 84 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       dislocate [ program args...  ]


       Dislocate  allows  processes to be disconnected and recon­
       nected to the terminal.  Possible uses:

              ·   You can disconnect a process from a terminal at
                  work and reconnect from home, to continue work­

              ·   After having your line be dropped due to noise,
                  you can get back to your process without having
                  to restart it from scratch.

              ·   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.

              ·   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 terminal, you
                  can disconnect, and reconnect later.


       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

       By  default,  ^] is an escape that lets you talk to Dislo­
       cate itself.  At that point, you can disconnect (by press­
       ing ^D) or suspend Dislocate (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 "n"xt #"
                send -i $out "$i

       Scripts can also be prepared and sourced in  so  that  you
       don't have to type them on the spot.
       This program was written by the author as an  exercise  to
       show  that  communicating  with  disconnected processes is
       easy.  There are many features that could  be  added,  but
       that is not the intent of this program.


       Tcl(3), libexpect(3)
       "Exploring  Expect:  A  Tcl-Based  Toolkit  for Automating
       Interactive Programs" by Don Libes, O'Reilly  and  Associ­
       ates, January 1995.


       Don Libes, National Institute of Standards and Technology

                          7 October 1993             DISLOCATE(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds