Using the Linux Command Line

Glenn Norman

This is post 1 of 11 in the series “The Linux Command Line” Objectives Understanding Linux file systems, users and groups, and permissions. Becoming familiar with basic navigational commands, built-in and binary executables, and advanced functions available at the bash command line. Learning how to use special permissions on executables and directories to manage availability …

Flow Control

Tux

This is post 12 of 19 in the series “[ Shell Scripting ]” The Bourne/bash shell supports a variety of conditionals, loops and other flow control operations. You’ll use these often. if The if statement is a simple conditional. Its syntax is: if condition ; then commands [elif condition ; then commands]… [else commands] fi …

Shell Variables

Linux bash shell

This is post 8 of 19 in the series “[ Shell Scripting ]” In Unix there are three kinds of variables: System Variables (you normally can’t change these), Environment Variables (which are yours, and specific to your environment) and Shell Variables (which you declare and use in programming). Bourne, bash and Korn allow you to …

Shell Basics

Hacker Girl

This is post 2 of 19 in the series “[ Shell Scripting ]” Shells The programming language the shell recognizes is dependant on the shell: sh, csh, tcsh, Korn shell, bash. In some Unix environments, when users log in, the Bourne shell (or its close cousin, bash) starts up. On many systems, however, users will …

Resources & Challenges

Resources: The Linux Documentation Project: http://www.tldp.org – get the worldwide collection of HOWTOs. “Shell Scripting Tutorial for Linux/Unix Beginners” at Guru99: https://www.guru99.com/introduction-to-shell-scripting.html SS64: A Great Reference Site The CTDP Linux User’s Guide Topic: Finding Files in Linux Topic: Build Your Own Photo Server Shell Commands: Padraig Brady’s Command Line Tips A Short Catalog of Bourne/Bash …