ME/CS 132a, Winter 2010, Lab 1 FAQ

From Murray Wiki
Revision as of 04:49, 4 February 2011 by Hanshuo (talk | contribs) (Created page with '== Course Server Usage == * How do I share my files with other people in my group? ** '''Answer''': The server is set up such that students do not have access to other users' dir…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Course Server Usage

  • How do I share my files with other people in my group?
    • Answer: The server is set up such that students do not have access to other users' directory. However, under the system root directory (/), we have created a directory named shared, to which each user have full read and write permissions. If you would like to share a file/directory with other users, you can copy it to /shared by running:
      $ cp <my_file> /shared/
      or for a directory,
      $ cp -r <my_dir> /shared/
      After this, other users may run:
      $ cp /shared/<my_file> <destination>
      or
      $ cp -r /shared/<my_dir> <destination>
      to get the shared contents. Remember that /shared is readable and writable by everyone, so you may want to remove them after sharing.