Wenton's Linux Page

by
Wenton L. Davis

Wow... where to even start? I do very little in Windoze, and have used Linux almost exclusively for many years, now.  It's a little daunting to try to figure out how to organize thoughts and experiences over so much time.  I'll do my best, here, but it might not be as perfectly organized as I would like.  As an example, I can talk about ALSA from the perspective of configuring and using it as a user, or three is a lot of programming information, too.  Then there are a lot of things that just may never translate onto this page...

General User Administrative Programming Games








Commands and prompts
BASH
CSH
Utilities
Networking
Administrative Commands
VIM editor
BASH
C
Railroad Tycoon2
Koules
Netmaze








Interesting way to look for devices on the network:

~> nmap -sn 10.0.0.0/8

Print double-sided on single-sided printer:

~> lpr -o page-set=even -o outputorder=reverse (file)
~> lpr -o page-set=odd (file)

other printing thought:

~> lpr -o fit-to-page

move this to cross-development: compile cortex-m0 on a larger ARM-based machine:

~> gcc -mthumb -mcpu=cortex-m0 calc.c -S

Format and mount RAM drive

~# dd if=/dev/zero of=/dev/ram0 bs=1024 count=2048
~# mkfs.ext4 /dev/ram0
~# mount /dev/ram0 

APT

for Debian, Ubuntu, etc.

Here are some commands:

Install sl (steam locomotive)

~# apt-get install sl

Ask which package provides a file

~# dpkg -S /usr/bin/passwd
~# apt-file search vim
~# dpkg-query -S '/usr/sbin/useradd'

Download but not install:

~# apt install -d packagename

Wenton's email (wenton@ieee.org)

home