10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
How can I efficiently cat piped output with another file?
> (awk command) | cat file1 (piped output)
Thanks! (11 Replies)
Discussion started by: palex
11 Replies
2. Shell Programming and Scripting
hi
i have a script named mount.sh under the location /data/scripts/ in my aix box
i want this script this to be run everyday morning at 04:45 AM and the output of the script should be piped to a file
how to do this ? (3 Replies)
Discussion started by: samsungsamsung
3 Replies
3. Shell Programming and Scripting
Is there a way to keep the output of a script displayed on the terminal when it's run by itself, but suspend part of that output and only have a specific part delivered when it's piped to another script or program? I'm thinking something like the following pseudocode:
#!/bin/bash
... (1 Reply)
Discussion started by: trigg
1 Replies
4. Shell Programming and Scripting
Currently, i am trying to create a simple robust script that is intended to move the contents of a given source directory to a target directory. Optionally, the script should allow to either move the whole source dir content, or dotfiles only, or visible files only. I am aware the target directory... (0 Replies)
Discussion started by: shells_bells
0 Replies
5. Shell Programming and Scripting
Hello,
There is pipe chain and I want concacenate piped data with some variable:
balh blah| ... $var1
What command I should use instead ... to concatenate piped output with $var1. I think I coud solve this using temp var - but could it be done in one line like sample above ?
thanks... (4 Replies)
Discussion started by: vilius
4 Replies
6. Shell Programming and Scripting
Hello All,
Hope all is well. I was trying to scratch my head here with simple problem of running Shell script in Java. I tried to google and look through forums but was unable to understand how to solve it.
Here is my simple Java class, which resides in different directory then my shell... (2 Replies)
Discussion started by: samshaw
2 Replies
7. Shell Programming and Scripting
I want to execute a command something like:
find / -name "jni.h"
and I want to direct the output of that command to some type of
filter that will leave out all the lines reporting inaccessible
directories (permission unavailable). Is this a pipe or a redirect?
For example, output like... (1 Reply)
Discussion started by: downplay
1 Replies
8. Shell Programming and Scripting
hey everyone,
For my studies i had to write a javaprogram which reads 2 integers from the keyboard and then using the basic operations(addition, division etc) with them. so far no problem. but now i gotta make a shell-script which:
runs the program(compiled with javac)
#!bin/ksh
java... (1 Reply)
Discussion started by: simlmf
1 Replies
9. Shell Programming and Scripting
Hi
How can I call a .sh (shell script) from a java procedure? Is this possible at all?
Please tell me.
Thanks.
Asty (3 Replies)
Discussion started by: Asty
3 Replies
10. Shell Programming and Scripting
I'm using the fabulous perl. I need a way to tell when a piped call to "open" has completed. Can I do this with a command like <ShellPipe> ??
Reason behind this:
I'm trying to write a backup script in perl! This script will download a certain file from my web server, to my computer.
Now,... (0 Replies)
Discussion started by: boytheo
0 Replies