7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
while ]; do
echo /tmp/unex NOT found, iter : $c;
((c = $c + 1));
so, the above counter doesn't work, already tried both -lt & -gt, and changed || to &&
so what am I missing?
Thanks in advance (5 Replies)
Discussion started by: unexistance
2. Shell Programming and Scripting
Can anyone explain this? The counter CDR_count should go on forever, but it suddenly resets at every step of the FOR loop (I know this because $_file has exactly 378 records). However, the counter reset is OUTSIDE the FOR loop. What's going on??
if || ; then
... (8 Replies)
Discussion started by: Flavius
3. Shell Programming and Scripting
Hi friends, I just want to try some thing with shell using loop and counter
I have 30 Directory, in each directory number of files say 5, 10, 20 etc...
what I want to do is read files from directory_1 say 5 files
if my counter is like this
m=2000 ... (6 Replies)
Discussion started by: Akshay Hegde
4. Shell Programming and Scripting
I am working on a script where I need to add one functionality i.e. to could the number of tar files at particular location...but the script is working in below way.
1) create sandbox
2) Drop old member function
3) addmember function
4) Apply checkpoint lable
5) Resync operation(This... (1 Reply)
Discussion started by: anuragpgtgerman
5. Shell Programming and Scripting
hope I am posting in the right section.
My problem is that I have 2 or more arguments passed and I want to check if the arguments passed exists or not.
The first argument should not exist and the remaining others should exist.
./shells.sh argument1 argument2 argument3
... (5 Replies)
Discussion started by: fight4love
6. Shell Programming and Scripting
Basically Im trying to put the current time in a script in BASH. Tried the watch command, but its not really what I want.
I will have lots of things in this script, current date and time being just a few).
Any ideas? (4 Replies)
Discussion started by: mikejreading
7. Shell Programming and Scripting
how can I send output to the screen from a running script or tcl, in such a way that if a loop is executing I will see the rolling counter on my screen as the records are processed in the loop. I do not want the screen to scroll, though. In other words can a var's value be painted... (2 Replies)
Discussion started by: lifespan