|
The message is pretty clear, it appears that the shell script is not in the directory which you are trying to execute it from. |
|||
|
|
Point is that how did u execute test.sh.... If the script file requires root permission, then execute with root privilege. Remember, generally we copy a file on the current desktop. So, if u login as user (say "abcd") then open terminal > type Desktop and press enter, then try to do the same job with su command. If u login as root, then open terminal and type Desktop and press enter, and again try to execute the same. Always remember either the file copied in another location or it requires root permission causes the problem which u mentioned. U can also use su command from general user. |
|||
|
|
It is possible you typed the command like this: |
|||
|
|
Use sh if it's a sh script. Ksh if it's a ksh script. Therefore Assuming it *is* an sh script rather than only a extension some programer assigned to the file. The thing is that I do not really understand the question because you mention .ksh scripts but you later ask for test.sh? Regards |
|||
|
|
10
Answers
|
|
10
Answers
|
|
4
Answers
|
|
3
Answers
|
|
4
Answers
|
|
1
Answer
|
|
0
Answers
|
|
0
Answers
|
|
1
Answer
|
|
1
Answer
|
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board