Next: Screen Command, Up: New Window
(none)
Change the current directory ofscreento 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 thescreencommand from within .screenrc or by means of C-a : screen ... or C-a c use this as their default directory. Without achdircommand, this would be the directory from whichscreenwas 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 lastchdirvalue will affect all the windows you create interactively.