This page is intended to introduce to a new user or clarify to an existing user some key facts about the CHG unix environment.
How to Get a Unix Account
As a general rule, the following directories should be created and owned by [user]:chg
This is your home directory. It is backed up once per day. It is not a place to put any data, even for a short time!
This is where we encourage users to put codes, scripts, and/or intellectual property. Please note, this directory is accessible to most other users so it is reasonable to expect them to look around to see how you're doing things. This separates your code from any other files you may keep in your home directory.
This is backed up often. It is not a place to put any data!
This is a directory for your user-specific data that does not yet have another logical place to be in our /home/databits universe. Talk to Pete if you are not sure. /home/chg-[user] is backed up once per week.
As your data becomes more significant/relevant, consider migrating it to a /home/databits directory.
This directory is for large data sets that never need to be backed up and/or that you can get again. Make sure that the code to re-get the data you put here lives in /home/source/[user].
This is the user's personal directory on our ftp server (see FTP below).
Adding directories to your /home environment
If you often go to a certain directory and want access it more conveniently, simply cd into that directory and a link to that directory will now appear in your /home environment. For example:
[user@server ~] ls ftp_out/ sandbox/ source/ user/ world/ [user@server ~] cd /home/code [user@server ~] cd /home ; ls code/ ftp_out/ sandbox/ source/ user/ world/
As you can see, you only have to cd into /home/code once for it to always thereafter appear in your /home directory. To find a complete listing of directories that you can mount in this fashion, please see Auto_mounts.
To add data to our ftp site, use the auto-mounted /home/ftp-out directory and navigate from there. For example, if "user" wanted to add something to their personal ftp:
[user@server ~]$ cd /home/ftp_out/people/user [user@server user]$ ls some_files other_files [user@server user]$ vi another_file [user@server user]$ ls another_file other_files some_files
When you want to point others to the data on our ftp site, you can direct them to ftp://ftp.chg.ucsb.edu/pub/org/chg/. So, if "user" wanted someone to see the files in their ftp directory, they would direct them to
When users outside CHG want to place documents or data into our ftp site, they do so via ftp_in. Everything that comes into /home/ftp_in gets pushed to
There is a cron job that runs once a day to catch anything new that comes in.
The copy lives in sandbox, since the original /home/ftp_in is there (just not easy to see) and its backed up.