Search Results

Search: Posts Made By: KarthikPS
4,992
Posted By KarthikPS
How to split the sql output into two different variables
Hi,

How to set as variable from sql output.

Query:
select aa.serial, ao.name from ann_amit aa JOIN ann_object ao on (aa.classid=ao.classid);

I got two values from aa.serial and ao.name, I...
2,365
Posted By KarthikPS
Thanks for the reply, The results i am...
Thanks for the reply,

The results i am getting from python script.

My shell script looks like this,

project=`fab $string $recuse details $host`
for i in ${project[@]}
do
echo $i
done
...
2,365
Posted By KarthikPS
Store the output values in array
Hi,

How to store the values in array from output result,

EG:

I have the result like this,

ps, google, 1.txt, 1
sam, google, 2.txt, 2

These are the four values followed by comma in two...
17,858
Posted By KarthikPS
How to solve this problem "Illegal Option"
I am just trying to read the password from command prompt that user should type with in 10 seconds,

I am getting "read: Illegal option -t"

#!/bin/bash ...
3,398
Posted By KarthikPS
Thanks alister, First i am calling fab in...
Thanks alister,

First i am calling fab in shell script to get the value from python, and in python im returning to shell.

This intercall is happening in round robin, so in the second call to...
3,398
Posted By KarthikPS
How to skip the first line of the script in shell using python?
How to skip first line of the script in shell, using python.
1,502
Posted By KarthikPS
How to store the value from python in shell scripting?
I am calling fab file from shell, and i am getting the output from python. How to store that value in shell?

Eg:- I am taking the value using yaml file in python. Since i am calling python from...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy