2
votes
1answer
217 views

Echo string in tcsh with special characters escaped

Is it possible to echo out a string in tcsh such that it is fully escaped, as tcsh would understand? In the same way as printf %q works in bash: % # Create a variable containing a tab character % ...
3
votes
2answers
1k views

Transferring environment variable through SSH / quoting in bash/sh/csh/tcsh

I want to transfer an environment variable over SSH. The "correct" way is using SendEnv/~/.ssh/environment, but that requires the server to support AcceptEnv or PermitUserEnvironment, which it does ...
1
vote
0answers
145 views

Why my $PATH is not inhereted by the invocked bash? [closed]

I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usualy I start my session from exec ...
2
votes
2answers
5k views

c shell environment variable error: “Bad : modifier in $”

I am using tcsh and define an environmental variable as follows: setenv mycomp myusername@my.computer.com so that when I need to copy files from the remote my.computer.com, I type the following: ...
0
votes
2answers
1k views

How do I set an environment variable in tcsh that dynamically references other env vars?

I'm using tcsh here, and am trying to get an environment variable that references another one dynamically... I want to be able to do the following, and I'm sure I've seen it done before elsewhere: $ ...
2
votes
1answer
800 views

How to set PATH to run programs outside of default path?

I'm working on a project on my school's linux servers. I have a program deep in a directory, we'll say it's ...