Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-30-2009, 02:03 PM   #16
Registered: May 2009
Distribution: Slackware 13.0
Posts: 30

Rep: Reputation: 15

Originally Posted by i92guboj View Post
In the strict sense, echo is not displaying file names. It is just displaying a string that it receives. Echo, unlike ls, has no concept of file names or whatever. The expansion happens before echo even gets into scene, to start with. All that echo receives is a string, and it effectively echoes that screen to stdout. The fact that that screen matches a list of file names is purely coincidental, and is due to the preliminary expansion that the shell does before passing the arguments to echo.
+1 The most clear of all of you. Its a rather simple concept thats being quite overkilled. =P . And yes it is a common question in classrooms and on Linux + exam.=)
0 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 05:26 AM
How to : Find the difference between 2 days ? avklinux Programming 1 02-27-2009 08:16 PM
what is the difference between these commands ls * and echo * izrafel Linux - General 5 06-12-2007 01:49 PM
ls | echo, I got blank, why can't echo take the 2nd seat in a pipeline? elinuxqs Linux - Newbie 6 11-24-2006 09:25 AM
How can i find the difference for directory alice95089 Linux - Software 4 02-07-2005 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration