Skip to content

u/johnchen902

In this archive from Jun 2017 to Mar 2019

0
posts
6
comments
0
media
11
score

https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Identify_files_not_owned_by_any_package

The general process for doing so is:

  1. Create a sorted list of the files you want to check ownership of:

    $ find /etc /opt /usr | sort > all_files.txt

  2. Create a sorted list of the files tracked by pacman (and remove the trailing slashes from directories):

    $ pacman -Qlq | sed 's|/$||' | sort > owned_files.txt

  3. Find lines in the first list that are not in the second:

    $ comm -23 all_files.txt owned_files.txt

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.