10-31-2003
im trying to test csh scripts on windows using cygwin, but its saying that
bash: csh: command not found.
How do i get cygwin working so that i can use it like a unix shell?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Experts,
I am new to UNIX and I have a script below and in this test case I am reading the names of the files in the present directory into a variable and then looping through each file name and displaying the name back to the screen. The problem I have is although there are 5 files in the... (4 Replies)
Discussion started by: markjohnlowe
4 Replies
2. Shell Programming and Scripting
i having problems figuring out how to 'read' in 3 different directory listings and then display them on the screen into 3 separate columns.
i thought i could use a 'for' loop to grab each directory and then assign a unique variable to each line 'read' in.
of course, as you experts all know,... (16 Replies)
Discussion started by: mjays
16 Replies
3. Web Development
Because of permission issues, I need to link to images in my web page which are stored in /tmp which of course is located in the root directory but my actual html page is much further down in another directory. I thought the the following code should work, but the image comes up as a broken link:... (2 Replies)
Discussion started by: Solerous
2 Replies
4. Shell Programming and Scripting
I have a bash script to output the contents of a text file to html. Everything outputs ok, except this:
######################################################################
# #
# PRIVATE/PROPRIETARY #
# #
# ANY UNAUTHORIZED ACCESS TO, OR MISUSE OF ABC COMPANY #
# SYSTEMS OR DATA MAY... (2 Replies)
Discussion started by: numele
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I want that the prompt that is being displayed (i.e $ sign) should display always the current directory I am working in instead of that $ sign
example:
as we use PS1=patric and the prompt changes from $ to patric OR
if we write the command PS1=`pwd` it will display the current... (5 Replies)
Discussion started by: premjotsingh
5 Replies
6. Shell Programming and Scripting
Hello,
I just saw that on my vps (centOS) my oscommerce with a seo script
has created millions of tmp files inside the /html/cache/ directory.
I would need to remove all those files (millions), I tried via shell but the vps
loads goes to very high and it hangs, is there some way to do a... (7 Replies)
Discussion started by: andymc1
7 Replies
7. Shell Programming and Scripting
I have downloaded source code for 97 files using:
wget -x -i link.txt then run a rename loop:
for file in *
do
mv $file $file.txt
done to keep the html tags but make the file a text that can be parsed.
In each of the 97 txt files the gene # is variable, but the gene is associated... (15 Replies)
Discussion started by: cmccabe
15 Replies
8. UNIX for Beginners Questions & Answers
Hi All.
I am facing a strange scenario
(c13:pq1:/pq1/buffer>) ll ../dataCS/*
ls: cannot access ../dataCS: No such file or directory
(c13:pq1:/pq1/buffer>) cd ../dataCS
(c13:pq1:/pq1/dataCS>) ll *
-rw-rw-r-- 1 pq1 pq10 Mar 1 13:43 test
(c13:pq1:/pq1/dataCS>) ll ../dataCS/*
-rw-rw-r--... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
LEARN ABOUT ULTRIX
suspend
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)