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 |
hi.when will u come to klnce 4 campus interviews??/
What is FTP?
. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group
If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?
What is a FIFO?
process id for kernell process?
How to recover a system whose root password has lost?
If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh
i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help
What is YACC?
Which is the most commonly used replacement algorithm?
0 Answers Aditi Placement Service,
What are setuid/setgid in relation to file permissions?