Terminal.getUserShell

Gets the user's shell, or NULL. In the latter case, the system default (usually "/bin/sh") should be used.

class Terminal
static
string
getUserShell
()

Return Value

Type: string

a newly allocated string with the user's shell, or NULL