Do Editor AppleScript:
tell application "Terminal"
set windowInfo to do script "echo \"hi user273298\""
do script "echo \"hi adayzdone\"" in windowInfo
end tell
EDITAR
osascript -e '
tell application "Terminal"
set windowInfo to do script "echo \"hi user273298\""
do script "echo \"hi adayzdone\"" in windowInfo
end tell
'