-n, --name
Print a name instead of a number, for -u,-g,-G.
An option of idx.
Usage
idx -n [USER]...
idx --name [USER]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-n | --name | none | print a name instead of a number, for -u,-g,-G |
Examples
Print your user name
idx -unList your groups by name
idx -GnCheck membership of a group
idx -Gn | trx ' ' '\n' | grep -qx docker && echox memberPrint IDs in the portable gnux shell
gnux shell -c 'idx -un && idx -Gn'Help in the terminal
gnux help idx --name