Posts

Showing posts with the label How to

[HOW TO] Get a list of packages that use most space

Let's learn how to get a list of installed packages that use most space, with sizes shown as "human readable mode". Install Fist we need to install debian-goodies . Open a terminal window and run: sudo apt-get install debian-goodies -y List top 10 packages $ dpigs -H 258.2M nvidia-340-updates 171.7M google-chrome-stable 154.4M wine-staging-amd64 145.2M wine-staging-i386 144.9M linux-image-extra-3.13.0-74-generic 137.0M blender 117.7M wine1.6-amd64 116.2M krita-testing 112.7M wine1.6-i386 111.0M libreoffice-core List top N packages $ dpigs -H n 5 258.2M nvidia-340-updates 171.7M google-chrome-stable 154.4M wine-staging-amd64 145.2M wine-staging-i386 144.9M linux-image-extra-3.13.0-74-generic

[HOW TO] Determine and change character file encoding

Determine file encoding: file -bi some_file Change file encoding: iconv -f current_encoding -t destination_encoding file > file_new_encoding List known coded character sets: iconv --list Convert with Vim (eg, converting to utf-8): :write ++enc=utf-8 file_name References Stackoverflow - How can I change a file's encoding with vim? Determine and change file character encoding iconv manpage

[HOW TO] Create cbz file from command line

Open a terminal window, change current directory to the directory where the jpeg files are located and run: zip filename.cbz *.jpg References http://en.flossmanuals.net/e-book-enlightenment/making-cbzs/