How can I list the packages I removed on a specific day?

Nave Nobel

On May 05, 2016, I had removed some packages from my Ubuntu 14.04 desktop. Now I want to make a list of those packages which I had removed on that day. How can I do it using Terminal?

However, I can get these info from Ubuntu Software Center > History > Removals. But I'm wishing to get a plain text file.

Videonauth

Use this line:

cat /var/log/dpkg.log | grep "2016-05-05" | grep "remove" | grep -v "startup"

And for putting it into a file:

cat /var/log/dpkg.log | grep "2016-05-05" | grep "remove" | grep -V "startup" > removed-files.txt

There are surely multiple and maybe even more elegant ways of doing this, if you point them out I'll add them to my answer here.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How can I list last updated packages from terminal?

분류에서Dev

How can I list all packages I've installed from a particular repository?

분류에서Dev

How can I be sure that the updated packages are not compromised?

분류에서Dev

How can I keep track of all the packages / dependencies that are installed when I run apt-get for a specific package?

분류에서Dev

How can I sort packages by file size when searching the repositories?

분류에서Dev

How can I set Crontab for a specific hour?

분류에서Dev

How can I connect to a specific BSSID?

분류에서Dev

How can I block a specific host

분류에서Dev

How can I popd to a specific directory?

분류에서Dev

How can I prevent automerge on specific files

분류에서Dev

How can I check if a line contains specific string from a list of strings?

분류에서Dev

I removed compiz and now I can't login to Ubuntu

분류에서Dev

I removed compiz and now I can't login to Ubuntu

분류에서Dev

How can I get a specific folder with a specific folders sibling in python

분류에서Dev

How can I combine fixed month and day with sql year function?

분류에서Dev

iOS - How can I schedule something once a day?

분류에서Dev

How can I create List of rectangles in TypeScript?

분류에서Dev

How can I centralize a list with css?

분류에서Dev

How can I create a resource list on Apigility?

분류에서Dev

How can I return a list of summary statistics?

분류에서Dev

When applying filter to a scala Map, how can I also check what entries were removed?

분류에서Dev

How can I restore a removed most-visited site in Chrome 15?

분류에서Dev

Why can't (and how can) I install both grub-pc and grub-efi packages?

분류에서Dev

How can I extract list from list in prolog?

분류에서Dev

How can I recreate a list of list of floats from the contents of a file?

분류에서Dev

How can I create a file with a specific size from a command line?

분류에서Dev

How can I suppress specific checkstyle rules in eclipse?

분류에서Dev

How can I set an the image of an imageview for a specific file in Android?

분류에서Dev

how can I verify a mock was called with a param with specific fields' values?

Related 관련 기사

  1. 1

    How can I list last updated packages from terminal?

  2. 2

    How can I list all packages I've installed from a particular repository?

  3. 3

    How can I be sure that the updated packages are not compromised?

  4. 4

    How can I keep track of all the packages / dependencies that are installed when I run apt-get for a specific package?

  5. 5

    How can I sort packages by file size when searching the repositories?

  6. 6

    How can I set Crontab for a specific hour?

  7. 7

    How can I connect to a specific BSSID?

  8. 8

    How can I block a specific host

  9. 9

    How can I popd to a specific directory?

  10. 10

    How can I prevent automerge on specific files

  11. 11

    How can I check if a line contains specific string from a list of strings?

  12. 12

    I removed compiz and now I can't login to Ubuntu

  13. 13

    I removed compiz and now I can't login to Ubuntu

  14. 14

    How can I get a specific folder with a specific folders sibling in python

  15. 15

    How can I combine fixed month and day with sql year function?

  16. 16

    iOS - How can I schedule something once a day?

  17. 17

    How can I create List of rectangles in TypeScript?

  18. 18

    How can I centralize a list with css?

  19. 19

    How can I create a resource list on Apigility?

  20. 20

    How can I return a list of summary statistics?

  21. 21

    When applying filter to a scala Map, how can I also check what entries were removed?

  22. 22

    How can I restore a removed most-visited site in Chrome 15?

  23. 23

    Why can't (and how can) I install both grub-pc and grub-efi packages?

  24. 24

    How can I extract list from list in prolog?

  25. 25

    How can I recreate a list of list of floats from the contents of a file?

  26. 26

    How can I create a file with a specific size from a command line?

  27. 27

    How can I suppress specific checkstyle rules in eclipse?

  28. 28

    How can I set an the image of an imageview for a specific file in Android?

  29. 29

    how can I verify a mock was called with a param with specific fields' values?

뜨겁다태그

보관