Quantcast
Channel: Linux Shell Script Programming – Ask Dave Taylor
Browsing all 32 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Write a Linux Shell Script to Produce Passwords?

Congrats on wanting to write a program rather than find someone else’s solution already canned and ready to go. Of course, I’ll be showing you a script that does exactly what you want, but if I explain...

View Article


Image may be NSFW.
Clik here to view.

Can I do Bulk Substitution on the Linux Command Line?

You can definitely do lots of text transformations directly from the command line with a Linux system, but what you’re asking about is actually a bit more tricky than it appears. The problem is that...

View Article


Image may be NSFW.
Clik here to view.

Format very large numbers in Bash shell scripts?

This sounds like a classic programming problem and in the world of Linux and Bash shell scripts, there are quite a few ways to solve it. Where this gets interesting, however, is that different locales...

View Article

Image may be NSFW.
Clik here to view.

Linux Script to Create Amateur Radio Call Signs?

I have to admit, this one took some back and forth communication to fully understand. Here’s the deal: Amateur radio (also known as ham radio) is built atop some pretty old school computer tech, so...

View Article

Image may be NSFW.
Clik here to view.

How Can I Work with Random Numbers in the Linux Shell?

Randomization and random numbers are both quite fascinating and rather obscure topics from a mathematical perspective. Turns out that it’s pretty dang hard to truly produce random numbers, though you...

View Article


Image may be NSFW.
Clik here to view.

Can I analyze EXIF information on the Mac OS X command line?

Ah, what a refreshing question! I’ve been writing shell scripts for so long that it’s burned into my brain. Not to mention that I write a column on shell script programming for Linux Journal and am the...

View Article

Image may be NSFW.
Clik here to view.

Shell script: How long someone’s been logged in?

Haven’t had a shell script programming question for a while so it’s a pleasure to dig in and figure out how to solve this with a short program. For those of you who don’t know, Unix and Linux systems...

View Article

Image may be NSFW.
Clik here to view.

How do I program Rock, Paper, Scissors?

Well, you picked an extraordinarily complicated game with many variations and the programming task is going to be quite tricky. Just kidding! Rock Paper Scissors, or “RPS” as it’s known, is pretty darn...

View Article


Image may be NSFW.
Clik here to view.

On What Day Does New Year’s Day Usually Occur?

You hopefully realize that since there are five weekdays and two weekend days that New Year’s Eve – or any other calendar event that occurs on a specific date – is over twice as likely to occur on a...

View Article


Image may be NSFW.
Clik here to view.

Write a Linux Shell Script to Produce Passwords?

Congrats on wanting to write a program rather than find someone else’s solution already canned and ready to go. Of course, I’ll be showing you a script that does exactly what you want, but if I explain...

View Article

Can I do Bulk Substitution on the Linux Command Line?

You can definitely do lots of text transformations directly from the command line with a Linux system, but what you’re asking about is actually a bit more tricky than it appears. The problem is that...

View Article

Image may be NSFW.
Clik here to view.

Format very large numbers in Bash shell scripts?

This sounds like a classic programming problem and in the world of Linux and Bash shell scripts, there are quite a few ways to solve it. Where this gets interesting, however, is that different locales...

View Article
Browsing all 32 articles
Browse latest View live