The tag has no wiki summary.

learn more… | top users | synonyms

9
votes
1answer
439 views

How to make auto complete available for directories in cdpath for tcsh?

I just learned the trick for setting up cdpath in tcsh and it looks pretty useful. However, it seems that auto-complete of sub-folder names doesn't come with it. Is there any trick available on that? ...
2
votes
1answer
609 views

In csh/tcsh, how can I incorporate literal curly braces into a command that's processed with eval?

To give more details, the situation is this. I'm trying to prepare modulefiles (i.e., of the type used by the environment-modules package) to set up environment and aliases for third-party software. ...
1
vote
1answer
622 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 ...
0
votes
1answer
15 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
1answer
132 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 ...
1
vote
0answers
37 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
0answers
414 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 ...
1
vote
0answers
323 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 ...
0
votes
0answers
20 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 ...
0
votes
0answers
21 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
0answers
14 views

How to append “*” to the start and end of command line parameter in CSH?

In CSH example, echo aaa can print out “aaa”; I need echo_test aaa print out “*aaa*”. While alias echo_test 'echo "*\\!**"' can only print out “*aaa”. Thanks!
0
votes
0answers
62 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
0answers
121 views

csh: how to pattern match a file name?

I need to modify a csh script which essential does different kind file handling based on file name. The script has the following structure: foreach file ($sourceDir/*) if (-d "$file") then ...