Logo 
Search:

Unix / Linux / Ubuntu Articles

Submit Article
Home » Articles » Unix / Linux / Ubuntu » CommandsRSS Feeds

Change User - su

Posted By: Adalfreddo Fischer     Category: Unix / Linux / Ubuntu     Views: 3073

This article explains about su command with an example in unix.

su command is used to change user in unix.

Syntax of su Command

su [-] [username] 

Example of su Command

Example 1 : Command to change user and user’s environment variable

su - syntax

Example 2 : Command to change user’s permission

su  syntax


  
Share: 


Didn't find what you were looking for? Find more on Change User - su Or get search suggestion and latest updates.

Adalfreddo Fischer
Adalfreddo Fischer author of Change User - su is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!