Sample Header Ad - 728x90

How do i get the bash command below to stop echoing these bash alias not found errors?

0 votes
1 answer
141 views
enter image description here I think these bash commands were created with the intention of increasing htops refresh interval, cant remember where i found them. However I have since figured out all that was needed to do to get it to refresh faster was to edit the /.config/htop/htoprc with nano and it worked out fine. However, the bash: alias not foud errors remain... How would I go about entirely removing those erros and scripts without just having the terminal only ignore them, but fully remove them? I dont know how to stop this echo in my terminal. As you can see in my screenshot, it sadly continues to do so even in a new terminal window, even after restart! I have run every debsums switch to see if there were any issues, they all came back finem except for a sysctl.conf (from procps package) though these are two different issues, I think the procps package is from my firewall rules, but I'm not sure about that... my rules for ufw are
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     LIMIT       Anywhere                  
443                        ALLOW       Anywhere                  
80/tcp                     DENY        Anywhere                  
22/tcp (v6)                LIMIT       Anywhere (v6)             
443 (v6)                   ALLOW       Anywhere (v6)             
80/tcp (v6)                DENY        Anywhere (v6)
included are my screengrab of terminal. here are the bash errors
bash: alias: -d: not found
bash: alias: 5: not found
bash: alias: -d: not found
bash: alias: 1: not found
bash: alias: -d: not found
bash: alias: 0.2: not found
bash: alias: -d: not found
bash: alias: 0.1: not found
bob@bob-ao533:~$
those were caused by one of these.
sudo echo "alias top="top -d 1"" >> ~/.bashrc

sudo echo "alias top="top -d 5"" >> ~/.bashrc
Then for the debsums issue it found, that was after running sudo debsums -as, though, other main switches of debsums including these -cs -ls and standard -s -as was the one who found that sysctl.conf (from procps package) though.
Asked by bob king (1 rep)
Apr 25, 2024, 03:59 AM
Last activity: Apr 26, 2024, 01:07 PM