View Single Post
Old 08-24-2020, 02:33 PM
Bob_R Bob_R is offline
Registered User
Join Date: Aug 2020
Posts: 1
scripting from bash shell/escape sequences


This one is probably so obvious I'm not finding the answer.

I currently have a script that opens an sftp tab in my current directory per Works great and has been a huge time saver and is the first thing I do on a new server.

I'd like something similar that would clone the current ssh session and cd into my current directory. I've tried:
echo "^[&&Bclone `pwd`"
echo "^[&&Bclone-session `pwd`"
echo "^[&&Bclone-window `pwd`"

But that isn't right. Is there a list of all of the possible commands anywhere?
Reply With Quote