10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
From a script, a command for a test is use :
find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc'
Tha command... (3 Replies)
Discussion started by: jcdole
2. Shell Programming and Scripting
I have a situation where we need to send out mails from our Unix server to different mailing ids inside our scripts.The mails are working fine.But we have occasional issues where we are getting time out errors from the SMTP server while sending out mails.
Command that we are using... (3 Replies)
Discussion started by: DevotedPupil
3. Shell Programming and Scripting
I need to run a PL/SQL Query from a distant oracle server in order to create spool files and send it to my own server, using a php script.
I firstly created a SH script called myscript.sh
echo "This script is working"
sqlplus... (8 Replies)
Discussion started by: cgstag
4. Shell Programming and Scripting
I probably read all the threads in almost all the forums for a solution to my need. I am a beginner in shell scripting and I dont have a perfect solution yet. Below is my code snippet.
idql -n $REPOSITORY_NAME.$cs -Udmadmin -P"" -R$DM_SCRIPTS/test.api > /dev/null 2>&1
if ; then
echo... (7 Replies)
Discussion started by: vishnudev1
I want to do something very very bad. I want to create a button that restarts mysqld. Why is irrelevant for my issue.
Here is my php script ...
exec("sudo /etc/init.d/mysqld restart");
<input type="submit" name="restart"... (3 Replies)
Discussion started by: noPermissions
6. Shell Programming and Scripting
I've written a very robust script to get an external IP address from 'behind' a router. It uses many web pages randomly choosing which one/ones to use at run time. The "fetch the web page containing the IP address" is handled by either wget or curl both of which have their 'max time for the... (6 Replies)
Discussion started by: gencon
7. Web Development
Hey guys i've recently been getting into php programming and i became thinking was it possible to create a php script that would allow you to run a terminal from the browser page?
All i've pretty much got so far is:
$var = $_GET;
$output = php shell_exec($var);
... (4 Replies)
Discussion started by: lordfirex
8. Shell Programming and Scripting
Hi, I've been working on a PHP script which is "supposed" to find an individuals weather based on their geolocation. This script uses "shell_exec".
I have checked my syntax and it is correct, but there is still something missing; for when I call on the script using:
<form action='/weather.php'... (15 Replies)
Discussion started by: o0110o
9. Shell Programming and Scripting
can any one pls explain the meaning of
exec 1<&5 ?? its urgent (2 Replies)
Discussion started by: santosh1234
10. Shell Programming and Scripting
I want to know whether we can timeout the cd command in unix.
If we can how is it implemented?
Suppose cd command hangs can we timeout the command.
Please help (9 Replies)
Discussion started by: dipashre