How will you run the script in UNIX?
Answers were Sorted based on User's Feedback
Answer / najib
./scriptfile (file should be executable) or . ./scriptfile
(force the file to be executed even if the file doesnt have
execute permission)
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / pankaj cheema
1. simple open the terminal.
2. if you make file in vi then type sh and a space and file
name as $sh pankaj.sh.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / surendra bisht
actually first we have to change file permission to execute .
. to make file executable:
type
$chmod +x filename
. then for executing it :
type
$sh filename
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / abhishek
it can also be done this way "bash scriptfile" or "csh
scriptfile"
| Is This Answer Correct ? | 0 Yes | 0 No |
What is an inode?
how to check GDE,EME,Java,Oracle9i Enterprise Edition Release versions Versions on unix system
Is this the command to connect oracle from unix? sqlplus -s username/password. Then what is the -S here...????
In this command sqlplus -s username/password what is -S and what's the use..???
what is a profile?
why unix commands simpler rather than complex task
Name key files or directories on a UNIX system that should always be backed up?
How do you create special files like named pipes and device files?
How does the inode map to data block of a file?
What is a Region?
What does iostat do?
In detail elaborate the system? What is driver?