python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to make an alias that will sum a column of a file in my cshrc
I was wondering how I can make an alias in my .cshrc that will sum a column of my choosing of a file that I give it.
for example:
if text.txt was:
a b 3
a c 2
b c 1
sumcolumn 3 text.txt
would return...
Makuza
Votes: 0
Answers: 1
What should i use to wait until a Command is finished in CSH Script?
I know that if a bash script (sh) should wait until the linked script has finished executing, that I have to write a semicolon ; at the end of the line.
This then looks something like this:
rm -rf /ho...

UwBe International
Votes: 0
Answers: 1
I keep getting error "Directory stack not that deep" I have adjusted the <= sign but to no avail
My code below wont run due to " Directory stack not deep error...Pls tell me what's wrong. I suspect the error is in the while loop. I have made several adjustments but nothing works
#!/bin/csh -...
opara chidozie
Votes: 0
Answers: 1