Unix Paths (Directories)
-
A path is like a directory in windows. But, Unix is a command-line
oriented operating system, so you perform directory operations graphically.
-
If you really like your graphical browser, you can also perform most path
directives with a good FTP client. As a matter of fact, that's all
you will need in class. Some day, you will be stuck with a telnet
session, but without a good FTP client, so I will give an overview of the
commands here as well.
-
Demo of FTP
-
You are automatically logged in to your home directory.
-
Your HTML files are under .www. Note the '.' that preceeds www: that
means that the directory is hidden. You may need to choose "Show
hidden files" on your FTP program. In SSH, that can be found in the
View menu.
-
Perl scripts are under the cgi-bin directory, under .www
-
relative path: Specifiy the path or file in relation to the current
directory. Example: .www/home.html
-
absolute path: Specify the path or file from the root "/" directory.
Example: /usr/users/students/cba/jonesbr/.www/home.html
-
Similar to URLs, but the URL often references a specific directory as a
starting point. Also, URLs start with a protocol, like http://
-
For DOS users, note that the slash is "/", not "\".
File and Directory Commands
Home