This is an example of a Bash shell script used to loop through a list to compare to text strings found in logs. The script is used to detect and block attacks on a web site.
Read more »Looping Through a List
Category: Beginner Tags:
- Login to post comments
Time Criteria with the find Command
One of the most powerful options you can use with find is time criteria such as modified time, accessed time or changed time. Understanding how to use these elements will provide more effective searches.
Read more »Category: Beginner Tags:
- Login to post comments
5 Days of find: The Basics of find
The first of the bashshell.net "5 Days of find" series, this tutorial breaks down the basics of the find command. With the Linux find utility, you can perform powerful searches on just about any criterion you can think of, and then, from the same command-line entry, invoke another utility to do whatever you need to do with the results.
Read more »Category: Beginner Tags:
- Login to post comments
Exercise #8: Counting and Sums with awk
awk may be used to count instances and also sum columns for reports. Often it is useful to use awk scripts for the output so that it can be formatted to your needs.
Read more »Category: Beginner Tags:
- Login to post comments
Exercise 4: Starting with awk Scripts
Using awk scripts expands the possibilities with awk and provides an easy way to repeat searches on a number of files.
Read more »Category: Beginner Tags:
- Login to post comments
8 More Bash Tips for Working Faster With the Shell
This is the second article in this series, and brings eight additional tips for working faster with the shell. Here is the first article of the series, containing 10 tips.
Read more »Category: End User Tags:
- Login to post comments
10 Bash Tips for Working Faster With the Shell
Here are 10 Bash tips for making working a terminal faster and more productive.
Read more »Category: End User Tags:
- Login to post comments
redefining the fork bomb...
A fork bomb is simply a line of some characters entered into the command line of a Unix system, and when the enter key is pressed, within seconds the computer will crash... The little program we entered in to the bash shell act as a process & make multiple copies of itself, setting off a chain reaction and thus quickly exhausting the system’s resources.
Read more »Category: End User Tags:
Advanced Application Launchers With Zenity
"Wouldn't it be nice to just start an application at the navigation stage? Well you can. As well as: graphically feed text to Espeak or Festival, graphically display a command's output like a directory listing or a file's contents, graphically start a web browser at a specific website like a Google search with your input, and so much more! This is basic BASH and Zenity, so don't worry, it's easy!"
Read more »Category: End User Tags:
- Login to post comments
Problems Don't Always Need Command-line Solutions
"We see it all the time, someone straying from one distribution or another because you "have to use the command-line". I've even heard that in person, I've heard it too many times. So, I looked around to see what may be causing this impression, and sure enough it didn't take long to fine.
Read more »Remove Old Kernels In Ubuntu With One Command
I decided to try and come up with my own one-liner to remove the old kernels from my system. In this post I'll take you through each portion of this one-liner step by step so you can see how it works.
Read more »- Login to post comments
Limitations of Windows PowerShell vs. Linux SSH/bash
I've had the opportunity to work with PowerShell recently, on Windows 7. And I have to admit, I'm impressed with some things, but disappointed with others
Read more »- Login to post comments
important bash commands for system administration
Terminal is the power tool that every linux user may have to come in contact even once in their computer life. Here is a post about controlling and managing your system using the gnome terminal.
Read more »Category: Beginner Tags:
- Login to post comments
BASHing Visual Basic Out of the Picture
Awhile ago, two family members of mine were programing something for a simple task, they chose to do it in Visual Basic as the program was going to be running in a Windows...
Read more »Category: End User Tags:
- Login to post comments
My Top 5 Bash Resources
Over the course of writing The Linux Command Line and this blog, I've had frequent need of good reference resources for command line programs including the shell itself. Here is my list of the ones that stand out:
Read more »Category: High End Tags:
- Login to post comments