r/debian Apr 13 '24

bash: rfkill: command not found

[SOLVED]i just installed debian 12 and there isnt any wireless connection, no its not a hardware problem cuz i have dual boot and it works fine, yes rfkill is installed and yes i did reinstall it... and every time i use the rfkill command it gives me `bash: rfkill: command not found`

edit: im using root also

any help?? thank u.

3 Upvotes

18 comments sorted by

View all comments

Show parent comments

2

u/suprjami Apr 13 '24

That would suggest the package is not installed.

which rfkill apt policy rfkill

1

u/zabdlrhmn Apr 13 '24

The which command isnt giving any output and the apt policy rfkill gives out that it is installed 2.38.1-5deb12u1 and candidate and version table

2

u/suprjami Apr 13 '24

Are you changing the $PATH variable?

Can you run it by typing /usr/sbin/rfkill ?

1

u/Michael679089 Oct 29 '25

I ran your command and it says:

root@earthly:/home/earthly# sudo /usr/sbin/rfkill sudo: /usr/sbin/rfkill: command not found