Login To InderWeb ! Just Play !

Username:
Password:

UserSubmittedComments

command

running php file from linux shell vi editor and command line php for non http based files

for creating and executing a php file from ssh you need to PHP installed as binary (CGI) and add something like at top of shell script

[root:inderweb.com]!/usr/bin/php -q

.This is to tell the shell interprator(kernal) that we are using php from bin directory for executing lines of code in script.To get started with a simple php code in shell do following steps:-

  • Open shell prompt and go to your directory . e.g [root:inderweb.com ~]

what is shell script and how to use it? starting commands and scripts in linux

"Shell Script is series of linux command written in plain text file . Shell script is just like batch file is MS-DOS but have more power than the MS-DOS batch file e.g it can have the fully programming functionality in it."

log in mysql from command prompt windows to access database and change passwords grant privialiges

First of all you should know  how you can add users in mysql databases:-

  • Using CREATE USER and/or GRANT commands
  • Inserting a new record into the mysql.user table

First let's see how to use the CREATE USER command:-

     CREATE USER user [IDENTIFIED BY [PASSWORD] 'password']

e.g   

Syndicate content

Popular Tags

tags in Web Links