Is this a standard notation in inux?
Hi, I just new to Linux. I had an exercise that look like this:
w0000123/ |-- alpha/ | |-- case1 | ‘-- program.c |-- bin/ | |-- X | | ‘-- xword | ‘-- word2pdf |-- src ‘-- test/ ‘-- text The exercise requires me to make a file system based on this, but i not sure bout the notation " ' " used. For me |-- shows the file or directory inside a directory, while '-- is the last file or directory in listing of that directory level. So, for instance, alpha is a directory in w0000123, case1 and program.c are files in alpha directory. However, in the bin directory, there is a 'X', is it a file or directory? |
I agree with you.
And it looks "X" should be a directory with xword file inside it, but then it should be named X/ not X.... Although src seems to be a directory but it doesn't have the / at the end.... |
I would say that anything with a | represents a directory and the ' represents a file. Note: this is my way of interperting how what structure would be resolved, I did have to guess a couple of times as to the real meaning -- it was not very clear. I have seen worse (The v7 version of mkfs comes to mind) but even they were less ambiguous.
/alpha/case1/program.c /bin/X/xword /bin/word2pdf /mail/ /src/test/text |
Thanks for ur feedback.
But some how i still need more opinions and hope more post will be posted here. |
All times are GMT -5. The time now is 11:28 AM. |