tcsh is a Unix command shell based on the C shell (csh)

learn more… | top users | synonyms

1
vote
1answer
681 views

In tcsh, how do I disable spelling correction of my command?

Recently, when we updated our OS, we got a new tcsh feature enabled by default. Whenever I type a command that tcsh doesn't recognize, I get an annoying spelling correction like: % cats ...
0
votes
3answers
1k views

run tcsh but bash started instead

I tried to start a tcsh on my Fedora 7 (default shell is bash) [ss@ssvm ~]$ tcsh [ss@ssvm ~]$ echo $SHELL /bin/bash As you see, another bash shell started. I looked at the tcsh file: [ss@ssvm ~]$ ...
4
votes
1answer
3k views

In tcsh, how can I fork multiple shell commands, wait until they all complete, and then do another command?

I want to do the following from the tcsh command line, preferably in 1 line: build_cmd1 & build_cmd2 & build_cmd3 & wait until all parallel build commands finish regression_cmd That is, ...
2
votes
1answer
2k views

cshell for windows

Where can I find cshell for windows xp?
0
votes
1answer
363 views

tcsh `cd` always issues a printout of `$PWD`. How do I disable this?

Someone in IT thought it would be a good idea to modify the default behavior of the command cd in our tcsh environment. As of Monday the "upgraded" version of cd always prints out $PWD after it ...
1
vote
4answers
2k views

Using regular expressions and tail to execute a command

Similar to this question, in Linux tcsh I want to tail a log file and when I match a regular expression I want to execute an arbitrary command. How can I do this?
3
votes
1answer
438 views

In tcsh, how can I silence the output of an already running background process?

If I've launched a job into the background how can I redirect its output to /dev/null or in some way silence its output? I didn't start the job like: CMD >& /dev/null & I started it ...
-1
votes
3answers
216 views

what does tail + number does? What about head

I just called this command ls -l | tail +3. Firstly, ls -s, produces 3 lines, adding piping strips first line and then prints each file names on a separate line. How does it do that? It doesn't make ...
1
vote
1answer
175 views

history file grows indefinitely

I believe I get the same problem as this guy. I'm on AIX, with tcsh 6.12.00 After (probably) a bad logout, the history file exponentially grown, until the quota stopped it (and when the quota was ...
0
votes
3answers
2k views

Space in Directory Path in $path Variable in Linux

I am using Red Hat Enterprise 5.3, and I'm trying to add a directory to my $path variable, but it has spaces in it. The $path variable is space delimited, so how do I differentiate a space in a ...
4
votes
2answers
3k views

After-the-fact remote nohup with tcsh

I have a tcsh instance in an xterm that is running a long-term (weeks?) process. The Xvnc server it's running under went out in the weeds; it's consuming 100% CPU and is unresponsive. (This is a ...