logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fs_whichcell - Returns the cell to which a file or directory belongs

Description

       The fswhichcell command returns the name of the cell in which the volume that houses each indicated
       directory or file resides.

       To display the file server machine on which the volume housing a directory or file resides, use the fswhichcell command. To display the cell membership of the local machine, use the fswscell command.

Examples

       The following example shows that the current working  directory  resides  in  a  volume  in  the  Example
       Corporation cell:

          % fs whichcell
          File . lives in cell 'example.com'

Name

       fs_whichcell - Returns the cell to which a file or directory belongs

Options

-path <dir/filepath>+
           Names  each  AFS  file  or  directory  for which to return the cell membership. Partial pathnames are
           interpreted relative to the current working directory, which  is  also  the  default  value  if  this
           argument is omitted.

       -help
           Prints the online help for this command. All other valid options are ignored.

Output

       The  output  includes  a line for each directory or file, naming the cell to which the volume that houses
       the directory or file resides.

Privilege Required

       None

See Also

fs_wscell(1), fs_whereis(1)

Synopsis

fswhichcell [-path <dir/filepath>+] [-help]

       fswhi  [-p <dir/filepath>+] [-h]

See Also