Difference between revisions of "Operating Systems/Linux/Ubuntu/Ubuntu 16.04 LTS/Prohibited-Stuffs"
Cypat Santos (talk | contribs) |
(I formatted this article to make it a bit more readable.) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | 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. | |
| − | |||
| − | |||
| − | To remove prohibited files | + | 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