Skip to content
Advertisement

Tag: tcsh

How can I make a hybrid bash/tcsh script on Linux?

I have one script which runs in Bash and and other which runs in tcsh. I need to run them both from the same script. How can I create a script that can run both bash and tcsh commands? Answer Most shells have an argument which allow you to pass them a string to run as a command, for example,

Suppress ‘Warning: no access to tty’ in ssh

I have a short simple script, that compiles a .c file and runs it on a remote server running tcsh and then just gives back control to my machine (this is for school, I need my programs to work properly on the lab computers but want to edit them etc. on my machine). It runs commands this way: So far

Advertisement