answersLogoWhite

0

As long as the script file is readable and executable, just type the name of the script and it will execute immediately.

Otherwise, you can call the shell interpreter and have it run it immediately such as:

bash ./thefile

where ./thefile is the script you want to run. Or, substitute the shell interpreter you wish to use instead of bash, such as sh, ksh, tcsh, csh, etc.

User Avatar

Wiki User

∙ 14y ago

What else can I help you with?

Related Questions

What is the trap command on Unix for?

The trap command is used in a shell script to intercept certain types of software signals; usually it is used to do a "graceful" cleanup when the shell program is interrupted.


Which is the most commonly used command for referencing detailed information about a particular command in UNIX?

In Unix, use the 'man' command.


What command is used to create a folder in the command prompt?

In Windows and Unix-based and Unix-like systems, the command is mkdir (however in Windows a shortcut md can be used as well).


What file extensions are used to identify command shell scripts?

For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.


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 used to see the contents of a directory in Unix?

The ls command.


Command is used to show clock on xwindow in unix?

xclock


Does UNIX have alternatives to the command line user interface?

Yes, Unix has several variants of Graphical User Interfaces that may be used instead of the command line if the user wishes it.


What command displays the time on most Linux and Unix computer?

The time command is used to time a command and not display the actual time. To display the time and date, the date command must be used.


What is a file command used to create or start a new file?

The 'touch' command creates a new empty file in Unix.


Can ipconfig be used in unix systems?

Not the actual command, no. However, the ifconfig command will give you similar information about the network interfaces.


What command is used to list the contents of a directory recursively in Unix?

ls -lR directory

Trending Questions
How much money does amd make a year? If someone modifies their desktop screen on one user account does that modification show up on other user's accounts of the same desktop? What computer program do you use to create a spreadsheet and create charts? The Add Roles Wizard enforces no other dependencies for the Windows Deployment Services role but the role has several other prerequisites. what is not a prerequisite? Where is halfway between Canton Ohio and Washington DC? What is high speed temp storage location that runs at the same speed as the central processing unit it is embedded within? What is the purpose of a chore chart? When you play a computer game requiring you to click the mouth when a person on the screen blinks what characteristic of living things are you displaying? Significance of write and talk command in UNIX? How do you make an override folder? What is the chip that is able to hold a binary state without the need for recharging? How many ml in 3.75 tablespoon? What is the price of Lenovo classmate mini laptop? How do you solve a math sequence using TI-84 Plus Calculator? What is an electronic component that interprets the instructions that operate the computer? What processor is equivalent to the AMD Sempron? Information on PC Check a computer diagnostic software package is located at what site? What folder is print drivers located? What generation do computer Macintosh belong? What function will display 6 as the output in the following formula?