apt-get question.
#1
is there any difference in final outcome between doing these commands,

sudo apt-get update
sudo apt-get upgrade

and doing these commands,

sudo su [enter password, become superuser]
apt-get update
apt-get upgrade
  Reply
#2
(01-03-2017, 06:49 PM)dkryder Wrote: is there any difference in final outcome between doing these commands,

sudo apt-get update
sudo apt-get upgrade

and doing these commands,

sudo su [enter password, become superuser]
apt-get update
apt-get upgrade

There is some debate about that actaully. The answer is yes and no;  depending on what your goals are.  Typically as an administator you want your users to run the former;  the reason being that sudo has logging and accountability, is more secure, and allows the admin to 'govern' legitimately over the users who have uathority to use the sudo command. Also the environment can be controlled better.

sudo su -      ( shouuld be avoided );

... the reason being that once the user is permanently logged in as the super user there is no more sudo logging and accountability. On the other hand, if there is only one user on the system ( as is the case for most RPi(s) or Pine(s) then who cares? ( there are nuances regarding environment here )

Now for the 'no' part of the answer.  In terms of update and upgrade there is no real difference in 'outcomes' for either method. Some people prefer the following command, however;

sudo -i

... reason being that some people hate having to re-enter their password every so many minutes when the sudo command expires. sudo -i is preferred to sudo su - because the environment can be controlled better .

... reason being that sudo logging and accountability is still active. 

See the man page for sudo for the nuanses between sudo su -  and sudo -i. ( sudo -i ; sudo --login )

note: there is a nuance regarding whether the su experience has the system environment ( or user environment ) which includeds path and system variables , for instance.  Again, see the man page for details.

( this is an opinion, and not all agree )


Notes:

   Try these:

   sudo su
   pwd
   exit

   sudo su -
   pwd
   exit

   sudo -i
   pwd
   exit

You will notice that ( sudo su )  is different in that it leaves the current directory alone ;

The other two will open the shell at  /root


marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#3
i was curious if the file properties might be different between the final filesystems established.
  Reply
#4
(01-04-2017, 12:49 PM)dkryder Wrote: i was curious if the file properties might be different between the final filesystems established.

I don't think so;  the filesystem permissions are scripted.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#5
sudo apt-get update


updates the list of avail packages and versions.it does not install or upgrade any packages


Sudo apt-get upgrade

most of the times we are using sudo apt-get dist-upgarde. apt-get upgrade actually install newer version of packages you have.


Regards,
Christian
https://www.clouddesktoponline.com/
  Reply
#6
Thanks for that Christian. Whilst this topic was focused on the difference between sudo su and sudo, that explanation of the commands involved is still good to have Wink

My two cents to the original discussion is that "su" is a request to switch to the root user shell from the user space, so needs the root password. Whereas "sudo su" is a request from a sudo permitted user to switch to the root shell, hence the users password is needed, not the root password - since by the time su is run, it thinks you are root, so just switches to a root shell. And "sudo command" is a request to run the command as a root user.

Hence why "su", "sudo su" and "sudo -i" will also chance paths when you use them. Wink There's are some differences in how environment variables are handled... sudo echo $dummyEnv will pass in the environment variable from the user account, with a new minimal environment set, whereas since both "su", "sudo su" and "sudo -i" switch to the root account shell, with all it's environment variables, .profile and .login stuff. For all intents and purposes, "sudo -i" and "sudo su" considered the same... i.e. giving the same state as if the user had logged in, but will work if the root user password isn't set, as has increasing become more common. And the catch with using sudo to run a command 'inline' is that it will only operate in a minimal environment space, whereas a "sudo su" or a "sudo -i" will have the full environment space.

Have a look at the below examples to see what my ubuntu desktop box has as environment variables when running difference commands (only the standard su which requires the root password set gave the full environment space, all the others are subject to sudo's minimal environment handling):
Code:
###
export
###

declare -x CLUTTER_BACKEND="x11"
declare -x COLORTERM="mate-terminal"
declare -x COMPIZ_CONFIG_PROFILE="mate"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-PRb08vcIVX,guid=bdc409366995aaeda8a6c664595adaef"
declare -x DEFAULTS_PATH="/usr/share/gconf/mate.default.path"
declare -x DESKTOP_SESSION="mate"
declare -x DISPLAY=":0"
declare -x GDMSESSION="mate"
declare -x GDM_LANG="en_AU"
declare -x GPG_AGENT_INFO="/home/pfeerick/.gnupg/S.gpg-agent:0:1"
declare -x GTK_MODULES="gail:atk-bridge:canberra-gtk-module:topmenu-gtk-module"
declare -x GTK_OVERLAY_SCROLLING="0"
declare -x HOME="/home/pfeerick"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="pfeerick"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MANDATORY_PATH="/usr/share/gconf/mate.mandatory.path"
declare -x MATE_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x OLDPWD
declare -x PATH="/home/pfeerick/bin:/home/pfeerick/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
declare -x PWD="/home/pfeerick"
declare -x QT_ACCESSIBILITY="1"
declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
declare -x QT_STYLE_OVERRIDE="gtk"
declare -x SESSION_MANAGER="local/asus-h55d-ubuntu:@/tmp/.ICE-unix/3211,unix/asus-h55d-ubuntu:/tmp/.ICE-unix/3211"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AGENT_PID="3363"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x TERM="xterm"
declare -x USER="pfeerick"
declare -x WINDOWID="65011743"
declare -x XAUTHORITY="/home/pfeerick/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-mate:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="MATE"
declare -x XDG_DATA_DIRS="/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
declare -x XDG_GREETER_DATA_DIR="/var/lib/lightdm-data/pfeerick"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
declare -x XDG_SESSION_DESKTOP="mate"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"
declare -x XDG_SESSION_TYPE="x11"
declare -x XDG_VTNR="7"

###
sudo /bin/bash -c export
###

declare -x COLORTERM="mate-terminal"
declare -x DISPLAY=":0"
declare -x HOME="/root"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
declare -x PWD="/home/pfeerick"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/bin/su -c /bin/bash -c export"
declare -x SUDO_GID="1000"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="pfeerick"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"
declare -x XAUTHORITY="/home/pfeerick/.Xauthority"

###
sudo su -c /bin/bash -c export
###

declare -x COLORTERM="mate-terminal"
declare -x DISPLAY=":0"
declare -x HOME="/home/pfeerick"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
declare -x PWD="/home/pfeerick"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SUDO_COMMAND="/bin/bash -c export"
declare -x SUDO_GID="1000"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="pfeerick"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"
declare -x XAUTHORITY="/home/pfeerick/.Xauthority"

###
sudo -i /bin/bash -c export
###

declare -x COLORTERM="mate-terminal"
declare -x DISPLAY=":0"
declare -x GTK_MODULES="gail:atk-bridge"
declare -x HOME="/root"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/snap/bin"
declare -x PWD="/root"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SUDO_COMMAND="/bin/bash -c /bin/bash -c export"
declare -x SUDO_GID="1000"
declare -x SUDO_UID="1000"
declare -x SUDO_USER="pfeerick"
declare -x TERM="xterm"
declare -x USER="root"
declare -x USERNAME="root"
declare -x XAUTHORITY="/home/pfeerick/.Xauthority"
declare -x _="/bin/bash"

###
su root -c export
###

declare -x CLUTTER_BACKEND="x11"
declare -x COLORTERM="mate-terminal"
declare -x COMPIZ_CONFIG_PROFILE="mate"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-PRb08vcIVX,guid=bdc409366995aaeda8a6c664595adaef"
declare -x DEFAULTS_PATH="/usr/share/gconf/mate.default.path"
declare -x DESKTOP_SESSION="mate"
declare -x DISPLAY=":0"
declare -x GDMSESSION="mate"
declare -x GDM_LANG="en_AU"
declare -x GPG_AGENT_INFO="/home/pfeerick/.gnupg/S.gpg-agent:0:1"
declare -x GTK_MODULES="gail:atk-bridge:canberra-gtk-module:topmenu-gtk-module"
declare -x GTK_OVERLAY_SCROLLING="0"
declare -x HOME="/root"
declare -x LANG="en_AU.UTF-8"
declare -x LANGUAGE="en_AU:en"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/root"
declare -x MANDATORY_PATH="/usr/share/gconf/mate.mandatory.path"
declare -x MATE_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
declare -x PWD="/home/pfeerick"
declare -x QT_ACCESSIBILITY="1"
declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
declare -x QT_STYLE_OVERRIDE="gtk"
declare -x SESSION_MANAGER="local/asus-h55d-ubuntu:@/tmp/.ICE-unix/3211,unix/asus-h55d-ubuntu:/tmp/.ICE-unix/3211"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SSH_AGENT_PID="3363"
declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WINDOWID="65011743"
declare -x XAUTHORITY="/home/pfeerick/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-mate:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="MATE"
declare -x XDG_DATA_DIRS="/usr/share/mate:/usr/share/mate:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop"
declare -x XDG_GREETER_DATA_DIR="/var/lib/lightdm-data/pfeerick"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
declare -x XDG_SESSION_DESKTOP="mate"
declare -x XDG_SESSION_ID="c1"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"
declare -x XDG_SESSION_TYPE="x11"
declare -x XDG_VTNR="7"
declare -x _="/bin/su"
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian kernel upgrade question jl_678 2 2,113 04-18-2016, 05:54 PM
Last Post: jl_678

Forum Jump:


Users browsing this thread: 1 Guest(s)