


if you use BBEdit, TextMate, etc. Other relevant options-t opens in the default editor (i.e. The -a flag specifies any application you want, so it's applicable to any number of situations, including ones where TextEdit isn't the default editor. Save your file after editing, then drag and drop back into the bottom remote directory window. open -a TextEdit filename should do the trick.Click the file you want to edit, then drag and drop it onto your desktop.įor Windows: you can right-click the file on your desktop, then click Open with -> Choose default program. -> (Double click) Other Programs -> Notepadįor Mac: Ctrl + click the file -> Open With -> TextEditor.You will see a File has changed message, and it will ask "Upload this file back to the server?" Click the Yes button to upload the file you edited.ĭownload a File and Modify, then Re-upload: After editing the file, save then close it.First, open Notepad as an administrator by pressing the Windows key, typing in 'notepad', and clicking 'Run as administrator': Note: You may need to click the arrow button to expand the dropdown to see the 'Run as administrator. The File will open in notepad on Windows, or TextEditor on a Mac. To edit a hosts file on Windows 10, you'll need to open it as an administrator. On the bottom window of the remote sites, right-click the file you want to modify, and click View/Edit.
#Mac open hosts for editing windows 10
But don’t worry, I have two working methods to edit Hosts file in Windows 10 or Windows 8.1 successfully. Because, the edit command requires 16-bit QBASIC.EXE, that’s why it will not work. Its contents will be listed in the window below. The ‘edit’ command works on the 32-bit Windows OS, but it is not possible to run in a 64-bit OS. For example, my site: 127.0.0.1 jasonmccreary.local. Go to the last line of the page and add your own line.

Once there, change file type from Text Documents (.txt) to All Files (.). It should match the value you used for the ServerName configuration. Navigate to C:\Windows\System32\Drivers\etc. Add a line to the bottom of this file for your virtual host.
#Mac open hosts for editing how to
FileZilla is typically used for uploading / downloading files between the server and your local computer, but can also be used for editing files. In this tutorial we will show you how to modify a file using the FileZilla FTP client.įileZilla is a free open-sourced FTP client that can be downloaded here:
