Search Results

Search: Posts Made By: sanjay833i
Forum: Web Development 12-24-2012
2,558
Posted By sanjay833i
Can we give permission from root to this file, so...
Can we give permission from root to this file, so we can edit this file using php. we have root access.
Forum: Web Development 12-24-2012
2,558
Posted By sanjay833i
Want to edit a sh file using php code
Hi friends,

I want to edit sh file using php, i have tried different method. but its shows permission issues.

Folder path : xyz permission :0755 owner: 545 group: 0
filename : abc.sh...
1,561
Posted By sanjay833i
Yes i am triggering with same method, not from...
Yes i am triggering with same method, not from apache. running these php files from sh only

---------- Post updated at 04:28 PM ---------- Previous update was at 04:23 PM ----------

I am now...
1,561
Posted By sanjay833i
but i have not got proper details such as...
but i have not got proper details such as currently i am running a script xyz.sh which in below directory
home/httpd/html/vhosts/abc.com/htdocs/shscript/xyz.sh
now i want to get that 'index.php' is...
1,561
Posted By sanjay833i
How to know how many files are running.?
Hi friends

I want to know can we check how many php files are running currently or can we know that a file is running or not.

Maine issue is that i am running two or three files, there are...
2,862
Posted By sanjay833i
Thanks scott, its working i have one more query,...
Thanks scott, its working i have one more query, if i need two three more record such as
SELECT timestamp,id,status from process_record where id = 1
will i need to run separate query for each...
2,862
Posted By sanjay833i
Sql issue in shell scripting
HI friends , i am also facing an issue in mysql

i ma trying to insert detail in a variable but not got success

#!/bin/sh
mysql -u<username> -p<password> <dbname> << EOF
DEV=`mysql...
2,666
Posted By sanjay833i
its now working,error i am getting expr:...
its now working,error i am getting

expr: non-numeric argument
: command not found:

i am more describing my work file
#!/bin/sh
current=$(date +"%s")
echo $current
last_modified=$(stat -c...
2,666
Posted By sanjay833i
Substraction in shell scripting
Hello friends,

I am new on linux, i am facing issues on below script.

#!/bin/sh
current=1355147377
echo $current
last_modified=1354537347
echo $last_modified
DIFF='expr ($current -...
Showing results 1 to 9 of 9

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