Skip to content

Instantly share code, notes, and snippets.

@cutterkom
Created December 9, 2020 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cutterkom/b45aa4ef9ca860e24ef55e0afd20396d to your computer and use it in GitHub Desktop.
Save cutterkom/b45aa4ef9ca860e24ef55e0afd20396d to your computer and use it in GitHub Desktop.
how to delete shiny from a linux server
  • Delete/Remove Software/Package, Link

    1. Search in list of packages with dpkg --list
    2. Find name of package and delete sudo apt-get --purge remove shiny-server
    • --purge removes config files, too
    • --autoremove: delete unused packages
    • in combination sudo apt-get --purge --autoremove remove shiny-server
    1. maybe also look for all files with the package name and delete them: find -name shiny-server
  • Find all files with string in name: find -name string

  • Find all files with string and delete them: ``find . -name "FILE-TO-FIND" -exec rm -rf {} ;` (folder, too), link

    • for shiny server: sudo find . -name shiny-server -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment