Very useful C program. Print a random fortune.

Here is one of my programs. I wrote this ages ago and it uses the standard ASCII character set. This will print a random fortune by running the fortune app to get a fortune and this selects a category to print from. #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <string.h> const char* x[] … Read more

Install the fortune program on your Linux machine and have a nice fortune in your terminal.

To get useful Ubuntu server command line tips in your terminal, firstly install the fortune package and some more fortunes. ┌─[jason@darkstar]─[~] └──╼ $sudo apt install fortune fortunes-bofh-excuses fortunes-ubuntu-server┌─[jason@darkstar]─[~] └──╼ $sudo apt install fortune fortunes-bofh-excuses fortunes-ubuntu-server Now run the command to print a random Ubuntu server tip. ┌─[jason@darkstar]─[~] └──╼ $fortune ubuntu-server-tips If you want to download … Read more