Steve's Linux Tips
This is the place for small, cool, interesting or just noteworthy Linux-based tips.
They also tend to be shared with the UK Linux Facebook page.
I do, less frequently, write longer articles, at http://steve-parker.org/articles.
I also have some Shell Scripting Tips, which you might find interesting.
Networking
- Networking Tutorial - IPv4 networks, netmasks, subnets, and so on.
- MTU, aka Jumbo Frames - what "Jumbo Frames" are, and how to configure them (or any MTU size)
- ssh-copy-id - Copying SSH ~/.ssh/id_rsa between machines
- Convert IP to Hexadecimal - Converting IP addresses from Decimal to Hexadecimal
Numbers
- Converting to Binary - an interesting way to convert Decimal to Binary
- The UNIX Epoch and 2038 "bug" - what is the significance of 1st January, 1970?
Tips
- Daylight Savings Time and Log Files - how Autumn can mess up your logs
- Finding the Environment Variables of another process - Parsing
/proc/PID/environ
. - rpm2cpio in one move - Extracting an RPM without installing it.
- Using Systemd to update the console with dynamic information - finally, an actual practical use for Systemd!
- The format of the "crontab" file - For some reason, many people (myself included) find it very hard to remember which column is which in the crontab file.
- Systemd, tmpfiles.d, and /var/run - Managing PID files on CentOS 7, with particular regard to packaging and Systemd.
- Bad Public Keys - an obscure reason for
ssh
failing to connect: "error: RSA_public_decrypt failed: error:0407006A:lib(4):func(112):reason(106)
" - Tar's force-local switch - or Why Can't
tar
Cope With Colons?
Fun Stuff
- Linux Quotes - Funny, witty and/or clever quotes about Linux
- Zombies - UNIX: Zombies, and the Killing of Parents and Children
These should accumulate over time, to become a library of the useful, the quirky and the just plain odd.
Check out the new Shell Scripting Tutorial at www.shellscript.sh
I have written some books, all of which are available in Paperback and eBook formats. You can get my Shell Scripting Tutorial securely through Amazon as an 88-page Paperback or eBook; if you want more meat, my 564-page book Shell Scripting: Expert Recipes for Linux, Bash and more goes into more detail, with in-depth example code. I have also written some other books on related subjects, too:
See my other publications here: http://steve-parker.org/publications/.