All Questions
31
questions
1
vote
1
answer
226
views
A command in $PATH but can't run and "ln" link not work on Debian 12
The computer system is Debian 12. As needed to update my LaTeX, I tried the command sudo tlmgr update --all, which returned sudo: tlmgr: command not found. But which tlmgr returned /usr/local/texlive/...
0
votes
0
answers
56
views
My system can't find command, though I can find it manually [duplicate]
When I had enter any command (grub, parted, gparted, fdisk) my system cannot find it, although it is present on a disk, because the distribution has installed and works.
But when I invoke any command, ...
5
votes
1
answer
596
views
'which' is unable to find command even though it is definitely installed
I have recently installed the cryptsetup. I've double checked with sudo apt-get install cryptsetup.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
...
1
vote
1
answer
1k
views
Why does Debian set a different PATH for root compared to other users? Why aren't `sbin` directories included for all users? [duplicate]
On a fresh install of Debian 11 "Bullseye" using the net installer, intended to be used as a server, root has the following PATH:
root@debian:~# echo $PATH | tr : '\n'
/usr/local/sbin
/usr/...
2
votes
1
answer
7k
views
ufw "command not found"- but as the root user!
My Debian 11 VPS is running now for about 2 weeks- and today I just wanted to analyse, why my traffic is ~70GiB (counted by bashtop). So somewhere in the net I read about nethogs, that this could help....
0
votes
0
answers
609
views
doas doesn't run a /usr/sbin binary
I'm using Debian/GNU/Linux Unstable,
and I was trying doas for the first time today, with the following simple config file:
$ doas cat /etc/doas.conf
permit persist alx as root
While it worked for ...
1
vote
1
answer
480
views
Why not prepend user directory to PATH?
For user scripts, the usual advice is to append their directory to $PATH in one's .profile:
PATH="$PATH:$HOME/.myscripts" # or .bin or whatever
Apparently that is safer than prepending it: ...
2
votes
0
answers
453
views
System-wide ${PATH} for non-login shells (in Debian)
I saw that similar questions were already asked, but I think the problem still exists.
I did a standard thing, added a software to the /opt/ directory. Say, Go. /opt/go is the main directory and /opt/...
8
votes
5
answers
71k
views
bash: shutdown: command not found
I installed the latest version of Debian (netinstall).
I have the problem, that the terminal does not know commands like shutdown, reboot, and so on.
When I do whereis shutdown it tells me it is in /...
3
votes
2
answers
2k
views
Debian 10: Setting PATH variable inside .profile does not work
I'm currently running Debian 10 Xfce and I would like to update my PATH variable to include /opt/bin and ~/.local/bin. As per these - 1 2 answers, I put the following lines in my ~/.profile file:
if [ ...
0
votes
1
answer
337
views
How do I create a cron to find and delete directories that are 90 days old but ignore 2 sub-directories?
What I have
I have a cron currently setup that finds and deletes directories & files that are 90 days old
What I need
I would like the crontab to ignore two directories when deleting directories &...
2
votes
1
answer
4k
views
LD_LIBRARY_PATH in Debian
I just followed the advice here:
How to update glibc to 2.14 in CentOS 6.5
as an Android related program has been complaining about glibc-2.29
Everything seemed to compile and now in the /opt ...
0
votes
1
answer
744
views
$PATH in a shell made by xterm not including a command location, but shell still able to execute it
I am setting up a Debian 10 with fluxbox window manager. One of the components I need is miniconda, I've installed everything from the initial bash (no desktop) and everything works fine. Miniconda ...
1
vote
2
answers
471
views
Correcting PATH after dist upgrade?
After a dist upgrade (Debian 9 to Debian 10) some things stopped working.
For example, iwconfig, losetup, ifconfig, poweroff, pm-hibernate.
These commands work if I type the full path like /sbin/...
2
votes
1
answer
5k
views
Mount Davfs Cannot evaluate path of mount point
I'm trying to mount a webdav on my debian distribution, but I have an error when I try to do so.
The error is :
~# mount /mnt/dav
>/sbin/mount.davfs: can't evaluate path of mount point (null)
...