View Single Post
  #1  
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

Hi,

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 https://www.vandyke.com/support/tips/sftptab.html. 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`"
and
echo "^[&&Bclone-session `pwd`"
and
echo "^[&&Bclone-window `pwd`"

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