Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hi Joe, thank you for your reply. How can I insert the alias in the script? Can you explain me why the variable is not good? Those are my first steps in scripting world and I would understand "why" :)Thank you Commented Oct 15, 2015 at 10:05
  • The alias should be created after you are connected to the telnet session, and then you just add echo cmd2. Unfortunately I can't reproduce, as the open command is different on CentOS or Ubuntu, but I'll try. Commented Oct 15, 2015 at 10:25