How encrypted passwords work on a Linux system.
How the password format in the /etc/passwd file works on Linux.
How the password format in the /etc/passwd file works on Linux.
How to scrape content from a web site and properly format the resulting output.
The new successor to the jpeg image format is called jxl, this allows much higher compression than Jpeg and would be awesome for websites with a lot of images. I found a nice resolution png image and I converted it to webp. This gave me a 55 kilobyte image, compressed from a 1.5 Megabyte png … Read more
Trailing whitespace in a C source file is very annoying, especially if it is a very large file. There is an easy way to fix this with the Linux command line. This sed(1) one-liner will remove all spaces from the file, erasing all of the unwanted spaces after characters that is the bane of autistic … Read more
To format a drive to NTFS using Ubuntu, we need to use the terminal. The command used to create a filesystem on a drive is used here. But you must unmount the drive first, otherwise it will not work. 4.4 Thu Dec 20 jason@Yog-Sothoth 0: $ sudo mkfs.ntfs /dev/sdf6 1) All commands run with root … Read more
So it was brought to my attention that a command in Linux exist that makes what I made obsolete. Here is the code you can run in the terminal. Simply save your PGP message, name it something, and place it on your Desktop and replace FILENAME with the name of the file you saved the … Read more
This is how to format a hard disk partition that will hold data for your Linux system. The partition must be unmounted before formatting, but this is the ideal way to create a file-system on a new partition that has been created with fdisk. root@jason-desktop:~# mkfs.ext4 mkfs.ext4 mkfs.ext4dev root@jason-desktop:~# mkfs.ext4 /dev/sdd3 mke2fs 1.42.13 (17-May-2015) /dev/sdd3 … Read more
Formatting a partition in Linux is very easy when you use the mkfs command. In this example I am formatting a 35 gigabyte partition with an EXT4 file-system. I am intending to try out a Linux From Scratch build and I want to have a dedicated partition to build this on. jason@eyjafjallajkull:~/Documents$ sudo mkfs.ext4 /dev/sdb2 … Read more
The formatting of a hard disk partition on Linux is not very difficult if you use the right command. The mkfs command is used on Linux for this task; I will be showing a simple example of its usage here to make it clear how this is done. This is a simple example; I am … Read more
This is how to encode a video to webm format without sound to create a GIF replacement. The ffmpeg utility allows encoding a video in different formats. This is the perfect command for encoding a good quality webm video. ffmpeg -i gzdoom_2012_11_04_20_34_10_391.avi -ss 00:01:00.000 -to 00:01:20.000 \ -codec:v libvpx -quality good -cpu-used 0 -b:v 500k … Read more
The mkfs command for Linux may be used to create new file-systems on a USB drive. I have used this to format a USB drive that had errors on it. Instead of using Windows 8.1 to format it, I have chosen to use the mkfs command as that is the standard command for formatting a … Read more
This command shows how to display a listing of files with ls and show line numbers at the same time. homer@deep-thought ~/Desktop/Site % ls | nl 1 back.jpg 2 bejiitas_phpb1 3 bejiitas_phpb1.sql 4 cgi-bin 5 Files.tar.lzma 6 Map07Tufb.zip 7 my2.tar.lzma 8 program.c 9 quake38.jpg 10 sysinfo 11 tekcrazy_2.zip 12 wrap.rarhomer@deep-thought ~/Desktop/Site % ls | nl … Read more
The Audacious music player for Linux Mint 14 supports the Monkey Audio APE format out of the box. I recently acquired some music in this format and I found out that the Audacious music player version 3.23 supports this music format. I tried to play this on Windows with Winamp using a plugin; but it … Read more