Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. r҉ustic cy͠be̸rpu̵nk🤠🤖 (cypnk@mastodon.social)'s status on Thursday, 19-Apr-2018 14:10:12 EDT r҉ustic cy͠be̸rpu̵nk🤠🤖 r҉ustic cy͠be̸rpu̵nk🤠🤖

    I keep forgetting this:
    If you're coming across an old *nix box that you haven't used in a while and want to bring up all the users on the system, run this command:

    awk -F':' '{ print $1}' /etc/passwd

    Almost all *nix systems have awk available and /etc/passwd is the account login file (passwords themselves are usually stored /etc/shadow)

    You can also just make yourself a shell script:

    #!/bin/sh

    awk -F':' '{ print $1}' /etc/passwd

    exit
    # End script

    In conversation Thursday, 19-Apr-2018 14:10:12 EDT from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.