The Unix filesystem Most of what one does with Unix programs is manipulate the filesystem. Unix files are unstructured blobs of data whose names are given by paths 30 consisting of a sequence of directory names separated by slashes: for example /home/accts/some-user/cs223/hw1.c. At any time you are in a current working directory (type pwd to find out what it is and cd new-directory to change it). You can specify a file below the current working directory by giving just the last part of the pathname. The special directory names . and .. can also be used to refer to the current directory and its parent. So /home/accts/some-user/cs223/hw1.c is just hw1.c or ./hw1.c if your current working directory is /home/accts/some-user/cs223, cs223/hw1.c if your current working directory is /home/accts/some-user, and ../cs223/hw1.c if your current working directory is /home/accts/some-user/illegal-downloads. All Zoo machines share a common filesystem, so any files you create or change on one Zoo machine will show up in the same place on all the others. - Study24x7
Social learning Network
15 Mar 2019 10:44 AM study24x7 study24x7

The Unix filesystem Most of what one does with Unix programs is manipulate the filesystem. Unix files are unstructured blobs of data whose names are given by paths 30 consisting of a sequence of directory names separated by slashes: for example /home/accts/some-user/cs223/hw1.c. ...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles