I am trying to run a .sh script. i go in that directory, and type its name. I keep getting a message: Permission denied.
what else do i need to type to run it? besides the full name.
EDIT: what does this mean:
2) Add [ns-dir]/nam-1.11, [ns-dir]/ns-2.29, and [ns-dir]/bin to the PATH environment variable in your ~/.cshrc file, and run "source ~/.cshrc". For example, if your ns is installed at ~/ns2-ubuntu, update .cshrc to "set path=($path ~/ns2-ubuntu/bin ~/ns2-ubuntu/nam-1.11 ~/ns2-ubuntu/ns-2.29), and then run "source ~/.cshrc".
where do I open the .cshrc file from? and where exactly do i put that line in?
what else do i need to type to run it? besides the full name.
EDIT: what does this mean:
2) Add [ns-dir]/nam-1.11, [ns-dir]/ns-2.29, and [ns-dir]/bin to the PATH environment variable in your ~/.cshrc file, and run "source ~/.cshrc". For example, if your ns is installed at ~/ns2-ubuntu, update .cshrc to "set path=($path ~/ns2-ubuntu/bin ~/ns2-ubuntu/nam-1.11 ~/ns2-ubuntu/ns-2.29), and then run "source ~/.cshrc".
where do I open the .cshrc file from? and where exactly do i put that line in?