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
How can I start aquaemacs with a file at command prompt
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="scathe" data-source="post: 807870" data-attributes="member: 81672"><p>lol how stupid of me, I guess I wasn't thinking right at the moment to forget the file name at the end <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> +1 vansmith </p><p></p><p>anyway keep in mind that if you only type a name, bash assumes the file is in your home directory, so if you want some other file, you need to specify the path to that as well:</p><p></p><p>open /Applications/Aquamacs\ Emacs.app ~/Desktop/temp.txt</p><p>this will open the file temp on your desktop</p><p></p><p>comment:</p><p>the backslash after Aquamacs has to be there, it escapes the next character and tells bash to ignore the space, otherwise space separates the command from the file</p></blockquote><p></p>
[QUOTE="scathe, post: 807870, member: 81672"] lol how stupid of me, I guess I wasn't thinking right at the moment to forget the file name at the end :) +1 vansmith anyway keep in mind that if you only type a name, bash assumes the file is in your home directory, so if you want some other file, you need to specify the path to that as well: open /Applications/Aquamacs\ Emacs.app ~/Desktop/temp.txt this will open the file temp on your desktop comment: the backslash after Aquamacs has to be there, it escapes the next character and tells bash to ignore the space, otherwise space separates the command from the file [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
How can I start aquaemacs with a file at command prompt
Top