The positions of variables in a Bash Shell script may be used by the script as a reference. These built-in parameters are useful methods for building scripts.
Read more »Positional Parameters in the Bash Shell
Category: Beginner Tags:
- Login to post comments
Using Pipes in the Bash Shell
There are a number of ways you can use pipes in the Bash Shell to send the output of one command into the input in another command.
Read more »Category: Beginner Tags:
- Login to post comments
Understanding GNU/Linux File Types
There are 7 GNU/Linux file types: regular files, directories, character device files, block device files, domain sockets, named pipes and symbolic links. This tutorial explains each with illustrations.
Read more »Category: Beginner Tags:
- Login to post comments
Scripting User Commands in Bash
How to use a Bash Shell script to record the activity of users. This
script is useful in rebuilding the actions of users as they work at
the command line.
Category: Beginner Tags:
- Login to post comments
Understanding Signals with Processes
Processes are required to respond to signals sent to them. This is one way a user can communicate with signals and control them.
Read more »Category: Beginner Tags:
- Login to post comments
Performing Searches with grep
You can direct grep to search through one file or many. You can also pipe in output from some other utility so that you’ll see only the information that you want to see. And, the fact that grep uses regular expressions allows you to perform searches even when you only have an approximate idea of what you’re searching for.
Read more »Category: Beginner Tags:
- Login to post comments
GNU/Linux Command Sequences in the Bash Shell
In addition to creating programming structures, you can also use the semi-colon to separate stand-alone commands that you want to execute from the same command entry. If you wanted to cd to a certain directory and then look at its contents, you could enter each command on its own line. Or, you could enter them both on the same line. This process is called command chaining.
Read more »Category: Beginner Tags:
- Login to post comments
Using Variables With awk
awk supports user defined variables as well as variables that are predefined. These variables do not need to be declared like they do in bash scripts. There are three types of variables.
Read more »Category: Beginner Tags:
- Login to post comments
Declaring Variables in Bash Shell Scripting
When using variables, they should be declared in order to be useful in shell scripting. This bash shell tutorial explains the declaration process.
Read more »Category: Beginner Tags:
- Login to post comments
How To Search Using The Awk Utility
The awk utility provides a powerful way to search for text strings using regex. This great tool will help you solve many Bash shell script needs.
Read more »Category: Beginner Tags:
- Login to post comments
Bash Shell Variables an Introduction
The Bash Shell provides the ability to create symbolic names which the shell stores in memory and which can be assigned values so that it can be used repeatedly in a shell script.
Read more »Category: Beginner Tags:
- Login to post comments
The Basic Structure of a Linux Command
The Bash Shell utilizes a structure for commands that can be used with the shell. This article demonstrates how to use command, options and arguments.
Read more »Category: Beginner Tags:
- Login to post comments
Learn To Use Functions
Bash Shell scripting...every Linux admin needs it to save time. One aspect of shell scripting is writing functions. Creating functions in your scripts allows you to create containers of code that you can reuse in one script or multiple scripts. This tutorial, with examples, shows you how to create functions. The article is a part of a free shell scripting course.
Read more »Category: Beginner Tags:
- Login to post comments
Nano Text Editor Course
Nano is an alternative text editor. The key sequences in nano are entered using the keyboard, making nano a "modeless" editor, unlike vim. With the exception of Control and Meta key sequences, all the keys will enter text into the file being edited. You do not have to switch modes at all. In addition, nano provides some text aids. The 2.0 release enhances the usability and features of nano.
Read more »Bash Shell Course: Text Editors
The focus of this 10 page mini-course is to provide a foundation for using basic text editors. At some time everyone who uses Linux will need a text editor. One of the most important reasons for learning vi is that it is loaded on every Linux distro by default whereas others like nano or emacs are not. So whatever text editor you choose be sure you load it and use it before you need it.
Read more »Category: Beginner Tags:
- Login to post comments