How to list all installed packages? —
root@backup_server /mnt/old_root/var/lib/dpkg/info # ls -la *.list | awk {'print $9'}| sed 's/.list//' >> /root/installed_app
Now this(/root/installed_app) contain all installed packages!
Categorised as: Linux
Just another blog from admin's
root@backup_server /mnt/old_root/var/lib/dpkg/info # ls -la *.list | awk {'print $9'}| sed 's/.list//' >> /root/installed_app
Now this(/root/installed_app) contain all installed packages!
Categorised as: Linux
Leave a Reply
You must be logged in to post a comment.