Home » Questions » Computers [ Ask a new question ]

To open a new tab in Screen at your current location

To open a new tab in Screen at your current location

Let's assume that you are at /users/cs/uni/databases/python/codes/ and you want to compare the outputs of the same command with different parameters.

Asked by: Guest | Views: 334
Total answers/comments: 3
Guest [Entry]

Just run screen inside screen and it'll open a new window in the current directory.
Guest [Entry]

"How about this:

screen -X chdir `pwd`; screen -X screen

This sets screen's (not your shell's) current directory to your shell's current directory and opens a new window.

You could also do

screen -X chdir `pwd`; screen -X screen; screen -X ~

This will additionally restore screen's current directory to your home directory.

Put that in an alias and you should be fine."
Bvkocr [Entry]

lipitor 20mg over the counter <a href="https://lipiws.top/">lipitor pills</a> buy lipitor 80mg without prescription