0

Linux commands not working

This is an incredibly basic question but I'm not super familiar with Linux; I only run it via my Steam Deck. So I went through the steps to install NextDNS via command-line client, it installed successfully, but then when I enter the commands it says to use, it says the commands are invalid.

I know I'm probably missing something super simple but Linux just makes no sense to me half the time. Can someone explain what I'm doing wrong?

Here's the relevant portion:

Congratulations! NextDNS is now installed.

To upgrade/uninstall, run this command again and select the appropriate option.

You can use the NextDNS command to control the daemon.
Here are a few important commands to know:

# Start, stop, restart the daemon:
nextdns start
nextdns stop
nextdns restart

# Configure the local host to point to NextDNS or not:
nextdns activate
nextdns deactivate

# Explore daemon logs:
nextdns log

# For more commands, use:
nextdns help

(deck@steamdeck ~)$ nextdns start
bash: nextdns: command not found
(127)(deck@steamdeck ~)$ nextdns activate
bash: nextdns: command not found
(127)(deck@steamdeck ~)$ nextdns log
bash: nextdns: command not found
(127)(deck@steamdeck ~)$ nextdns help
bash: nextdns: command not found

2 replies

null
    • R_P_M
    • 3 wk ago
    • Reported - view

    If it has been installed correctly, it should be located at /usr/bin/nextdns

    You could try the command with the full path instead, if it still won't see it.

    I've not heard of anyone installing the CLI on SteamOS so I don't know of any possible problems but since it's apparently based on Arch, I'm guessing from looking at what happens with arch installation.

    • Florian.4
    • 14 hrs ago
    • Reported - view

    It gets installed in /home/deck/.local/bin/

     

    afaik /usr is read only and gets wiped with steam os updates. 
     

    I have the same issue as OP and can’t get the CLI to work reliably. At some point it did work, but now it’s “command not found” for me as well. 

Content aside

  • 14 hrs agoLast active
  • 2Replies
  • 29Views
  • 3 Following