Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 391  / 2 Years ago, sun, january 9, 2022, 3:49:18

I piped the following script to bash using wget with the intention of installing a theme for bash.


wget -O - https://teejeetech.com/scripts/jammy/tweak_terminal | bash

Now I cannot find a way to roll back or uninstall what I did with this command.


I checked wget --help but didn't find anything I can use.


I couldn't find a 'wget' folder either.


More From » bash

 Answers
5

I have to shudder/laugh when anything on the internet asks me to ... | bash . This is like giving your car keys to a masked stranger.


I've been computing since 1967, security focused since 1997, and would do it thusly:


wget -O suspect.bash  https://teejeetech.com/scripts/jammy/tweak_terminal
less suspect.bash
# many `man`commands, until
# I understand the script and
# what it does. Does the script
# have some sort of "uninstall"
# option?
# Then, remove "echo " when you are confident
echo bash -x ./suspect.bash

Now, you'll have to do this process, and determine what each command did, and how to revert the changes. There's no general "undo" function.


[#516] Sunday, January 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
scusaper

Total Points: 335
Total Questions: 111
Total Answers: 119

Location: Belize
Member since Mon, Jun 20, 2022
2 Years ago
scusaper questions
Fri, Apr 15, 22, 15:26, 2 Years ago
Wed, Mar 15, 23, 03:53, 1 Year ago
Sat, Jun 4, 22, 18:03, 2 Years ago
Wed, Apr 6, 22, 00:55, 2 Years ago
;