Operating Systems/Linux/Ubuntu/Ubuntu 16.04 LTS/Prohibited-Stuffs

From Vista Ridge Cyberpatriot
Revision as of 21:26, 28 September 2023 by Cypat Santos (talk | contribs)
Jump to navigation Jump to search

First off, there's a few file types that are quite likely to be personal files/disallowed content. Pictures, .mp3's (and other audio files), videos, essentially, anything that isn't strictly specified in the readme is disallowed. Also I haven't seen this on a linux image yet, but check for any .deb or .AppImage files, these are common app formats with .deb being exclusive to Debian based OSes (such as Ubuntu), but .AppImage files are usually cross-distro as long as it's the proper architecture. Some useful commands to search for files are "ls -R | grep *EXAMPLE*". The "|" character pipes The ls command will list any files/folders in a directory, adding the -R option will list any files/folders, and anything in any sub-directories. The grep command can take a text block (you'd replace *EXAMPLE* with what you'd like to search for), search for a string in it, and prints any lines it finds that text string in. An example of this:

To remove prohibited files us the command "sudo rm -rf /home/folder/foldername" -use *.filetype to remove all files with that type in a given folder

Likely prohibited file types: .mp3 .deb .AppImage