Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 827 Bytes

File metadata and controls

47 lines (33 loc) · 827 Bytes

Productive Developer - Command Line Mastery: Executable Files

You will need to modify the file permissions to add the executable bit on these files apart from HelloWorld.java

You can do this using

chmod +x fileName

e.g. chmod +x bashHelloWorld

Bash bashHelloWorld

./bashHelloWorld TheProductiveDeveloper.net

Java HelloWorld.java

./java-please.sh
java -jar javaHelloWorld.jar TheProductiveDeveloper.net

./java-no-thanks.sh # to delete the compiled files if you want

JavaScript / Node jsHelloWorld

./jsHelloWorld TheProductiveDeveloper.net

PHP phpHelloWorld

./phpHelloWorld TheProductiveDeveloper.net

Python pyHelloWorld

./pyHelloWorld TheProductiveDeveloper.net

Ruby rubyHelloWorld

./rubyHelloWorld TheProductiveDeveloper.net