|
|
Difference Of Unix Shell Scripts And Windows Commands - Shell Scripts of Unix and DOS Commands in Windows | ||
Discussion by tinoymalayil with 5 Replies.
Last Update: May 7, 2009, 8:13 am | |||
![]() |
|
|
How can I Study the Shell Script effectively..
Can anyone suggest any tutorial to study Shell Script better.....
If you want to learn more about shell scripting, take a look at http://www.freeos.com/guides/lsst/ and http://steve-parker.org/sh/sh.shtml . Also, reading the info / man page for bash (I would call it the most popular linux shell environment for desktop computers) will give you all the information you need to create shell scripts.
If you are interested in using shell scripts on windows, look at http://msdn.microsoft.com/en-us/library/ms950396.aspx . Windows provides JScript and VBScript for use on its systems. However, there are better alternatives available, like Auto It ( http://www.autoitscript.com/autoit3/index.shtml ).
Regards,
z.
Is Shell Script is Similar to Javascript and VBScript..
Can we use this shell script in html pages.?
QUOTE (tinoymalayil)
Thank You 4 Ur Suggestion and Reply.Is Shell Script is Similar to Javascript and VBScript..
Can we use this shell script in html pages.?
Link: view Post: 441451
No you can not use shell scripting in html page. Shell script serves a different purpose than javascript and VBScript.
Shell script is used to run a series of commands in a UNIX shell. Or in windows a command prompt (The commands are different so I dont really call this shell scripting). Shell Scripting is to make rudimentary or repetitive tasks faster and more automated. It is often used for install scripts, or maintenance scripts.
QUOTE (tinoymalayil)
Thank You 4 Ur Suggestion and Reply.Is Shell Script is Similar to Javascript and VBScript..
Can we use this shell script in html pages.?
Link: view Post: 441451
As random truth mentioned, shell scripts are NOT the same as web scripts. JScript is NOT javascript. Shell scripts are written to be executed on the command-line interpreter. On windows, this is the command prompt. On linux, this is the terminal running a variant of 'sh' (like bash).
Web scripts, on the other hand, are designed to add more functionality to static HTML pages.
I'm going to add some confusion to the mix: certain languages can be used to write both shell scripts and web scripts. Take Perl, for example. In this case, you could write a "shell script" that runs using the perl executable on your local system. You can also write a Perl script that will run on a web server. However, their purpose is totally different.
Regards,
z.
QUOTE (tinoymalayil)
I tried the shell script in Linux OS several times..But I think some of the script have some similarities with Windows DOS Commands.But what is actually happening inside a Shell Script..Why most of the people says that Linux or Unix Environment is more Secure..How can I Study the Shell Script effectively..
Can anyone suggest any tutorial to study Shell Script better.....
Link: view Post: 441435
Hi!
The similarity that you see is between Linux shell scripts and DOS batch files - both are essentially command-line statement put into a file (they are actually more than just a series of statements, but at a very basic level, that's what they are!).
A Linux shell script consists of the location of an interpreter (usually the "bash" script) at the top of the file, indicated by the "#!", followed by statements that can be executed. If you've never written shell scripts before, here's an article on writing your first shell script: http://www.freeos.com/guides/lsst/ch02sec01.html
Do post back if you're looking for more.
Regards,
Nitin
Similar Topics:
Python Does This Snake Lives On Qu...
Switching From 39 qwerty 39 To ...
Making A Simple Unix Shell?
How To Safely Open Usb Drive Without Affecting Viruses Secure acess of USB Drive (24)
|
(9) Why The Installation Of A New Application Is Difficult In Linux
|
Loading...
HOME 





Kris Moore: PC-BSD - Making FreeBSD on the Desktop a reality
OSS Speaker Series presents Jeremy Allison

