Questions tagged [csh]
The csh tag has no usage guidance.
12
questions with no upvoted or accepted answers
3
votes
0
answers
593
views
Converting csh or tsh scripts to Bash
I am looking for a tool that can convert scripts written in csh or tcsh to a bash scripts. At least on the basic stuff so that I don't have to go through the process of translating everything from ...
2
votes
0
answers
142
views
RHEL 6 converting a BASH script to a CSH script
I have a BASH script( running on RHEL 6 ) that brings up a GNOME terminal, opens multiple tabs in that terminal, starts a server in each tab, names the tab after that server, and inserts the command ...
1
vote
0
answers
20
views
Pathname or word too long in Cshell
I am using cshell. And I know that there is a limit of 1024 character while setting path. But I have many path variables which I need to set. So, it is exceeding 1024 characters and I am getting an ...
1
vote
0
answers
407
views
What does the datasize limit in a csh actually do?
My .cshrc had set up a "limit datasize 256000", however several of my running processes are currently exceeding that. For example:
VmPeak: 496840 kB
VmSize: 496840 kB
VmLck: 0 kB
VmHWM: ...
1
vote
1
answer
3k
views
Using different .cshrc.user files
I have two .cshrc.user files for two different projects. For example, they set the same environment variables but with different values.
When I'm currently switching between projects, I run a python ...
1
vote
0
answers
2k
views
csh: Every command returns "no match"
I'm on mac OSX mountain lion working with csh. I'm not quite sure what I did, but suddenly every standard unix command I run returns a "no match".
Example:
$ echo "Hello"
echo: no match
$ rm a.txt
...
0
votes
0
answers
413
views
How to script to read user input, then run in background itself even closing terminal in TCSH?
I am looking for a strategy suggestion. I am very new to Linux shell scripting. Just learning tcsh not more than a month. I need a script to automatically detects when is the result files are done ...
0
votes
0
answers
85
views
RHEL 6: GNOME: staring a *.desktop file in a shell different from the system default
I'm in RHEL 6 with bash as my default shell.
I have a script called startServers
I made a startServers.desktop file which I put on my desktop so I can have the convenience of clicking on an icon to ...
0
votes
1
answer
60
views
Use of variables withing singlequotes, CSH
I have a short script meant to do some server maintinence, but I can't for the life of my figure out how to properly use variables within my script, Here's a code sample to make it more clear:
--...
0
votes
0
answers
788
views
Run script on SSH login to server
I'm trying to work out how to get SSH to run a script before passing a shell to me. The reason for this is that I will be logging into shared users on many boxes and I want my own configuration when I ...
0
votes
1
answer
162
views
how to set up new keybinding for finding last command executed using the first few characters of the command in csh
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command ...
0
votes
1
answer
420
views
How to do a recursive filename `find` from the shell using a glob pattern with "set braces"
From the shell, I'd like to recursively search a directory for a given glob pattern. But I want to use set-braces-syntax in my pattern:
find ~/path/to/dir -name '*.{h,m}'
Here I'd like to recursively ...