Linux command: Find current username and userid Find current username $ whoami Using id command $ id -un Find current userid # id Using USER variable $ echo $USER Extract from environment settings $ env | grep USER Labels Linux LPIC
Windows command: icacls Icacls is a command-line utility that can be used to display or modify discretionary access control lists (DACLs) on specified files, and apply stored DACLs to files in specified directories. Read more
Linux command: wc - word count Sharon McCutcheon on Unsplash "/> wc - print newline, word, and byte counts for each file Read more