![]() ![]() The result should be the line that you just echoed to the new file. Verify that you can create a new file on the remote volume and write to it: $ echo 'This is another test.' > /Volumes/pi/test2.txt Verify that you can read the test file contents using the cat command: $ cat /Volumes/pi/test.txt You should see the test file that you created on the Pi: test.txt To list the files on the remote (pi) volume, use this command: $ ls /Volumes/pi The mount point for the Pi will probably be the last (newest) entry in the result: Filesystem 512-blocks Used Available Capacity iused ifree %iused Mounted 122233368 7864672 114368696 7% 3932334 57184348 6% /Volumes/pi You can list all of the mount points on your Mac using the df command: $ df In the example above, the pi volume is listed. You can see the new mount point using the ls command: $ ls /Volumes/ When you connect using Finder, by default it adds the mount point to the /Volumes folder. In this step I'm going to show you some of the ways that you can access the remote volume using the command line. You can do that either through Finder or from the command line. You should now be able to access and transfer files to and from the Pi from your Mac. The new volume should now appear in Finder where you can see the test file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |