• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CSH alias that runs bash command

skeedo

Senior member
I'm using echo -e "\033]0; $HOSTNAME \007" to set the title of an Xterm to the current host. Thing is, default shell is csh and it won't work in csh, and I can't for the life of me figure out how to do it in csh. I have to run bash then paste the echo for it to actually work. Now putting the line into a file called winfix then doing "alias wf bash ~/winfix" works, but I am always not going to have access to this file as this alias is going to be used across 2,000 or so servers here at my work. I need to stick to csh as default shell as well, because thats what everyone else uses. Is there a way I can make csh alias to execute bash then run the command?
 
Back
Top