10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Ubuntu server 11.10
can anybody help what is problem with my shell script?
#script to find out currently logged on user is root or not.
echo "You are super"
echo "You are awesome!"
When I run script, I get following output
./uid: line 3:
I... (4 Replies)
Discussion started by: kaustubh
2. Shell Programming and Scripting
Hi guys I have this problem... I am supposed to Check if the word i had input, exist in the txt.file
And i am having a problem with my codes...
cat File.txt | while read TEXT
echo "Not found!"
fi (3 Replies)
Discussion started by: limemargarita
3. Shell Programming and Scripting
i have a set of commands to be executed, which is working perfectly when executed from terminal line by line but when its put in a shell script its not working i.e its giving FileNotFoundException. how do i resolve it
my code is like
jar xf... (4 Replies)
Discussion started by: divyakprabh
I'm new to IBM AIX server admin. Actuall, I administrate Oracle 10g on it.
- IBM AIX 6 Powerpc
- Oracle 10g R2 (10.2.0.4.0 - 64bit)
I wrote a script like bellow...
cp /oracle/product/10g/network/log/listener_temp.log... (4 Replies)
Discussion started by: daniel han
5. Shell Programming and Scripting
Hello. I am trying to make this shell script bellow work on my server wich should take the names in newacc.cvs and add them to the system. For each user the script should ask me to enter a password for the user im adding and then add them to the system, however my current solution do not work atm... (7 Replies)
Discussion started by: ryzzaze
6. Shell Programming and Scripting
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
7. Shell Programming and Scripting
# First check whether the Cluster itself is active
echo Cluster is NOT ACTIVE - EXITING
# Now check whether we are on the active Cluster Node for this Resource Group... (2 Replies)
Discussion started by: babu.knb
8. UNIX for Dummies Questions & Answers
I have a shell script in which I am calling a function from a different shell script. This functions executes the SQL and the results are stored in a log file.
If the result of the SQL is "no rows selected" then I need to exit the main shell script. My shell script is executing fine if... (5 Replies)
Discussion started by: shashi_kiran_v
9. Shell Programming and Scripting
hi! i have the script which i hit error. anyone knows whats wrong? i have been trying for the last 3 days and don't seems to be able to find an answer.
the error i got was sp_out.sh: syntax error at line 51 : `<<' unmatched. However when i move the FTP portion of the script out of the If... (7 Replies)
Discussion started by: pektl
10. UNIX for Advanced & Expert Users
I have a shell script problem. I'm using /bin/ksh and I have a script that reads a number of table names from a file adn then for each table name, it creates the table in Oracle8i via sqlplus,
The main sceleton looks something like:
while read tab_name
done <... (10 Replies)
Discussion started by: strpeski