Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to switch from one shell to another

Status
Not open for further replies.

anilineda

Member level 3
Member level 3
Joined
Mar 10, 2016
Messages
54
Helped
2
Reputation
4
Reaction score
1
Trophy points
8
Activity points
466
hello,

I am in a problem of dealing with two shells, I have a some 10 lines of commands in a single file where the first 5 lines are only understood by tclsh and the next five lines are understood only by either my default bash or csh. if i source the file (containig tthese 10 commands), i want my job to be done in a single press of my enter key.

the problem is , if i write "csh " command at the middle of the file (i.e at 6th line), it says invalid command. but if i enter myself csh in terminal then it will take and accept.

Regards,
Anil
 

post your script or example script which is trying to switch shells.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top