Create file and chmod 755
---------- getallpackages.sh -----------
#!/bin/bash
echo "-------- get all packages -------" > getallpackages.txt
sudo dpkg -l >> getallpackages.txt
gedit getallpackages.txt
Create file and chmod 755
---------- getallpackages.sh -----------
#!/bin/bash
echo "-------- get all packages -------" > getallpackages.txt
sudo dpkg -l >> getallpackages.txt
gedit getallpackages.txt