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
id ( Linux – Command )
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
Linux – User Management – Change username
Background Ended up wanting to change one of our account's name on a Linux System. Let us review the steps. Outline Review User Accounts Commands id Change Username Command usermod usermod -l Change User's Group name Command groupmod groupmod -n Change User's Home Directory Command groupmod usermod -d Steps Review User Account Command - id … Continue reading Linux – User Management – Change username
You must be logged in to post a comment.