Code: Select all
su -
thagio wrote:root@debian10:/home/thiago# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Code: Select all
su -
thagio wrote:root@debian10:/home/thiago# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
well, I already had this one in the list, as you can see two others, but it did not return in the LS command, I checked because, at the beginning of them had space, I can only assume that this, I just took the spaces and it worked after update.L_V wrote:Not the subject but, this makes a difference.Thiago wrote: I just commented the lines of the cd-rom.
add this line in your /etc/apt/sources.listThen, as rootCode: Select all
deb http://ftp.de.debian.org/debian/ buster main contrib
and you should find your net-tools, assuming you have access to the networkCode: Select all
apt update
Dai_trying wrote:The answer is to get your environment set correctly, use(NOTICE THE DASH) as you likely have used just su before as shown by the bad path in a previous post.Code: Select all
su -
thagio wrote:root@debian10:/home/thiago# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
If you get to root user by using the command su it does not set the environment correctly (paths to executable files etc) with Buster you need to use the command su - to get the path set correctly, this is not a bug but a design decision (apparently) and is not required in previous Debian versions.Thiago wrote:Hello Dai_tryingDai_trying wrote:Use(NOTICE THE DASH) as you likely have used just su before as shown by the bad path in a previous post.Code: Select all
su -
thagio wrote:root@debian10:/home/thiago# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
I'm sorry for my ignorance, I'm here to ask for help and new in the world linux, I didn't quite understand what you meant in "The answer to your environment set correctly, use" could tell me what's wrong.?
Code: Select all
thiago@debian10:~$ su -
Senha:
root@debian10:~#
root@debian10:~#
root@debian10:~#
root@debian10:~# shutdown -r
Shutdown scheduled for Mon 2019-07-29 17:33:43 -03, use 'shutdown -c' to cancel.
root@debian10:~# shutdown -c
root@debian10:~# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500