login shell

  1. G

    Differences between bash, bash -l, su username, su - username, sudo -s -u username, sudo -i -u suername ?

    Hello, I am a newbie in Linux and am studying the bash shell. I set an environment variable A1=100 (export A1=100). After that, I executed each commands in the title. The username is the same one as the one I am logging in. What I expected is: commands executed value of A1 bash -l su -...
Top