Horje Website
list all users linux Code Example | Shell/Bash
list users in linux
 
  1. cat /etc/passwd
list all users linux
 
  1. awk -F: '{ print $1}' /etc/passwd
Source: linuxize.com
Published:
February 26, 2021
Author:
admin
Category:
Live Code, Shell/Bash Code
Views:
21

This article was posted in Live Code, Shell/Bash Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2022