How Can I list Directories in a Disk using Terminal Command
I've got a number of disks mounted on my Mac. I'd like to run ls in Terminal in on disk7.
I know how to navigate to /Volumes, cd to the right volume and ls, but I don't want to do that. I can get to
/dev and there is a disk7 in it, but when I do cd disk7 I get a message "not a directory"
I'm about to erase/format disk7 and I want to be really really really really sure that it's the right volume before I do so.
Anyone know how to use Terminal to check the contents of disk7 so I'm sure that when I erase it I'm not erasing something important?
Thanks in advance for any help.
MacBook Pro 14″, macOS 14.4