8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ,
I need to know the difference between $((command)) and $(command) and $(($(command))).
"" and '' and ``.
I have tried searching the help files but cant able to find this.
Could you let me knoq about any document.
Thanks (4 Replies)
Discussion started by: Raj999
4 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
We have created a LUN on SAN and assigned it to a server.
On top of it we have created 4 LVM shares which are holding the data.
Is it possible to add this LUN to some other server and access the data on LVM shares?(noob here) (1 Reply)
Discussion started by: pinga123
1 Replies
3. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
4. Shell Programming and Scripting
While going through a script, i came across few syntax which I am not aware of what they exactly means.
@ cnt = 1
@ num_all = `echo $var`
What is the significance of "@" here. What is it called? (3 Replies)
Discussion started by: animesharma
3 Replies
5. Shell Programming and Scripting
I am a beginner (Just 2 days old:o ), i will really appreciate if you can solve my silly queries as below:
Lets say i write a script like this
#!/bin/bsh
clear
#to read name from keyboard
echo "your name please.."
read fname
echo "you just entered $fname"
exit 0
My environment is... (2 Replies)
Discussion started by: animesharma
2 Replies
6. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
7. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
8. Shell Programming and Scripting
hi,
in a text file i have listed some file names,
it look like this
AAAA1
AAAA2
AAAA3
BBBBB1
AAAA4
BBBBB2
BBBBB3
AAAA5
AAAA6
BBBBB4
i want to make some operations on the files with name AAAAAx
which is listed just before files with name BBBBBx
that is: i want to select AAAA3,... (8 Replies)
Discussion started by: gfhgfnhhn
8 Replies