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

From Vista Ridge Cyberpatriot
Jump to navigation Jump to search
(I formatted this article to make it a bit more readable.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.  
+
There's a few files that are quite likely to be personal files or disallowed content such as audio, videos, or app install files. Essentially, any files that aren't strictly specified in the "readme" are 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"
+
There are two main types of app install files. These two are .deb being exclusive to Debian based OSes (such as Ubuntu), and .AppImage files which 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 "|" is the pipe character (shift + \). 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 use 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:
 +
Audio:
 +
.mp3 / .ogg / .wav
 +
Videos:
 +
.mp4 / .mov / .webm
 +
App install files:
 +
.deb / .AppImage

Latest revision as of 13:44, 20 October 2023

There's a few files that are quite likely to be personal files or disallowed content such as audio, videos, or app install files. Essentially, any files that aren't strictly specified in the "readme" are disallowed.

There are two main types of app install files. These two are .deb being exclusive to Debian based OSes (such as Ubuntu), and .AppImage files which 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 "|" is the pipe character (shift + \). 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 use 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: Audio: .mp3 / .ogg / .wav Videos: .mp4 / .mov / .webm App install files: .deb / .AppImage