Difference between revisions of "Operating Systems/Linux/Ubuntu/Ubuntu 16.04 LTS/Prohibited-Stuffs"

From Vista Ridge Cyberpatriot
Jump to navigation Jump to search
(Created page with "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...")
 
Line 2: Line 2:
 
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.
 
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:
 
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 /path/to/folder/foldername"

Revision as of 21:17, 28 September 2023

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 /path/to/folder/foldername"