469 reputation
37
bio website
location
age
visits member for 2 years, 6 months
seen Mar 27 at 13:15

Mar
24
suggested rejected edit on Why I can't uncompress a .bz2 file using tar?
Feb
25
comment What is the functional difference between sudo su and sudo -i?
As we've discovered "the user environment do not changes" isn't correct.
Feb
25
revised What is the functional difference between sudo su and sudo -i?
added 42 characters in body
Feb
25
revised What is the functional difference between sudo su and sudo -i?
more info on `sudo su` environment
Feb
25
comment What is the functional difference between sudo su and sudo -i?
Thanks. According to that, su changes HOME, USER, LOGNAME and SHELL. sudo su changes SUDO_COMMAND and USERNAME (to root) as well. If the shell of the user you're switching to is different to the current shell, it will have to start it, causing its rc file to run.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
Obviously it changes USER and HOME (and SUDO_COMMAND), I guess it must pull from /etc/passwd, but I dont' see (and haven't during testing) how PATH can change.
Feb
25
comment What is the functional difference between sudo su and sudo -i?
sudo su doesn't run .profile (it hasn't logged in) or .bashrc (it hasn't started bash) or anything, so how would it change PATH?
Feb
24
comment What is the difference in running script with ./
See also unix.stackexchange.com/a/4459/22005 for why.
Jan
1
comment How to make `apt-get upgrade` use less resources?
It was accepted, so I guess it worked...
Nov
14
answered How to draw a picture with text in the center of that via command-line?
Oct
15
comment /etc/apt/apt.conf gets cleared every time I change proxy settings under settings->network->Network proxy
Needs a semicolon in the .conf or it doesn't work.
Sep
4
awarded  Yearling
May
23
comment 14.04 doesnt have package imagemagick
Is the typo in the question the cause of the failure?
Apr
14
comment How to find the difference between a script file and a binary file?
Good information, but not really an answer to this question.
Mar
27
comment How to make `man` work for shell builtin commands and keywords?
If there are executables masked by builtins, you can specify the section. man time vs. man 1 time
Mar
26
suggested rejected edit on Why not all Linux packages/software come in .deb format?
Nov
25
awarded  Good Answer
Oct
25
answered How can I enable core dump?
Sep
4
awarded  Yearling
Aug
12
revised What is the functional difference between sudo su and sudo -i?
added 191 characters in body