[Google]

Sponsored Links

  • Java on Google App Engine requires different approach - SearchSOA March 9, 2010
    Java on Google App Engine requires different approachSearchSOAThe App Engine platform debuted in 2008 supporting only the Python programming language, a favorite at Google more so than in most enterprises. ...and more » […]
  • Easy-To-Make iPhone Apps - Forbes March 9, 2010
    Easy-To-Make iPhone AppsForbesIPhone app programming is based on a language called Objective C, which is a powerful language but one that requires a programming background to master. ...and more » […]
  • In which I am misunderstood - ScienceBlogs (blog) March 9, 2010
    In which I am misunderstoodScienceBlogs (blog)The choice of computer operating system, or programming language for software authors, is in this realm. So is which brand of knife a chef uses, ... […]
  • The Secret Origin of Windows - Technologizer (blog) March 9, 2010
    The Secret Origin of WindowsTechnologizer (blog)And Pascal was the programming language that most computer science students most typically studied. The new Borland product would require serious strategy ...and more » […]
  • Laminating line boasts better controls - Packaging World March 8, 2010
    Laminating line boasts better controlsPackaging WorldAnd we use one common programming language to synchronize the entire machine. Until it was clear that this controls capability would be in hand, ... […]
  • Especial para The Narco News Bulletin - The NarcoSphere March 5, 2010
    PC WorldEspecial para The Narco News BulletinThe NarcoSphereTo resolve purchase windows xp these goals and following popular those days believe that C programming language is platform independent C was chosen as the ...Help Wanted: Volunteer Administrator in MassachusettsNarco News - The Field (blog)The Fund for Authentic Journalism Seeks a Volunteer Adminis […]
  • Opera Mini now on Windows Mobile. Yeah, you read that right - CNET March 4, 2010
    BBC NewsOpera Mini now on Windows Mobile. Yeah, you read that rightCNETFirst, Opera had to write a separate version of Opera Mini that runs on Windows phones using the compatible C-based programming language instead of Java ...Opera Mini launched on Windows MobileTopNews Singapore (press release)all 54 news articles » […]
  • The Art of Assembly Language, 2nd Edition; New from No Starch Press; New ... - TMCnet March 4, 2010
    The Art of Assembly Language, 2nd Edition; New from No Starch Press; New ...TMCnet(M2 PressWIRE Via Acquire Media NewsEdge) The Art of Assembly Language, 2nd Edition San Francisco, CA,-- Assembly is a low-level programming language that's ... […]
  • Students join the apps gold rush - The Brown Daily Herald February 25, 2010
    Novinite.comStudents join the apps gold rushThe Brown Daily HeraldDevelopers must work exclusively in Objective-C, a programming language developed by Apple that is “different from what's taught” in computer science ...It's the apple of his eye...Port Pirie Recorderall 110 news articles » […]
  • ClassroomM Launches Online iPhone and iPad Training Course - TMCnet February 23, 2010
    ClassroomM Launches Online iPhone and iPad Training CourseTMCnetThe online training course of Kochan gives high priority to teaching Objective-C, the programming language for iPhone and iPad. Most other courses teach ...and more » […]

Important Concepts For Linux Beginners – Shells and Utilities


Important Concepts For Linux Beginners – Shells and Utilities
By Levi Reiss

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.

Levi Reiss has authored or co-authored ten books on computers and the Internet. He loves the occasional glass of wine as exemplified by his wine websites including http://www.theworldwidewine.com. He teaches Linux and Windows operating systems plus other computer courses at an Ontario French-language community college. Visit his new website http://www.linux4windows.com which teaches you how to download and run Damn Small Linux on Windows computers, even if they are “obsolete.”

Article Source: http://EzineArticles.com/?expert=Levi_Reiss
http://EzineArticles.com/?Important-Concepts-For-Linux-Beginners—Shells-and-Utilities&id=1558832


Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>