Re: Bash problems?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tomas Larsson wrote:

Thanks all, however for some reason 'ls $DIR' didn't work.
$(ls $DIR) did the job.

The reason that 'ls $DIR' did not work is that it was not what was shown in the example, what was shown and does work is:

`ls $DIR`

which uses back ticks, a subtle difference.  :-)


--

Music: http://www.myspace.com/acidredux

Links: http://del.icio.us/furlan

Home:  http://flprim.us/index.html

"Play--more than piety, more than charity or vigilance--is what allows human beings to transcend evil."
-- Tom Robbins (Jitterbug Perfume)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux