Xephem. Great Astronomy software for Linux. Still works on Ubuntu.

Xephem is a very old UNIX program, that is still able to be installed on a modern Ubuntu 18 desktop. Download all of the packages here into a new folder. http://e2rd.piekielko.pl/debian/binary-amd64/. Then we need to prepare for the installation of the packages. Install these two packages with apt to satisfy…

Read More

How to format a drive to NTFS using the terminal in Ubuntu.

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)…

Read More

Get information about your Macintosh machine using the command line.

Get the current status of your battery with this command. deusexmachina:~ jason$ sudo systemstats | grep "Battery Power" Battery Power: -8095 mW (-15.5 %/hr) Battery Power: -8034 mW (-15.6 %/hr) Battery Power: -6774 mW (-13.3 %/hr) Battery Power: -8080 mW (-15.3 %/hr) Battery Power: -7866 mW (-15.3 %/hr)deusexmachina:~ jason$ sudo…

Read More

How to play a movie with mpv in your terminal window.

This command will display an image in your terminal. Very useful for viewing images without using an external image viewer. mpv –no-config –pause –vo=tct https://stallman.org/rms.jpgmpv –no-config –pause –vo=tct https://stallman.org/rms.jpg Play a movie in your terminal window with mpv. 4.4 Thu Nov 29 jason@Yog-Sothoth 0: $ mpv –no-config –vo=tct fc4.mp44.4 Thu…

Read More

More useful Internet searches for finding insecure websites. Google Dorks for 2019.

Find any Microsoft Frontpage website with the username and password exposed. This is amazingly stupid. intext:" -FrontPage-" ext:pwd inurl:(service | authors | administrators | users)intext:" -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) This is an example. # -FrontPage- therose:WK7JNgYcDkzac# -FrontPage- therose:WK7JNgYcDkzac A Similar search. This also finds websites…

Read More

Use sed to filter text, this is very useful.

This sed sample will filter out all HTML opening and closing tags in HTML sed -e ‘s/<[^>]*>//g’ blog.txtsed -e ‘s/<[^>]*>//g’ blog.txt This is an example of the usage of this one-liner. 4.4 Sun Nov 11 jason@Yog-Sothoth 0: $ sed -e ‘s/<[^>]*>//g’ index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">…

Read More

Get just the number of processes on your Linux machine.

This command will print the number of running processes on a Linux system. 4.4 Tue Oct 30 jason@Yog-Sothoth 0: $ ps aux | wc -l 2554.4 Tue Oct 30 jason@Yog-Sothoth 0: $ ps aux | wc -l 255 Here is a nice alternative that will work on Ubuntu. The landscape-common…

Read More

Movie piracy will not be stopped by government policy.

The massive growth of piracy will not be stopped by government policy. The Internet is ever evolving and piracy sites just keep on moving to other addresses. Any website can just move to another web address and keep on trading as normal. Any website can just have mirrors that go…

Read More

Nice commands on Macintosh to keep track of network usage.

The Mac OSX operating system has a lot of very useful commands for keeping track of network usage. Here is a very nice one. The nettop command. As you can see, this shows a constantly updating display of network usage on Mac. This is very useful for watching network throughput…

Read More

Tcsh tricks and tips.

Print a lost of information about your current terminal using the tcsh shell and a nice command. Yog-Sothoth:~> telltc   Tcsh thinks your terminal has the following characteristics:   It has 217 columns and 55 lines It has a meta key It can not use tabs It has automatic margins…

Read More

My system information program I coded for Linux a while ago. This works very well.

https://github.com/john302/sysinfo. This is my system information program I coded for Linux. This gives a bit of information about your Linux system. Just check out the source and type make to compile. Here is some sample output. 13:21:02 ~/Downloads/sysinfo.kdevelop-1.0 homer@neo $ ./sysinfo 1 –System name – Linux –Nodename – neo.deusexmachina –Release…

Read More

What I do like about the Gnome Shell desktop on Ubuntu 18.04.

I do like some elements of the Gnome Shell desktop environment. The progress indicator in the title bar of the file manager is one. This shows the progress of file copying operations while the user is doing other things. A very good idea that should have been implemented a long…

Read More

Updating an open-source project is fun.

I have updated my System Information project, I used git to push changes to the repo from my local machine. This is not too hard. Add files to the main branch like this. jason@Yog-Sothoth:~/Documents/sysinfo$ git add src/iface.hjason@Yog-Sothoth:~/Documents/sysinfo$ git add src/iface.h Then push the changes to the repo. jason@Yog-Sothoth:~/Documents/sysinfo$ git push…

Read More