Christian Remnant Now / Unix

Page Contents:

  1. Unix
  2. Markdown
  3. /rdb
  4. My scripts
  5. My config files
  6. Termux
  7. Unix Fun
  8. Unix Links
  9. Quick References
  10. Tech books I like

UNIX - A computer operating system

Those who do not understand Unix are condemned to reinvent it, poorly.

I have been using UNIX or some variant of it for most of my life. I have used many flavors over the years. This is a sampling of my personal favorites:

History of UNIX

ATT Film on UNIX from Bell Labs

I am what one would call an "old school hacker". Not like you see portrayed in the movies, breaking into government computers and stealing information. But real hackers are folks who like to learn about technology and modify it for their own use. Any technology, not just computers.

I am no longer in the business of working with computers (I cook at a nursing home of all things). But I still love to use UNIX/Linux (I will mix the terms going forward, get use to it). I write code for my personal use, just for fun. I also maintain this website and use it to study the Bible.

When I was in the IT work place, it was as:

If you are interested in my professional background you can see my resume (all be it dated) here.

Unix is basically simple operating system, but you have to be a genius to understand the simplicity.

Top

🖊 Markdown

A simple markup language that can be used with Vi (or Vim)

This is what I use to maintain my website, keep all of by notes (technical, Bible, personal), and write in. It can be easily converted to HTML, PDF, docx, etc...

Some sites with tools and information on it:

Markdown and Pandoc Example

Some markdown examples and documents

Note I am open to job offers, as long as I can work remote (I live in a very small town in farm land).

Top

🗄 /rdb

A relational database the turns the shell into a 4gl.

New: The following files contain tab separated text databases that can be used with /rdb.

The Computer Chronicles - Database Software (1984)

Top

📜 Some of my scripts

Where there is a shell, there is a way.

A new function was added to lib.bash called "mod_script" that is called from my scripts with a '-E' option on the command line. This allows for quick edits, and also now logs to my personal log. The log in tab delimited and so can be parsed with Visidata.

I also cleaned up some of the code and ran them threw "shellcheck", so you will notice minor changes and directives in some of the scripts.

Top

📎 My settings

Top

Android Termux

Or how to carry Linux in your pocket

Android is just a locked down version of Linux. Termux is an application that you can install on your cell phone, or tablet that provides a working shell (bash by default, others are available). If you are old school like me, (or just a hard core geek) this is a very nice option.

I run the following applications on ALL of my Linux platforms, and they are always in sync:

You will find the links for most of this below. I will update this space more as time allows to share the detail of my configuration if folk want it. In a nutshell, I use ssh, rsync, and scripts to keep the data in sync on all the devices.

I own a Bluetooth keyboard, and a pen that also acts as a stylus. When I am out and about I have my full Linux tools set and applications available everywhere. I can get to all of my data, write code, update my website, etc... Any place at any time.

I am amazed that one can buy a $50 phone, add a 64gb microSD card to it, and a stylus, for under $100 and have a full functioning development environment. It is an amazing time we live in.

Termux tips

I put the tips in a file termux.md so you can download them easily. You could write a shell function in your .bashrc to display them, or something else. I use bat as a replacement to "cat" and it does syntax support including markdown.

How to make a talking clock

  1. Start up 'crond', this can be done with automatically with Termux:Boot.
  2. Make sure you have Termux:API installed.
  3. Install the clock
  4. Setup a cron job via 'crontab -e' with the following lines:

0,30 * * * * [ -f ~/.time ] && /data/data/com.termux/files/home/bin/clock -s

Options:
-c # check battery
-f # speak fun quote
-s # speak current time
-w # speak current weather

If no option is given a menu displayed, anything else will start tty-clock.

Top

🤓 UNIX fun

Unix, the power of shell is in your hands.

RFC's Really Fun Comments

File Description
rfc968.txt Twas the Night Before Start-up
rfc1097.txt TELNET SUBLIMINAL-MESSAGE Option
rfc1149.txt IP Datagrams on Avian Carriers
rfc1216.txt Gigabit Network Economics and Paradigm Shifts
rfc1217.txt Consortium for Slow Commotion Research
rfc1438.txt Internet Engineering Task Force Statements Of Boredom
rfc1607.txt A VIEW FROM THE 21ST CENTURY
rfc1925.txt The Twelve Networking Truths

Pictures

(click to view)

Console Screen Savers and Wrapper

I hang out in the shell all the time and so have come up with a way to have a 'screen saver'. It is manually called by a script called 's' (why type more?). My 'menu' script listed above has a timeout value, so if you do not select anything, it will auto run 's'.

Games scripts

I have collected a little sample of some of the better games written in scripting languages. I have enjoyed using them over the years.

Top

Unix is user-friendly, it's just picky who its friends are.

🖋 History/Information

💻 Applications

See more links on the links page in the menu

Windows and Mac users

Having had to work with Windows as a required desktop for work, I have found the best terminal emulation is called Zoc. It alows you to automate anything, any way you can conceive threw your terminal. This is THE biggest help I have ever had over the years for managing large amounts of servers.

It is a commercial program, but well worth the money. One of only two that I own.

The other one worth looking into is ExpandDrive. This will let you map UNIX/Linux volumes as network drive for full read and write. Plus cloud based volumes as well.

📦 Good Sources

Top

📖 Quick References

These are all PDF files

Top


  1. This still works, on systems today! A couple names conflict so add before /usr/bin in PATH. I runs it on Linux Mint, and Android under Termux