Technology Software

Important Concepts For Linux Beginners - Shells and Utilities

A shell is the command interpreter program that serves as an interface between some users and the operating system itself.
We say some users because most users rely on the graphical user interface.
The Windows shell is the DOS command line interface accessed by clicking on Run and then entering the cmd command.
The Windows graphical user interface is Explorer.
This article describes the Damn Small Linux shell interface and several utilities, useful programs that may be launched from the shell.
A subsequent article will describe the corresponding graphical user interface.
Why would anyone want to bother with a shell when the prettier, easier-to-learn and easier-to-use graphical interface is available? The answer is: It depends who you are and what you want to do.
For system administrators or their associates it's often much less cumbersome to use the shell rather than the graphical user interface.
While Damn Small Linux commands may be quite arcane, they are often very powerful.
And efficient.
The Linux way of performing administrative and other technical tasks admittedly takes time to learn and master.
But it does the job and does it well.
In all fairness, many Windows systems administrators often apply command-line utilities.
But they don't have a powerful shell to help them do their work.
Historically Unix used the Bourne shell, the C shell which resembles the C programming language, and the Korn shell.
Linux's most widely used shell is Bash, also spelled BASH, the (Bourne-Again Shell).
Damn Small Linux offers many shells but most people go with Bash both to communicate interactively with the operating system and to write programs known as shell scripts.
If you program in Linux no matter which programming language you use you should learn some Bash specifics.
Utilities enable you to handle some very sophisticated processing.
You can think of them as commands or as prewritten programs.
Unix-Linux people often send the output of one command or utility to another command or utility for further processing.
For example, the ps command displays active processes.
It tends to generate voluminous output, especially in a busy system.
Let's say that you are interested only in the processes associated with a given terminal.
You send (the technical term is pipe, expressed by the | character) the output of the ps command to the grep utility which looks for patterns within the input.
You code a single line, multipart command to obtain the list of processes associated with that particular terminal.
Unix and Linux are well known for elegant solutions.
In contrast the Windows solution to this information need is much more clumsy.
The grep utility has many other uses including validating e-mail addresses.
Let's say that your web site asks potential subscribers to furnish their e-mail accounts when signing up for a newsletter.
A sophisticated but relatively short statement coded in grep could validate e-mail accounts.
Other Damn Small Linux text processing utilities include the related egrep and fgrep commands, mawk a pattern scanning and text processing language, sed an editor that handles large files, and diff a utility that compares files.
DSL provides utilities that compress and archive files, and a wide range of other utilities.
If you need them, these Linux utilities can be very useful and time-saving.
Our next subject is Linux programming support.
SHARE
RELATED POSTS on "Technology"
local area network (LAN)
local area network (LAN)
How to Make Watermarks
How to Make Watermarks
How to Convert RTF to Doc
How to Convert RTF to Doc
How to Insert a Check Box in Word 2007
How to Insert a Check Box in Word 2007
How to Digital Scrapbook With Adobe Photoshop
How to Digital Scrapbook With Adobe Photoshop
RiT PatchView: Designing Your Own Personal Network With Technicians' Assisting in the Performance
RiT PatchView: Designing Your Own Personal Network With Technicians' Assisting in the Performance
Best Things About Software Development Services In India
Best Things About Software Development Services In India
Diwali Festival New Year Offer For School Management System
Diwali Festival New Year Offer For School Management System
How to Edit Pictures to Make Teeth Whiter
How to Edit Pictures to Make Teeth Whiter
3 Quick Fix Solutions to Common DVD Driver Issues
3 Quick Fix Solutions to Common DVD Driver Issues
How to Make a Java Game With NetBeans
How to Make a Java Game With NetBeans
Convert Offline EDB to PST When Exchange Server Crashed
Convert Offline EDB to PST When Exchange Server Crashed
How to Compress BMP Files
How to Compress BMP Files
How to View Two PowerPoint 2007 Presentations in Sync
How to View Two PowerPoint 2007 Presentations in Sync
How to Convert AVI to MPEG2 in Linux
How to Convert AVI to MPEG2 in Linux
xinetd
xinetd
How to Design a Corporate Enterprise Email System
How to Design a Corporate Enterprise Email System
Solving Complex Data Migration Problems With ET Tools
Solving Complex Data Migration Problems With ET Tools
Web Development Being Powered by Ajax Programming!
Web Development Being Powered by Ajax Programming!
Biztalk Server Deployment A Challenging Task For Deploying Over A Remote Account
Biztalk Server Deployment A Challenging Task For Deploying Over A Remote Account
Great Plains Small Business Financials Upgrade Overview For Consultant
Great Plains Small Business Financials Upgrade Overview For Consultant
Choosing The Right Mobile Application Development Platforms: Tips And Guidelines
Choosing The Right Mobile Application Development Platforms: Tips And Guidelines
Taking A Closer Look At SugarSynch
Taking A Closer Look At SugarSynch
Online Scheduling Software- How Online Scheduling Software Can Revolutionize Your Business
Online Scheduling Software- How Online Scheduling Software Can Revolutionize Your Business

Leave Your Reply

*