496
edits
mNo edit summary |
|||
Line 11: | Line 11: | ||
=== The root directory === | === The root directory === | ||
Every file on Redbrick has what's known as a path. Basically, it's the location of the file on the system. | Every file on Redbrick has what's known as a path. Basically, it's the location of the file on the system. The format in Unix is a little different to Windows, for example, on a Windows/DOS machine, an example would be: | ||
c:\projects\essay\essay.txt | c:\projects\essay\essay.txt | ||
while on a | while on a Unix system like Redbrick this could be: | ||
/home/member/bubble/project/essay/essay.txt | /home/member/bubble/project/essay/essay.txt | ||
The difference here is that you don't actually specify drive letters. Everything begins at the root folder, which is denoted by a forwardslash (/). Everything then goes from that, with each subfolder being | The difference here is that you don't actually specify drive letters. Everything begins at the root folder, which is denoted by a forwardslash (/). Everything then goes from that, with each subfolder being separated by another /, but don't get confused by the two. One last thing on this topic, you can change to the root folder by typing: | ||
cd / | cd / |
edits