gfsetdir(1)

gfsetdir1

Helper command for gfcd

Usage

gfsetdir [{-s | -c}] [directory]

Overview

gfsetdir prints shell commands which change Gfarm working directory to the directory specified in the argument. If no argument is specified, it prints commands which change the working directory to the user's home directory that is gfarm:/global_user_name.

This command automatically detects user's shell type, and prints appropriate commands for the shell.

Please add the following definition to the shell rc file of each user, to define gfcd command.

for shells derived from Bourne shell
gfcd() { eval "`gfsetdir $1`"; }
for csh or tcsh
alias gfcd 'eval `gfsetdir \!*`'

Options

-s

generates Bourne shell commands.

-c

generates C-shell commands.

-?

displays a list of command options.

From gfarm-client 2.3.2-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.