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 INODE?
very first process created by kernell?
Is this the command to connect oracle from unix? sqlplus -s username/password. Then what is the -S here...????
What does the ?route? command do?
What steps are required to perform a bare-metal recovery?
what happens when we create a file system?
virtual terminal protocol is an example of which layer and works with which layer?
What is 'inode'?
If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh
what is the time for incident, problem and change management tickets?
which is the best book for learning unix and linux?
What is FTP?