List packages manually installed with process currently running

ps -eo cmd | awk '{print $1}'| sort -u | grep "^/" | xargs dpkg -S 2>/dev/null | awk -F: '{print $1}' | sort -u | xargs apt-mark showmanual
Sometimes we install programs, we forget about them, and they stay there wasting RAM. This one-liner try to find them.
Sample Output

By: pabloab
2020-03-26 06:16:45

What Others Think

I have encountered many problems while solving the issues during the server maintenance of my website cheap essay writing US and if we notice a kind of an alert which says that by using this command it installs it successfully but you better be ready to experience great hectic this is what we should keep in
velvetyoung · 3 weeks and 5 days ago
I am searching for experts and professional writers to buy essay online in affordable prices.
jameswarner · 3 weeks and 2 days ago
Every problem has a solution just to focus and try to find a best solution and this CSS query is worthy which is used to listed all the products. Write my essay for me cheap UK
andrewlewis · 2 weeks and 2 days ago
This is a good piece of information that you have shared in this article. Greeny I just tried to know about to before installing the packages. It will be more better if you can share more about this. thank you.
zaiyamariya · 1 week and 5 days ago
I have used samples found on . They have a rich database of numerous assignments. I used them to do my own papers.
GraceJordan · 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: