#!/bin/sh # A command line tool to display the groups a given user is part of # Before running the script, you need to export the user using export $FT_USER='user' groups $FT_USER | tr ' ' ',' | cat -e