Newbie: How to change partition at the command line?

Discussion in 'macOS' started by ArthurDaley, Apr 10, 2008.

  1. ArthurDaley macrumors regular

    Joined:
    Feb 29, 2008
    #1
    I need a text file containing a directory listing so I figured I could do an ls and pipe that to a text file. I am new to the Mac and don't know how to change partition (same h/drive) to the one I wish to list at the command line! help, tks
     
  2. zaney macrumors regular

    Joined:
    Apr 6, 2008
    Location:
    Middle of a field, UK
    #2
    All drives are contained under /Volumes/ so:

    /Volumes/Partition1name
    /Volumes/Partition2name
    ...etc

    Just do an ls under /Volumes and you'll see what I mean
     
  3. ArthurDaley thread starter macrumors regular

    Joined:
    Feb 29, 2008

Share This Page