Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

commands:chdir [2010-01-26 16:11] (current)
asciiphil created
Line 1: Line 1:
 +====== chdir ======
 +
 +===== Default Keybindings =====
 +
 +None.
 +
 +===== Syntax =====
 +
 +  * ''**chdir** [//directory//]''
 +
 +===== Description =====
 +
 +Change the current directory of ''screen'' to the specified directory or,
 +if called without an argument, to your home directory (the value of the
 +environment variable $HOME).  All windows that are created by means of the
 +''[[screen]]'' command from within ".screenrc" or by means of
 +''[[colon|C-a :]] [[screen]] ...'' or ''[[screen|C-a c]]'' use this as
 +their default directory.  Without a ''chdir'' command, this would be the
 +directory from which ''screen'' was invoked.  ''[[hardcopy]]'' and
 +''[[log]]'' files are always written to the window's default directory,
 +not the current directory of the process running in the window.  You can
 +use this command multiple times in your .screenrc to start various windows
 +in different default directories, but the last ''chdir'' value will affect
 +all the windows you create interactively.
 +
 +===== Examples =====
 +
 +None yet.
 +
 +===== See Also =====
 +
 +  * ''[[screen]]''
 +  * [[:Misc]]
  

User Tools