How to list non-system files
I want to list all non-system files in Ubuntu to check if there anything important in the system before I reinstall it.
By non-system file, I mean all files that are not created by the operating system itself or other package that comes with the operating system.
files filesystem
add a comment |
I want to list all non-system files in Ubuntu to check if there anything important in the system before I reinstall it.
By non-system file, I mean all files that are not created by the operating system itself or other package that comes with the operating system.
files filesystem
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user withsudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
There's no distinction between os created files and user created files. Files in specific locations such as/etc/
,/usr
, and/dev
can be considered system-critical, however with exception of/dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se
– Sergiy Kolodyazhnyy
Feb 7 at 19:27
You can list all the files on the system. For packages installed viadpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read/etc/passwd
to see which users are on the system.
– waltinator
Feb 7 at 22:17
add a comment |
I want to list all non-system files in Ubuntu to check if there anything important in the system before I reinstall it.
By non-system file, I mean all files that are not created by the operating system itself or other package that comes with the operating system.
files filesystem
I want to list all non-system files in Ubuntu to check if there anything important in the system before I reinstall it.
By non-system file, I mean all files that are not created by the operating system itself or other package that comes with the operating system.
files filesystem
files filesystem
asked Feb 7 at 17:37
TheBlueKingLPTheBlueKingLP
12
12
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user withsudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
There's no distinction between os created files and user created files. Files in specific locations such as/etc/
,/usr
, and/dev
can be considered system-critical, however with exception of/dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se
– Sergiy Kolodyazhnyy
Feb 7 at 19:27
You can list all the files on the system. For packages installed viadpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read/etc/passwd
to see which users are on the system.
– waltinator
Feb 7 at 22:17
add a comment |
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user withsudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
There's no distinction between os created files and user created files. Files in specific locations such as/etc/
,/usr
, and/dev
can be considered system-critical, however with exception of/dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se
– Sergiy Kolodyazhnyy
Feb 7 at 19:27
You can list all the files on the system. For packages installed viadpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read/etc/passwd
to see which users are on the system.
– waltinator
Feb 7 at 22:17
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user with sudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user with sudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
There's no distinction between os created files and user created files. Files in specific locations such as
/etc/
, /usr
, and /dev
can be considered system-critical, however with exception of /dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se– Sergiy Kolodyazhnyy
Feb 7 at 19:27
There's no distinction between os created files and user created files. Files in specific locations such as
/etc/
, /usr
, and /dev
can be considered system-critical, however with exception of /dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se– Sergiy Kolodyazhnyy
Feb 7 at 19:27
You can list all the files on the system. For packages installed via
dpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read /etc/passwd
to see which users are on the system.– waltinator
Feb 7 at 22:17
You can list all the files on the system. For packages installed via
dpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read /etc/passwd
to see which users are on the system.– waltinator
Feb 7 at 22:17
add a comment |
0
active
oldest
votes
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116458%2fhow-to-list-non-system-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116458%2fhow-to-list-non-system-files%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
touch afile
still creates by OS, that's just you are telling her. you may can find files that are owned by a specific user withsudo find / -type f -user USERNAME
– αғsнιη
Feb 7 at 17:47
This can't be used too find files that are created by root.I am looking forward something like "list all files except basic system files"
– TheBlueKingLP
Feb 7 at 18:03
Problem: Your definition of "non-system file" is not standard. A Debian/Ubuntu install is made up of thousands of packages, and there is no definition of "system" and "non-system". Also, I'm not sure what you consider "important". Me, I keep my data and customizations in standard locations so I can find and maintain it.
– user535733
Feb 7 at 18:16
There's no distinction between os created files and user created files. Files in specific locations such as
/etc/
,/usr
, and/dev
can be considered system-critical, however with exception of/dev
, most of the things are regular files. Named pipes and sockets can be ignored, as they're communication files, and not regular files per se– Sergiy Kolodyazhnyy
Feb 7 at 19:27
You can list all the files on the system. For packages installed via
dpkg
, you can get a list of all the files in each package, and eliminate them from the first list. For configuration changes, programs installed from source, etc, you are out of luck, unless you're willing to search old log files, and even then you can't be sure. Read/etc/passwd
to see which users are on the system.– waltinator
Feb 7 at 22:17