I’m using mobile terminal on my phone to try and unzip a file. I know the location of the folder, but can’t figure out how to navigate to it. :banghead:
localhost:~ mobile$ (tried the following) dir (which lists the sub folders… one of which is where said file is located)
Tried the following
cd /libray
cd library
cd library/
each tell me “no such directory or filename”, but when I run a DIR it lists the folder
if you looked at my example, you would know it is case sensitive
edit:
Also, cd /Library is going to take you to the root of the filesystem, then into Library. cd Library will take you to the Library folder that exists within the directory you are currently in.
cd / - Takes you to the root of the filesystem
cd /Library - Takes you to the root, then into Library
cd Library - Takes you into the Library folder located within your current folder
really? heh… no shit. So you’d be directing it to jump to a completely different folder off of root (folder? or whatever you call it in unix) opposed to a sub folder?
edit: read your example, thanks for the heads up on that.
so other than a few minor rules, it seems pretty similar to DOS… are most of the commands the same? would you use “CD…” to go up a folder?
awesome :tup: now I got a dumb question for you… how do you know which folder belongs to which partition?
The iphone has 2 partitions… one for important filesystem stuff, and another for the mobile device (installed apps/music/other crap), but I know it’s listed as a folder, not as, for example d:\ on a DOS system
That box is all 1 partition, the entire filesystem is on disk0s1. If I were to put /home on its own partition, it would have another line with /home probably with something like disk0s2 or disk1s1.