To be certain, type one of these commands (the second is for systems that use NIS, Sun's Network Information Service, to manage network-wide files):
ypcat passwd | grep
 That may match more than one entry. Searching for tim could also find a user named timothy or fatima. A more accurateis
The fields are separated by colons. The last field should show the shell you are using. /bin/csh (or /usr/bin/csh) is the C shell, /bin/sh is the Bourne shell (or Korn shell), and so forth. An empty last field defaults to the Bourne shell.
In case you're interested in the rest of the line, the first field shows your login name. The second stores your encrypted password, if any; this may be kept in a separate "shadow password" file. The third and fourth fields show yourand , respectively. The fifth field often contains information about you, and the sixth your home directory.