Useful VIM tips when using this editor on Linux.

Some very useful VIM tips when using this editor on Linux. When you open a folder instead of a file in VIM, you get a directory listing and this allows you to select a file. Just scroll down to the file you want to open and press ENTER. " ============================================================================ " Netrw Directory Listing (netrw … Read more

Various useful tips for using Ubuntu.

How to check the installed Ubuntu version with the command line. Use this command to check the installed version of the Ubuntu distribution. 4.4 Sat Mar 07 jason@Yog-Sothoth 0: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"4.4 Sat Mar 07 jason@Yog-Sothoth 0: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" This is another … Read more

how to generate long random numbers with the Linux command line.

This simple command prints out a long random number string from /dev/urandom. jason@Yog-Sothoth » img » $ tr -dc "[:digit:]" < /dev/urandom | head -c 64 ; echo 9958048462925775253231939134565711861924198983498274782350446110 Do it this way to remove the newline after the output. This would be good for use in a script. jason@Yog-Sothoth » img » $ tr … Read more