Created
August 31, 2022 13:01
-
-
Save m-ocean-it/46a1b56e87d458b84be9a5c2a31d0265 to your computer and use it in GitHub Desktop.
Get some user's home directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
cat /etc/passwd | grep username | cut -d : -f 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment