Forrest logo
back to the cut tool

cut:ai:fac20

How to see the real users on my server, like root, mike and etc
$ cut -d: -f1 /etc/passwd
try on your machine

This command will display a list of all real users on the server, such as root, mike, etc, by extracting the usernames from the /etc/passwd file using the colon (:) delimiter.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how to see the real users on my server, like root, mike and etc ?
  • [pavel.avramov@d14135 ~]$ cut -d: -f1 /etc/passwd root bin daemon adm lp sync shutdown halt mail operator games ftp nobody tss systemd-coredump dbus polkitd sssd chrony sshd nscd named mailman cpanel cpanelcabcache cpanellogin cpaneleximfilter cpaneleximscanner cpanelroundcube cpanelconnecttrack cpanelanalytics cpses dovecot dovenull mailnull mysql cpanelphppgadmin cpanelphpmyadmin rpc rtkit pipewire geoclue flatpak rpcuser wp-toolkit tcpdump lsadm icinga nagios backuply munin redis memcached rmq prometheus clamav _imunify victoriam alloy ibplms [pavel.avramov@d14135 ~]$ ?
back to the cut tool