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
macOS & iOS Developer Playground
macOS - Development and Darwin
help using terminal
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="cradom" data-source="post: 1130767" data-attributes="member: 305283"><p>Find yourself a website on using the Bash shell and shell scripting. Here are a couple to get started:</p><p><a href="http://linuxcommand.org/" target="_blank">LinuxCommand.org: Learn the Linux command line. Write shell scripts.</a></p><p><a href="http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/" target="_blank">Bash Prompt HOWTO</a></p><p></p><p>Also make sure you're saving the files as plain text if you're using TextEdit. You might want to consider using Nano in Terminal instead.</p><p>To run the script, make sure the file is excutable (chmod +x filename) and preface the filename with a ./ to run it. This will tell the shell the file is in the current directory.</p></blockquote><p></p>
[QUOTE="cradom, post: 1130767, member: 305283"] Find yourself a website on using the Bash shell and shell scripting. Here are a couple to get started: [url=http://linuxcommand.org/]LinuxCommand.org: Learn the Linux command line. Write shell scripts.[/url] [url=http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/]Bash Prompt HOWTO[/url] Also make sure you're saving the files as plain text if you're using TextEdit. You might want to consider using Nano in Terminal instead. To run the script, make sure the file is excutable (chmod +x filename) and preface the filename with a ./ to run it. This will tell the shell the file is in the current directory. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
help using terminal
Top