Mastering the Linux Shell : Killing Processes and Dire Warnings

Today's installment of Mastering the Linux Shell comes with a warning. Actually, it comes with a few warnings. .And a viewer advisory. Well, actually a reader advisory.  You see, some of what I cover sounds pretty violent and discretion is advised. I'll be talking about processes and their children, and the need, at times to kill a process. You may even have to kill child processes so this is not for the squeamish. If it makes you feel any better, these processes are just code running somewhere in memory. It's not like Tron at all. They're just bits of information …

Mastering The Linux Shell – Processes

So what constitutes a process on your Linux system?  The short answer is : Everything.  In your long and illustrious career as Linux gurus, you are going to hear a lot about processes, process status, monitoring processes, or even killing processes. Gasp! Reducing the whole discussion to its simplest form, all you have to remember is that any command we run is a process.  Processes are also sometimes referred to as jobs.  The session program which executes our typed commands (the shell, or terminal if you prefer) is a process.  The tools I am using to write this article such as …

Musings on Keeping More of Your eBook Sales

I've been giving a lot of thought to the subject of self-publishing and self-selling ebooks. More specifically, I'm musing about how authors can actually keep more of what they charge for their work. One of the issues with selling inexpensive ebooks (e.g. $1.29) is that you're left with very little once Amazon has its way since they take 70% on the lower priced items. If you sell them via your own Website using a shopping cart, a chunk of that sale goes to PayPal (35 cents). It's less than Amazon, but it takes a while to make that back. I …

Mastering The Linux Shell – Finding Anything

You know how you get those emails that suggest you can find out anything about anyone? They claim to be able to locate any person and tell you who they are, where they are from, the date they were born, and what their background is . . . You'll be happy to know this isn't the subject of this article. It's a lot more fun than that. We're going to find out where files are hiding and once we do, I'll tell you what you can do with them. Sounds like fun? Then let's get started.  Finding out about a …

Mastering The Linux Shell – Advanced Permissions

In my last article, I introduced the idea of permissions in the Linux world. Some users can read or write a file, while others can only read the same. A user may also belong to a group and share the permissions of that group which might also involve the ability to execute, or run a file as a program. Today, I'm going to continue on the subject of permissions but get into more detail, including some intense variations of basic permissions. The setuid bit Aside from those three permission bits (read, write, and execute), we have one other very important …

Marcel the Shell

Someone suggested that I use Marcel the Shell to narrate my articles on the Linux shell. I suppose it's because my name is Marcel and I'm writing about shells. So, for your viewing pleasure, or something, here is "Marcel the Shell".  No, he doesn't talk about Linux.  Or command line shells. 

Nailed for Jesus

Over at Thailand's "The Nation", you will find coverage of a bizarre practice, made all the more strange by the fact that it happens each and every year. In this report, 24 penitents had themselves nailed to crosses in a recreation of Christ's crucifixion and death. They apparently leave out the death part, but they do go through the actual process of having themselves nailed to a cross, with large nails hammered into their palms by guys dressed up as Roman soldiers. Now you've got to hand it to them (no pun intended), these are people who really truly believe. …