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 |
How many VI editor modes do you know?
what is the name os the first os and tell me the year when it was discovered
virtual terminal protocol is an example of which layer and works with which layer?
Name key files or directories on a UNIX system that should always be backed up?
Explain the read, write, and execute permissions on a UNIX directory.
HOW DO CREATE A NFS FILE SYSTEM
Have you used VI editor?
What are each of the standard files and what are they normally associated with?
What is a daemon?
What is the job responsibility of a System Administrator (UNIX/LINUX),briefly describe (Also point out system admin's daily job details),specify job type & job description?
2 Answers HP, ICS Integrated Computer Solutions, TCS,
What is mutex?
process id for kernell process?