Back to Browse

Linux Commands #29 - su β€” Become Another Linux User (sudo vs su Explained!)

May 20, 2026
5:29

Master IT skills with Dargslan - No Filler, Just Knowledge. πŸš€ Get our 300+ Tech & IT eBooks: https://dargslan.com In this video, we dive deep into professional IT workflows to help you learn faster and code smarter. Whether you're a DevOps engineer, a SysAdmin, or a curious developer, our "No Filler" approach ensures you get the facts without the fluff. su = Switch User. Where sudo borrows root power for one command, su BECOMES another user β€” full shell, full environment. Learn the critical dash difference, the su vs sudo trade-offs, and when each is the right tool. In this lesson: 🎯 su - USER β€” full login switch (the dash matters!) 🎯 su USER (no dash) β€” half-switch (rarely what you want) 🎯 The three things that change: identity, environment, prompt 🎯 sudo vs su: which to use when 🎯 Real example: debugging another user's environment Full Linux course at dargslan.com β€” practical sysadmin skills for beginners. ⏱ TIMESTAMPS 0:00 Sara needs to BE Mia (full debug session) 1:30 What su does 2:00 First try: su - alice 2:30 The dash difference (CRITICAL!) 3:00 su vs sudo: decision matrix 3:30 Real example: reproducing another user's bug 4:00 Common mistake: forgetting the dash πŸ“š Linux Commands β€” The First 50 Β· Lesson 29 Β· dargslan.com #su #sulinux #suvssudo #linuxswitchuser #linuxtutorial #commandline #sysadmin πŸ”” Subscribe for weekly IT insights: https://m.youtube.com/channel/UCv2QLrkCMSBljYG5XKd8IEA About Dargslan: We are dedicated to sharing high-quality, practical IT knowledge. Our mission is to provide the most efficient learning resources for the modern tech industry. #DevOps #ITMastery #Dargslan #Linux #CloudEngineering #NoFillerTech

Download

0 formats

No download links available.

Linux Commands #29 - su β€” Become Another Linux User (sudo vs su Explained!) | NatokHD