Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix su command

Quick links

About su
Syntax
Examples
Related commands
Linux / Unix main page

About su

Become super user or another user.

Syntax

su [ - ] [ username [ arg ] ]

- Pass the environment along unchanged, as if the user actually logged in as the specified user.
username The name of another username that you wish to log in as.
arg Additional arguments that need to be passed through the su command.

Examples

su - hope - would login as the user hope as if the user hope actually logged in (process all login scripts etc...)

Related commands

csh
env
ksh
login
sh
sudo

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope