Note as I said in a comment on the other answer this is not fundamentally different from proprietary OSes: all of the same caveats apply and it's much harder (by design) to just re-install the OS over and over. If you are doing this on a bare-metal server, be prepared to reinstall from scratch. Use virtual machines, clone from known good states before running potentially destructive commands, and be ready to rollback. You will likely never be able to reverse an action like that. Directories can be created, configuration files edited. Code from the internet can be downloaded and executed. If you run it without sudo privs there are certain things it can't do, but it can still do a lot and if you run it with sudo all bets are off.įiles can be permanently deleted. What you do need to do is understand what happens (or can happen) when you run a script or a program that modifies your system like apt: AnythingĪnything can happen. While I broadly agree with Nmath's answer, reading every single line of every single script or digging deep into every single package you apt install (don't forget the transitive deps!) isn't practical for most of us. Nobody should ever blindly run a script without being able to read and understand exactly what the script does- this applies to veteran Linux users just as much as it applies to people who are using Linux for the first time. Also, if you don't even know what the script does, you have no idea what you just did to your computer- which is the exact situation you find yourself in right now. Blindly executing code opens you up to possibly malicious actions. Running scripts or commands without knowing what they do is horribly careless. If this were a simple script that only performed one or two actions, you could break it down and possibly undo these actions.īut in this case, this script executed dozens (hundreds?) of operations.Īs a side note, I feel the publisher of this script did you a huge disservice by claiming that this script is "secure" and "great for people who are new to Linux". A bash script is simply a list of instructions and commands that run in your terminal. Or if you use another antivirus software program, check their virus protection options.The instructions on the script tell you to start with an operating system that is freshly installed, so if you want to go back to the point before you ran this script, you should reinstall the operating system.Īs others have mentioned in comments, you can't uninstall a bash script. If you're trying to remove malware, see Stay protected with Windows Security to find out how to run a scan. If you get an error message when you're uninstalling, try the Program Install and Uninstall Troubleshooter. If you can't find an app or program, try the tips in See all your apps in Windows 10 and Program is not listed in add/remove programs after installation. Then follow the directions on the screen. Press and hold (or right-click) on the program you want to remove and select Uninstall or Uninstall/ Change. In the search box on the taskbar, type Control Panel and select it from the results. Uninstall from the Control Panel (for programs) Select the app you want to remove, and then select Uninstall. Select Start, then select Settings > Apps > Apps & features. Press and hold (or right-click) on the app, then select Uninstall. Select Start and look for the app or program in the list shown.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |