random linux notes 2012-04-18

Perm URL with updates: http://xahlee.org/linux/linux_notes_2012-04-18.html

• discovered yum. (Yellowdog Updater, Modified) It's a package manager for Red Hat's RPM package system. The name YellowDog, is from a Mac linux distro in 1999. Yellow Dog Linux seems still around.

• on Fedora linux, man {shutdown, halt, poweroff, reboot} says: “These are legacy commands available for compatibility only”. So, what is the modern command?

Answer: there doesn't seem to be a standard among linuxes. (See “Replacement for init” at Init.) Fedora uses systemd.

Note that in Ubuntu, the man page for “shutdown” is different, and doesn't come with such note.

• discovered wmctrl. This seems to be linux's analog of AutoHotkey for Microsoft Windows. Basically, a scripting lang that lets you set keys. e.g. press F6 to launch Terminal, and if one is already running, just switch to it.

unix stupidities check

here's more food for my wrath. todo tomorrow.

• check if linux ps still silently truncate lines. (➲ Unix, RFC, Line Truncation)

• check if tar still have problem if file path is long. (e.g. nested dir each with 200 char in file name)

• check robustness of tar when filenames are full of unicode. (➲ Unicode Support in File Names: Windows, Mac, Emacs, Unison, Rsync, USB, Zip)

• check if you can still put random char in file names, such as control sequence, beep. (➲ On Unix Filename Characters Problem)

• check how robust is linux with unicode. Name files with Chinese and math symbols. (and if it requires me to dig into shell locale env var shit, then it's shit.)

• check/review the unix startup process, the rc scripts. (See: Init.)

• heard that ash is new simple shell for start up. Dig it.

• gotta review my unix networking stuff. ifconfig, whois, dig, ping, ... i understand many of these became obsolete.

• review the password creation, password file, user account creation, uid, gid, stuff.

• review how to find the processes that are locking files.

• run my elisp/perl/python scripts on website's 5k files, see how fast it runs inside virtual machine vs Windows native. (if good, i might start to do all my web site inside linux.)

Standard Linux Fonts

what's the most common standard serif font on linuxes? e.g. Times New Roman, Georgia, on Windows and Mac. (➲ Common Web Fonts on Windows and Mac)

Answer: probably Liberation fonts and secondarily Linux Libertine. (thanks to Tom Novelli .)

unixism lives: great power comes great responsibility

lol. The old unixism lives.

[xah@localhost~]$ sudo yum install xmonad-gnome

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for xah: 

“great power comes great responsibility”? Fuck the Red White Blue culture shit. That phrase amounts to being a execuse to meddle with other's business.

PS this happened in Fedora. Not in Ubuntu. For Dummies always win. At least over the drivel from unix tech geekers.

Popular posts from this blog

Browser User Agent Strings 2012

11 Years of Writing About Emacs

does md5 creates more randomness?