Preview Mode Links will not work in preview mode

AdminDev Labs

Nov 26, 2019

### Man Page Sections
1. User Commands
- Programs supplied by GNU C library
- git
- htop
2. System Calls
- System calls provided by Linux kernel
- write
- read
3. Library Functions
- Standard C library functions
- pthread_create
- rand
4. Devices
- Devices in /dev and other places
- loop
- zero
- sd
5. Files
- File...


Nov 25, 2019

### Practical Scripts

Personal Task Manager
- Two scripts
- Add a task
- Find and display tasks
-- Weekly, annual, and single entry
-- Test for bad/incompatible formatting
-- Save the data to a hidden file
-- Second script changes current date into dayname, day and month, or day, month, and year
-- String comparison
--...


Nov 21, 2019

### Reading from Files and Databases
- Files
-- List of commands
-- The "read" command
- Databases
-- MySQL .my.cnf file, Postgres .pgpass
-- Save path to variable
-- <<EOF to run/chain queries
-- Insert values with arguments

### GUI Menus
- dialog
-- msgbox: Short message followed by OK button
-- yesno: msgbox with...


Nov 19, 2019

## Shell Scripting

### Why Bother?
- Despite the length of automating or scripting, the time you save in the end is worth it.
- Understanding your system; baseline computer logic; thinking "programatically"
- 31337 f***ing h@x

### Scripting Conventions
- She Bang(s?)
- /usr/bin/env python3
- /usr/bin/env ruby
- chmod u+x...


Nov 13, 2019

## The *BSD Sides of Things

Using *BSD For More Than Routing
- Software Development
- Systems Administration
- Engineering Beast Mode
1. Netflix
2. Google
3. Cisco
4. Palo Alto

Using *BSD For Routing
- pfSense
- OpenBSD
- NetBSD

Accessible Desktop
- FuryBSD
-- Enable Networking
-- Configure x.org
-- Trackpad...