10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Am still learning Scripting and I come across a build command that I don't really understand
if /local/bin/wsname 2>/dev/null; then
if ; then
can some one in light me to what... (1 Reply)
Discussion started by: Wpgn
2. Shell Programming and Scripting
The campus system that I use has switched to using winbind. In the old days, I was able to specify tcsh as my shell with the usual entry in /etc/passwd. But I'm told winbind doesn't have user specific entries, and now my ssh login defaults to a bash shell. Can anybody advise how I can... (2 Replies)
Discussion started by: LeoKSimon
3. Shell Programming and Scripting
I have made a file file usercreate.sh & it has to run in tcsh env & needs some path to be set.
my script is as below.
setenv PATH "/usr/lib/java/class"
but when i am ruuning my script... (1 Reply)
Discussion started by: ajaincv
4. Shell Programming and Scripting
I am a beginner (Just 2 days old:o ), i will really appreciate if you can solve my silly queries as below:
Lets say i write a script like this
#to read name from keyboard
echo "your name please.."
echo "you just entered $fname"
My environment is... (2 Replies)
Discussion started by: animesharma
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am working on a hands on project. We are creating a script for a corporate phone list. The project I am... (2 Replies)
Discussion started by: SarahBelle7858
6. UNIX for Dummies Questions & Answers
I type in my shell:
set prompt="(%M) %c%b%# "
to get something like:
this works, but only partially.
every time I move to to a different directory (i.e. 'cd <some dir>'), the prompt is reset. Meaning, when I 'echo $prompt' after setting the prompt I get the correct prompt,... (8 Replies)
Discussion started by: yuvalbn
I need to find tcsh shell version info on several boxes.
I made a script and running on boxes through SSH.
This is what i am doing :
echo /bin/tcsh -c 'echo $version' | ssh "box name"
but i dont see anything.
if i run /bin/tcsh -c 'echo $version' on ocal machine i see the... (2 Replies)
Discussion started by: kailash19
8. UNIX for Dummies Questions & Answers
Why tcsh shell is not recommended ? then which one is better ?
Also can you please let me know how to change own shell and config file? (3 Replies)
Discussion started by: darshakraut
9. Shell Programming and Scripting
I'm on AIX version 5 and I believe I have the tcsh shell environment to play in. Can you guys help me with a solution to rename all files that have "eclp" in the filename to "ecl" ? I basically want to rename the files and strip the "p" out.
i.e. original filenames:
... (3 Replies)
Discussion started by: in2vtec
10. Shell Programming and Scripting
Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Discussion started by: SeanWuzHere