Christian Remnant Now / 💻 Unix
My son, fear thou the LORD and the king: and meddle not with them that are given to change:
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 worked for 30+ years with Unix systems. Now I just handle mailing lists for a printing company, in North Dakota (not much tech here).
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. see About
Side note: Background is “green-bar” like the old computer lab paper.
When I was in the IT work place, it was as:
- Sysadmin (HP, IBM, SCO, Linux, etc…)
- Instructor (Sun Solaris HW/SW)
- Consultant (Unix Sysadmin, automation, and integration)
- Field tech (Parts monkey)
- Manager (very brief)
Listed now in Wiby!
- My scripts
- Web scripts New!
- My config files
- Unix Fun
- Unix Links
- Quick References
- Tech books I like
UNIX - A computer operating system
Those who do not understand Unix are condemned to reinvent it, poorly.
Why I like Unix
I was thinking about this today (7/27/2021), as I was changing the ‘lm’ script. I don’t even remember the place I got it from anymore. But I used it and thought it was handy. Then I wanted some color, so I changed it. Then I wanted mp3 files supported. Next I added a total play time. This last mod happened when I tried to point to another directory and it did not support it.
It (Unix) allows me to do what I want, the way I want it, when I want it. Its free, powerful, not a resource pig, and once you master the shell, you can do just about anything you can think of. It puts the power in the users hands.
I started this website with some basic understanding of HTML, and decided to use Markdown to keep it simple. The more I worked with the site, it became a hassle. So I wrote some scripts, (site and web) to manage it. Then modified .vimrc to support Markdown macros I wanted. Now it takes me a couple of minutes to manage the site. Most of it is completely automated.
Oh, and the cost? FREE!
See: Introduction to Unix/Linux for more information as to why you should consider it.
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:
- Coherernt on a 286 clone
- SCO Xenix on a Tandy Business system
- AIX on IBM RISC 6000 hardware
- HP/UX on HP’s PA RISC
- Solaris on Sparc, & Ultra Sparc
- BSD on a 386 clone
- Linux My current desktop OS, Laptop
History of UNIX
ATT archives: The Unix Operating System Duration: 00:27 Posted: 06/26/21
Unix pipeline Brian Kernighan Computerphile Duration: 00:05 Posted: Thursday 08/26/2021
SunOS Unix Nostalgia Duration: 00:02 Posted: 06/26/21
Coherent 4 Duration: 00:05 Posted: 06/26/21
BBS: The Documentary Episode 1 of 8 Baud The Beginning Duration: 00:39 Posted: 06/30/21
🔗 UNIX videos and the rest of the BBS documentary.
📑 Related documents
Unix is basically simple operating system, but you have to be a genius to understand the simplicity.
- AWK paper
- Coherent Device Driver Kit
- Coherent Manual Ad #1 Ad #2
- Coherent Pocket Reference
- Coherent X11r5
- C Traps and Pitfalls
- UNIX PROGRAMMER’S MANUAL
- UNIX Programming Environment
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 Guide A good place to learn it
- Markdown Home The place it came from
- Multimarkdown Easy to use converter
- Pandoc A more powerful converter
Markdown: The easiest way to make presentations Pandoc markdown Duration: 00:08 Posted: 06/05/21
Some markdown examples and documents
Vim Tips You Probably Never Heard Of Duration: 00:12 Posted: 07/17/21🔝
A relational database that turns the shell into a 4gl.
The following files contain tab separated text databases that can be used with /rdb.
The Computer Chronicles: Easy To Use Databases Duration: 00:26 Posted: 06/05/21🔝
📜 Some of my scripts
Where there is a shell, there is a way.
- bd raw Bible dictionary, lookup and random feature
- config raw
- fclock fuzzy clock, not my code
- ft fun text, displays strings in fun ways
- get raw download manager that uses youtube-dl, and wget
- lib.bash raw
- lm raw list media, displays the mp4 and mp3 files with run time
- m raw a simple menu in bash
- u raw a simple Utility menu in bash
- quote raw random Bible quotes in different formats
- quotes.md Bible quotes for above script
- tag raw random tag line in different formats
Web scripts used to create and mange this site
This website is made from markdown files. I wrote the following scripts to make it easy for me to manage it. I often change them when I think of a better way to do something, or to address an issue I run into. Like all of my scripts on this page, I did not write them for public consumption. With that said I have attempted to keep them readable, and commented. A lot of them will auto install requirements with apt. This is because I can copy them and have them work without much to think about on my side. Please note: I use Pandoc as the back end for markdown conversion.
Side comment: I do not have ANY CGI, the entire site in static, manually updated with the scripts below. It cracks me up to watch my logs (lnav), and see all the hacking attempts. People really want to take this site down. They go after, PHP, SQL, WordPress, MySQL, and more.
Note: To see the source for the pages on this site change the ‘.html’ to ‘.md’, if the URL does not display anything other a directory name, use ‘.md’ added to the directory name: http://crn.hopto.org/unix.md
- books raw creates index.html file for directories of books
- mp3s raw creates index.html file for directories of mp3’s
- mkln raw create link to file in markdown to stdout
- pi raw create png (preview) file and writes to stdout html code for mp4 post
- pics raw creates index.html file for directories of pictures
- site raw main script to compile markdown to html
- vids raw creates index.html file for directories of videos
- web raw Web management front end
📎 My settings
- .bashrc raw
- .conkyrc raw Conky configuration file
- .vimrc raw
- urls Newsboat RSS and podcast subscriptions
- config Newsboat configuration file
- conf Calcurse configuration file
I used Dos back in the day and I decided to build a DosBox environment to run some of the classics
You can run DosBox on Windows 10, Linux, and even on Android.
I have installed and configured:
- Big Clock
- dBase 3
- Doom 2
- Epic Pinball
- Lotus 123
- Monarch (data extraction tool)
- Norton Commander 5.5.1
- Norton Editor
- Nutshell (best DOS database ever)
- Qbasic (under C:\qbasic71\src is a collection of games)
- Regina REXX for scripting
- Sierra Card Games
- SQlite (in Regina directory)
- Word Perfect 5.1
🤓 UNIX fun
Unix, the power of shell is in your hands.
- IBM Balls
- IBM Jargon and General Computing Dictionary
- In the Beginning was the Command Line
- THE CUCKOO’S EGG
- The Elements Of Style: UNIX As Literature
- The Peter Principle Revisited
- The Tao of Programming
- The UNIX cult
- tldr (to long didn’t read) book
- Unix Wars
RFC’s Really Fun Comments
|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|
- Desktop Pictures Dress up the desktop
- Misc Pictures Moved to a folder with preview
- Tech Some technical pictures
- Term Pictures For terminals that allow setting a background
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’.
- s raw Front end to my console screen savers
- pipes Very cool script for drawing random pipes
- pipesX.sh Another one
- maze.py python script for rendom mazes
- Asciiquarium Why not?
- cmatrix # install with: sudo apt install cmatrix
- tty-clock # install with: sudo apt install tty-clock
I have collected a little sample of some of the better games written in scripting languages. I have enjoyed using them over the years.
- Chessba.sh Chess written in Bash
- chopper Animation written in Bash
- christmas.sh Animation written in Bash
- fclock Fuzzy clock written in Bash
- fire Animation written in Bash
- g raw a simple Games menu in bash New
- hackertyper.sh Simulation written in Bash
- horserace Simulation written in Bash
- klondike1 Cards written in Perl
- klondike2 raw New version with emoji, and more
If someone with better perl skills want to add a ending (win/loose) to this, send me the updated one to post.
🔗 UNIX/Linux Links
Unix is user-friendly, it’s just picky who its friends are.
- Distro Watch
- Linux Documentation Prodject
- Linux Mint
- The UNIX and Linux Forums
- Calcurse A text based calendar, scheduling, to do lists
- kjv-master.zip A cli version to compile
- Lynx A text based web browser
- Midnight Commander A text based file manager
- MultiMarkdown A tool to help turn minimally marked-up plain text into well formatted documents, including HTML, PDF
- Neomutt A text based email client with POP and IMAP
- Newsboat A RSS reader
- Pandoc A universal document converter
- sc Spreadsheet Calculator A free curses-based spreadsheet
- SQLite3 SQL Relational database
- Vim Programmers editor of choice
- VisiData A interactive multitool for tabular data!
- wcalc If you build a better calculator…
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🔝
📖 Quick References
- 😀 Emoji
- Adv Bash Scripting
- Bash Reference
- Bash Script Colors
- Bare Bones Guide to HTML
- Midnight Commander
- Perl Card
- Perpetual Calendar
- UNIX Toolbox
- Vim Card
Updated: Sun 23 Jan 2022 07:04:42 AM CST