Quantcast
Channel: My Tech Notes
Viewing all articles
Browse latest Browse all 90

start screen with different windows with different working directories

$
0
0
Create ~/.screenrc with the following lines

chdir $HOME/workspace/core-project
screen -t core
chdir $HOME/workspace/hadoop-project
screen -t hdp
When you run screen, there are two windows named "core" and "hdp", the working directory is "$HOME/workspace/core-project" in "core" window, and "$HOME/workspace/hadoop-project" in "hdp" window.

Viewing all articles
Browse latest Browse all 90

Trending Articles