Below are some useful parameters that can be used with dpkg to work with .deb packages. $ sudo dpkg --get-selections Lists all installed packages $ sudo dpkg -l true* Lists all packages starting with true $ sudo dpkg -L truecrypt Lists all files installed by truecrypt $ sudo dpkg -i timeout.deb Install the timeout.deb package … Continue reading Some dpkg useful commands
Tag: command
Downgrade dd-wrt firmware from dd-wrt version 24461 to dd-wrt version 24160
Recently, there have been no upgrades to the dd-wrt firmware I use on my routers. Found that the last dd-wrt firmware version 24461, did not permit upgrades to newer firmware due to a bug in it. It also did not allow downgrades to a lower version of dd-wrt via the Web GUI interface or any … Continue reading Downgrade dd-wrt firmware from dd-wrt version 24461 to dd-wrt version 24160
Replace comma with new line in a text file using tr in Linux
If you have a CSV file and want to replace each comma with a carriage return or new line in Linux, you can do so using the tr command. Below is an illustration of how it can be done. Open a terminal window, then type the following command. $ cat mycsvfile.txt | tr ',' 'n' … Continue reading Replace comma with new line in a text file using tr in Linux