Back to Top

bash

Shell Scripting vs Programming, part 3 - Special Things

Oct 22, 2013 - Tags:

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:

   echo "There are $hours hours in a typical day"

The system responds with this:

Shell Scripting vs Programming - Introduction

Oct 08, 2013 - Tags:

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. What I want to do is get you comfortable with the idea of writing small, useful scripts to do your job as an administrator of your Linux domain, no matter how small or large. To that end, I will concentrate on bash.

Mastering The Linux Shell - Advanced Permissions

Apr 04, 2013 - Tags:

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.

Pages

Comments

Subscribe to bash
The Original Cooking with Linux
 
Appearing monthly, 3rd Thursday, on Computer America
Appearing every 3rd Thurday of every month on the Computer America radio show.
  • Ever stop to think about what kind of jerks Charlie Brown's neighbours were? What kind of person gives a kid a rock at Halloween? 1 hour 37 min ago
  • Getting ready to watch the Lego Ninjago movie with my little man. https://t.co/DpLQmzbsMq 1 day 4 hours ago
  • RT : Supporting the creation of a permanent, self-sustaining human presence on Mars. https://t.co/kCtBLPbSg8 https://t.co/ra6hKsrOcG 1 day 22 hours ago
  • Nightmare more like it. 1 day 23 hours ago
  • RT : I dare u2 find 1 Jew that gives a single fuck about saying Merry Xmas. This is an antisemitic lie made up by FoxNew… https://t.co/ShRpKasJsu 2 days 10 hours ago