Linux:- Environment Variables – Basic

Background At a basic level, environment variables allow for system customization.   Set Environment Variables Export To set an environment variable, please use the export command Syntax Sample Read Environment Variables Export One can also use the same export command to read environment variables. Syntax Sample Scenario:- Read All Environment Variables Code Output Image Scenario:- … Continue reading Linux:- Environment Variables – Basic

Linux:- id command

Background In Linux, the id command displays a user's group names.   Output Here is information offered Attribute Meaning Sample uid User ID uid=1002(daniel) gid Group ID gid=1002(daniel) groups Groups groups=1002(daniel),10(wheel) Syntax Sample Sample-01 Command Output Image Textual Explanation User Id Sample uid => 1002 daniel Group ID ¬†Sample gid => 1002 daniel Groups Sample … Continue reading Linux:- id command