answersLogoWhite

0


Best Answer

Shell scripts are interpreted files that contain commands and logic sequences to do things. They are similar to programs in that they contain logic and sequencing, and call other programs to accomplish tasks.

You use shell scripts to automate tasks in Unix, run tasks periodically, create repeatable tasks, etc.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

A shell script is a file containing a set of commands to be executed (run) by the shell in sequence as it reads the file.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by shell and shell scripts?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Will shell scripts run more quickly than compiled programs?

No, scripts are slower than compiled program, and shell scripts are especially slow, for they keep running external commands.


Define the purpose for writing shell scripts as a superuser?

I presume you mean writing shell scripts that operate under the super user account - scripts are written for any reason to help automate tasks and make them much less error prone than issuing commands as a user. Running as the superuser merely means that the commands in the shell script require superuser priviledge to execute.


Where are shell scripts used?

Shell scripts are used for repeatable processes, unattended operation, anything of a repetitive nature, etc. In short, they can be very valuable for just about anything.


How can you compile and execute shell scripts in Unix?

Shell scripts are plain text files; they do not need to be compiled. To make these scripts executable, you need to add an executable flag using chmod. Consider the following example: $ chmod +x myscript


What are different Shell scripts in UNIX?

See related link.


When might it be necessary or advisable to write a shell script instead of a shell function?

A shell function will do nothing unless it is explicitly called by other code, typically in a shell script. A shell script is a runnable, executable process, which can call other shell scripts and/or functions. The question might be worded backwards - it is necessary to write shell functions for shell scripts when certain logical functionality is required to be performed multiple times. Consider a shell function equivalent to a program subroutine - they operate the same way.


How do you compile and run shell script of factorial?

Shell scripts are not compiled; they are interpreted (and therefore do not need to be compiled). Just type in the name of the shell script and any parameters it needs to execute.


What is the command echo in unix mean?

it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.


Parse log files-shell script?

There are following shell scripts available at the below mentioned url -1. Shell Script for Log4j Log Analysis and exception reporting2. Log Monitoring Shell Script - email upon errorsHope that's what you are looking for.


What is the purpose of using echo command?

The echo command echoes out any of the command line arguments given to it. It is commonly used in shell scripts to echo what portions of the shell script are doing.


How do you install Linux terminal on windows?

I am assuming you mean either a POSIX shell or a way to SSH into a Linux box. A POSIX shell is as simple as installing MinGW, which will usually also provide BASH, usually for scripts. For SSH you can just use PuTTY and connect to your Linux box (Assuming it has an SSH server running.) that way.


What does cockle shell mean?

A cockle shell is a type of sea shell found on shorelines.