Comments on: Learn Difference Between “su” and “su -” Commands in Linux https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 05:55:02 +0000 hourly 1 By: Kamarge Priyankara https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/comment-page-1/#comment-1569172 Mon, 16 Aug 2021 17:57:47 +0000 https://www.tecmint.com/?p=28524#comment-1569172 In reply to François Ouellette.

you are correct

]]>
By: François Ouellette https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/comment-page-1/#comment-1415565 Thu, 14 Jan 2021 20:54:17 +0000 https://www.tecmint.com/?p=28524#comment-1415565 The examples would be more convincing if you used pwd instead of ls.

]]>
By: Aaron Kili https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/comment-page-1/#comment-1361233 Mon, 07 Sep 2020 06:08:13 +0000 https://www.tecmint.com/?p=28524#comment-1361233 In reply to Ali.

@Ali

By trying to run the two commands against a user account.

]]>
By: Ali https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/comment-page-1/#comment-1360853 Sat, 05 Sep 2020 22:48:06 +0000 https://www.tecmint.com/?p=28524#comment-1360853 How can i use (su) to switch to another user account and then use (su -) to switch to another user and notice the difference ?

]]>
By: Aaron Kili https://www.tecmint.com/difference-between-su-and-su-commands-in-linux/comment-page-1/#comment-1320099 Thu, 05 Mar 2020 11:26:37 +0000 https://www.tecmint.com/?p=28524#comment-1320099 In reply to Larry De Coste.

@Larry

We will review and update the article soon to answer the question. Many thanks for the useful feedback.

]]>