-
Expert Member
Query with a Command in UNIX operating system
What are the options available in su command of UNIX operating system? Some highlight on the features of this su command would also be helpful.
-
Contributing Member
Re: Query with a Command in UNIX operating system
su command is short form of substitute user command. One of the options of su command which is most commonly used is -c option. This option tells su to execute the command that directly follows it on the same line.
For instance
su -c "ls /root"
would display contents of the directory.
-
Contributing Member
Re: Query with a Command in UNIX operating system
One of the main feature of su command is namely su command is usually the simplest and most convenient way to change the ownership of a login session waiting to hear some more feature in this discussion.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules