answersLogoWhite

0

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

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What are different Shell scripts in UNIX?

See related link.


Can you access c language in dos and unix?

You can write, compile and execute C-programs in both DOS and Unix, if that's what you meant.


How do you execute shell program in unix?

Make sure it is readable and executable (permissions). Then, just type in the name of the shell file to execute it.


Where can you get a Unix shell for Windows?

A Unix shell can be obtained in Cygwin, a Unix compatibility layer used to compile Unix programs and run them on Windows. Microsoft also makes a shell known as "Windows PowerShell" which incorporates more Unix-like features than the standard command prompt.


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.


What is a command in Unix?

Essentially, a command in Unix is a program that you execute for a certain purpose. It could be anything, from a shell script, to copying or deleting files, etc.


What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


How do you run daemon process?

In Unix, with a C program you can run a quick function to do this. There is an example at:(link moved to link section)AnswerIn Solaris, you need to disconnect your program from your "terminal" ( scripts generally inherit the stdin, stdout, and stderr of your shell when you execute them ). For a shell program you can execute "nohup $program < /dev/null > /dev/null 2>&1 &". Or the shell program can redirect its own stdin, stdout, and stderr -- then you can execute "nohup $program &".


What do you mean by shell and shell scripts?

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.


Can you compile job in Unix prompt?

Depends on what you mean by a "job". You can compile a program.


What is the procedure of execute a script in shell in ubantu?

For any Unix or Linux based operating system, make the text file readable and executable and then invoke (call) it by the file name, which will execute the script.


What is the default Unix shell?

There is no "default" Unix shell. Different Unix vendors shipped different shells.