I am not familiar with the nano interface nor command line so I wish to open the file in textEdit. Is the file truely not there or is it a hidden file? Linux bash terminal osx sudo. Jun 27, 2014 - Here's a few suggestions on how to easily invoke TextEditor (or. To open a file within Terminal using TextEditor, use this command: open -a.
What program is opening the file when you doble click? Are you sure the file is a text file. Even though it has a.txt extension maybe whoever sent it to you named it.txt in error. Maybe they sent you a Word document and named it with a.txt file extension. If this is the case rename the file to.doc and open it with Word. Click on the file and select get more info. See what is the default application identified to open the file.
If the file is actually a text file make sure textedit or another text editor is set as the default application. Launch the Terminal application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Triple-click the line below to select it, then drag or copy into the Terminal window — do not type — and press the space bar: file -b Now switch to the Finder and drag the item(s) into the Terminal window. More text will be added to what you entered. Click in the Terminal window to activate it, then press return. Post any lines of output that appear below what you entered — the text, please, not a screenshot. Apple Footer. This site contains user submitted content, comments and opinions and is for informational purposes only. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums.
Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the.