LINUXDEVS Telegram 240
⌨️ Команда id может принимать различные параметры, которые позволяют отображать только определенную информацию.

Например чтобы распечатать только действующий идентификатор пользователя, используйте параметр -u:

$ id -u

1000

Используйте параметр -G ( --groups ), чтобы распечатать эффективные идентификаторы всех групп, к которым принадлежит пользователь:

$ id -G

1000 4 20 24 25 27 29 30 44 46 109 119 121 133 141

Вызвать справку:
$ id --help


Usage: id [OPTION]... [USER]...
Print user and group information for each specified USER,
or (when USER omitted) for the current process.

-a ignore, for compatibility with other versions
-Z, --context print only the security context of the process
-g, --group print only the effective group ID
-G, --groups print all group IDs
-n, --name print a name instead of a number, for -ugG
-r, --real print the real ID instead of the effective ID, with -ugG
-u, --user print only the effective user ID
-z, --zero delimit entries with NUL characters, not whitespace;
not permitted in default format
--help display this help and exit
--version output version information and exit

Without any OPTION, print some useful set of identified information.


#linux #commands #doc
Please open Telegram to view this post
VIEW IN TELEGRAM



tgoop.com/linuxdevs/240
Create:
Last Update:

⌨️ Команда id может принимать различные параметры, которые позволяют отображать только определенную информацию.

Например чтобы распечатать только действующий идентификатор пользователя, используйте параметр -u:

$ id -u

1000

Используйте параметр -G ( --groups ), чтобы распечатать эффективные идентификаторы всех групп, к которым принадлежит пользователь:

$ id -G

1000 4 20 24 25 27 29 30 44 46 109 119 121 133 141

Вызвать справку:
$ id --help


Usage: id [OPTION]... [USER]...
Print user and group information for each specified USER,
or (when USER omitted) for the current process.

-a ignore, for compatibility with other versions
-Z, --context print only the security context of the process
-g, --group print only the effective group ID
-G, --groups print all group IDs
-n, --name print a name instead of a number, for -ugG
-r, --real print the real ID instead of the effective ID, with -ugG
-u, --user print only the effective user ID
-z, --zero delimit entries with NUL characters, not whitespace;
not permitted in default format
--help display this help and exit
--version output version information and exit

Without any OPTION, print some useful set of identified information.


#linux #commands #doc

BY Linux для чайника




Share with your friend now:
tgoop.com/linuxdevs/240

View MORE
Open in Telegram


Telegram News

Date: |

2How to set up a Telegram channel? (A step-by-step tutorial) Step-by-step tutorial on desktop: The Channel name and bio must be no more than 255 characters long Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. Read now
from us


Telegram Linux для чайника
FROM American