scripting

Shell Scripting: Really Programming The Shell

When you open up a terminal window on your Linux system, you are opening up a programming environment. While it may seem like just this place where you type commands to list your files or check on the amount of disk space you have left, the shell is a real programming language. True story.

Shell Scripting vs Programming, part 3 - Special Things

When you talk about shell programming, or any kind of programming for that matter, you are going to deal with variables on different levels. In the shell, you have the built-in variables you saw earlier, and you can assign variables as well. For instance, without writing a script, type this line at your shell (command-line) prompt:

   hours=24

Then type this:

Shell Scripting vs Programming, Part 2 - Parameters and Variables

Welcome back to my Shell Scripting vs Programming series. This is part deux.

Shell Scripting vs Programming

It's time for a new series focusing on the Linux shell. In my last series, I taught you how to work in the shell to manipulate files and directories, execute commands, find things, and work with a powerful editor. This time around, I'm going to talk about programming in the shell.

Comments

Subscribe to RSS - scripting