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 - Operating System
How Can I Make A Terminal Command Permanent?
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: 1415287" data-attributes="member: 71075"><p>You can simply paste the command into a plain text document and save it with the ".sh" extension. There's your shell script. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Note: If you're using TextEdit to create the script, you'll need to make sure it's in Plain Text mode (Format > Make Plain Text). If you don't, the file will be saved as rich text which won't be interpreted properly.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1415287, member: 71075"] You can simply paste the command into a plain text document and save it with the ".sh" extension. There's your shell script. ;) Note: If you're using TextEdit to create the script, you'll need to make sure it's in Plain Text mode (Format > Make Plain Text). If you don't, the file will be saved as rich text which won't be interpreted properly. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
How Can I Make A Terminal Command Permanent?
Top