How to run a script?
How do I run .sh files in Terminal?
I need to install a special patch for vmware. To do this, I downloaded the file and it was the file "linux", a text editor, it looks like this:
#!/bin/sh case "` uname-m `" in x86_64) "$ 0" _64 "$ @" ;; *) "$ 0" _32 "$ @" ;; esac
But how do I run it?
The file you've downloaded is a script file writter un shell ( the first line are the interpreter). So to launch it, you have to open a terminal, like root45 said, terminal can be gnome-terminal or xterm program. The go the directory where you're shell script is saved (command cd), than launch manually your script : sh yourscript.sh