KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I like javascript, so I was excited when I heard about Node.js , a V8-based Javascript runtime. I would prefer to do my shell scripting going forward in Javascript. My issue is this: how can I run my scripts without calling node ~/Scripts/myscript.js ? After I chmod +x my script, it tries to run as a bash script instead of a Node.js javascript.
Tags (comma-separated)
Save Edits
Cancel