Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Terminal Help?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1261102" data-attributes="member: 71075"><p>I'm not sure if this is a typo that script is incorrect. It should be:[code]#!/bin/bash </p><p>cd "`dirname "$0"`" java -Xmx1G -Xms1G -jar minecraft_server.jar[/code]</p><p></p><p>Change the permissions on the file like so:[code]chmod 644 <name of script>[/code]That will give you r/w and everyone else read privileges. Next, make it executable:[code]chmod +x <name of script>[/code]</p></blockquote><p></p>
[QUOTE="vansmith, post: 1261102, member: 71075"] I'm not sure if this is a typo that script is incorrect. It should be:[code]#!/bin/bash cd "`dirname "$0"`" java -Xmx1G -Xms1G -jar minecraft_server.jar[/code] Change the permissions on the file like so:[code]chmod 644 <name of script>[/code]That will give you r/w and everyone else read privileges. Next, make it executable:[code]chmod +x <name of script>[/code] [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Terminal Help?
Top