10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So, I've been playing with speeding up some analysis we do by using multiple threads of awk (actually, mawk, but code-compatible as far as I use it) on multiple CPU cores. So, I have a big data file and I have several copies of exactly the same processor script, written in mawk. I also have a... (8 Replies)
Discussion started by: treesloth
8 Replies
2. Shell Programming and Scripting
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
Discussion started by: nanthagopal
1 Replies
3. Shell Programming and Scripting
Good morning,
First time poster. be gentle! :)
I do not know coding all that well but I can hack the hell out of example scripts! I just cant wrap my brain around this one.
Im trying to run two grep statements in the first IF statement and doing an AND between them. Something is going... (6 Replies)
Discussion started by: mrplow2k69
6 Replies
4. Web Development
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 Replies)
Discussion started by: jofinjoseph
9 Replies
5. Shell Programming and Scripting
Hi!
I have a python script that requires arguments and these arguments are file paths. This script works fine when executed like this:
/my_python_script "file_path1" "file_path2"
(i added quotes as some file names may have weird characters)
the issue happens when i launch my python script... (14 Replies)
Discussion started by: gigagigosu
14 Replies
6. Shell Programming and Scripting
Hi, I have a script that interacts with a config file in the format:
file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
file6.txt
I would like to return the Category, when given the file name. (11 Replies)
Discussion started by: MoreCowbell
11 Replies
7. Shell Programming and Scripting
Hi all,
I'm trying to import some functions I have saved in a file named
functions.sh into a different script (protocol.sh). Can anybody show
me how to do this? I tried source functions.sh as I would do at the
terminal but source command cannot be found from within the script
protocol.sh.
... (2 Replies)
Discussion started by: tevang
2 Replies
8. Shell Programming and Scripting
is there any way to include one shell script into other
like include in c
apart from putting it in a function (3 Replies)
Discussion started by: mobydick
3 Replies
9. Shell Programming and Scripting
Hi
Is it possible to have a bash script call an external bash script? For instance, I have a series of monitor scripts that check for running services (such as httpd, postmaster). Each monitor script is individual to the service. If a service fails, I would like to have a larger script that goes... (3 Replies)
Discussion started by: mikie
3 Replies
10. UNIX for Dummies Questions & Answers
New to Unix scripting and have written two scripts, one calling the other. When it returns to the calling script is it possible to return information, like a return code? :confused: (1 Reply)
Discussion started by: cathrop
1 Replies