Christian Remnant Now / Unix
- My scripts
- 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.
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
- Android Powers my phone and tablet
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:
- Field tech
- Manager (very brief)
If you are interested in my professional background you can see my resume (all be it dated) here.
📑 Related documents
Unix is basically simple operating system, but you have to be a genius to understand the simplicity.Top
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 and Pandoc Example
Some markdown examples and documents
- KJV Bible in markdown
- unix.md The source for this web page (Fixed to always be up to date)
- My resume in HTML PDF Markdown
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
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)
📜 Some of my scripts
Where there is a shell, there is a way.
- 256 small script to display shell color codes for tput
- bru backup used on Termux to backup my cell and tablet
- clock talking clock, with weather, quotes, & timer
- cmcs change management control system
- get download manager that uses youtube-dl, and wget Updated
- lib.bash collection of stuff for bash scripters
- lm list media, displays the mp4 and mp3 files with run time
- m a simple menu tool in bash (Termux) Updated
- mback backup script
- p podcast player for Termux New
- play random music player for termux
- ren simple file renamer to fix file names
- services simple Termux daemon controller New
- u a simple Utility menu tool in bash (Termux) Updated
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
- .bashrc Desktop version
- .bashrc Cell (Termux) version
- .vimrc Setup for Markdown and code editing with Bible integration
- urls Newsboat RSS and podcast subscriptions Updated
- config Newsboat configuration file
- conf Calcurse configuration file
- .conkyrc Conky configuration file Picture
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:
- Bible application (used as a concordance)
- Calcurse schedule and to do list
- Lynx browser used with a Bible encyclopedia in html format
- Midnight Commander extensible file manager with networking support
- Multimarkdown to transcode markdown into other formats
- Neomutt email program
- Newsboat rss feed subscriptions, and podcast client
- Sc spreadsheet application
- Sqlite SQL Database
- Vim to edit documents and code with
- VisiData an interactive multitool for tabular data.
- Wcalc advanced calculator without a GUI
- Custom scripts, to manage my notes, check weather, provide a menu, etc...
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.
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
- Start up 'crond', this can be done with automatically with Termux:Boot.
- Make sure you have Termux:API installed.
- Install the clock
- Setup a cron job via 'crontab -e' with the following lines:
0,30 * * * * [ -f ~/.time ] && /data/data/com.termux/files/home/bin/clock -s
-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.
- THE CUCKOO'S EGG
- IBM Jargon and General Computing Dictionary
- In the Beginning was the Command Line
- tldr (to long didn't read) book
- The Elements Of Style: UNIX As Literature
- The UNIX cult
- 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|
(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'.
- s 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
- hackertyper.sh Simulation written in BASH
- horserace Simulation written in BASH
- klondike1 Cards written in Perl
- mandelbrot Simulation written in BASH
- minesweeper Minesweeper written in BASH
🔗 UNIX/Linux Links
Unix is user-friendly, it's just picky who its friends are.
- Distro Watch
- Linux Documentation Prodject
- Linux Mint
- Lynx start page Because it needed to be done
- The UNIX and Linux Forums
- Calcurse A text based calendar, scheduling, to do lists
- 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...
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 SourcesTop
📖 Quick References
These are all PDF files
- Bash Script Colors
- Midnight Commander
- Perpetual Calendar
- UNIX Toolbox