Login To InderWeb ! Just Play !

Username:
Password:

UserSubmittedComments

script

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."

Crontab Commands setup cron jobs in linux Edit your crontab file, or create one if it doesn't already exist.

In linux we can change cron tab file for setting and configuring cron jobs.We can use Vi editor for opening this file.
e.g crontab -e
Crontab Commands
__________

crontab -e     Edit your crontab file, or create one if it doesn't already exist.
crontab -l      Display your crontab file.

shell script variables linux bash shell using ssh from putty for commands

What Are Shell Script Variables?

A variable in a shellscript is a means of referencing a numeric or character value. And unlike formal programming languages, a shell script doesn't require you to declare a type for your variables.

linux mkdir command for creating directory with date which is helpful while cron scripts

mkdir `date +%b%y`
(creates a directory Jul02)
mkdir `date +%b%Y`
(creates a directory Jul2002)
mkdir `date +%m%y`
(creates a directory 0702)
mkdir `date +%m%Y`
(creates a directory 072002)

linux mkdir command for creating directory with date which is helpful while cron scripts

mkdir `date +%b%y`

(creates a directory Jul02)

mkdir `date +%b%Y`

(creates a directory Jul2002)

mkdir `date +%m%y`

(creates a directory 0702)

mkdir `date +%m%Y`

(creates a directory 072002)

How to Include an External JavaScript File in a html or php page?

It is recommended to make java script file separate from main code file(HTML file).It will make your site much faster.You can include a java script file in many ways and few of them are listed here. To include an external JavaScript file in a file, use the script tag.

<script src="../filename.js"></script>
Syndicate content

Popular Tags

tags in Web Links