
su Linux Command: Syntax, Options, Examples - phoenixNAP
Dec 10, 2025 · The su Linux command switches users and elevates privileges in a session. This guide shows how it works and when to use it.
Switch Users on Linux with the su Command - GeeksforGeeks
Nov 8, 2025 · The su command (which stands for "Substitute User") is a fundamental Linux tool that allows you to temporarily switch your current login session to a different user account.
su (1) - Linux manual page - man7.org
The su command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>. This page is part of the util-linux (a random …
Su Command in Linux (Switch User) | Linuxize
Dec 10, 2020 · The su (short for substitute or switch user) command allows you to run commands with another user's privileges, by default the root user.
Mastering `su` in Linux: A Comprehensive Guide - linuxvox.com
Nov 14, 2025 · This blog post aims to provide a comprehensive overview of the `su` command, covering its basic concepts, usage methods, common practices, and best practices. By the end of this guide, …
su Command in Linux: Complete Guide to Switch User Accounts in …
Master the su command in Linux to switch between user accounts securely. Learn syntax, options, examples, and best practices for effective user management in terminal.
Guide to the Linux su Command With Examples - Baeldung
Jun 14, 2024 · In this article, we’ve explored the su command, which is a powerful tool for switching users and executing commands as different users in Linux. Additionally, we covered various options …
Linux Su Command - Computer Hope
Jun 1, 2025 · On Unix-like operating systems, the su command changes the current user ID to that of the superuser, or another specified user. This page covers the GNU / Linux version of su.
Mastering the su Command in Linux: A Complete Guide for Linux Users
Feb 12, 2025 · Learn how to use the su command in Linux to switch users, gain root access, and troubleshoot permission issues on Rocky Linux.
9 su command examples in Linux [Cheat Sheet] - GoLinuxCloud
Jan 1, 2024 · When su command is used without a hyphen, it keeps the environment variables of the original user. Whereas, su - clears all the environment variables of the original user.