10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am calling a zsh script from batch file .
This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies
2. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
3. HP-UX
Hi,
I have an old HPUX 10.20 server running Informix 7.23
I need to dump the database to get it off that hardware before it dies.
Unfortunately there is insufficient local diskspace to do so.
I have set up a linux box with sufficient disk onto which I can export the database.
Having... (1 Reply)
Discussion started by: fella
1 Replies
4. Shell Programming and Scripting
Hi all,
can someone help me with the next redirection?
i want to redirect the stdout+stderr of a command to the same file (this i can do by prog &> file)
but in addition i want to redirect only the stderr to a different file.
how can i do this please? (in BASH)
thanks. (4 Replies)
Discussion started by: eee
4 Replies
5. Shell Programming and Scripting
Hello all,
I have a for loop executing in a script that I want to redirect STDOUT to screen and to file, while directing STDERR to the bit bucket. Here is the general sentax of what I'm doing:
for i in thingy
do
some_command ${i}
done 1>&1 | tee ${LOGFILE} 2> /dev/null
What I am... (2 Replies)
Discussion started by: LinuxRacr
2 Replies
6. What is on Your Mind?
This is great!
Lqh8e2KYIrU (8 Replies)
Discussion started by: Neo
8 Replies
7. Shell Programming and Scripting
Hi,
I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script.
regards
Angshuman (2 Replies)
Discussion started by: angshuman_ag
2 Replies
8. Shell Programming and Scripting
Hi,
We use an application that is dumping logs to a file on disk. However, this is dumping very verbosely and there is no method of turning down the logging level. We need to remove certain contents from these before they are commited to disk.
Has anybody got any ideas how I can do this... (3 Replies)
Discussion started by: harperonline
3 Replies
9. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
10. UNIX for Dummies Questions & Answers
Hi everyone, I am sort of new to shell scripting,
I have a bunch of files that begin with 'blah' and I want to rename those files with something different (renamedFile1, renamedFile2, renamedFileN). I don't want to go through each file and rename them with the mv command. Could I just use a for... (4 Replies)
Discussion started by: kcor
4 Replies