Printing Foreign Directory
Eugene Cormier
eugene.cormier at gmail.com
Tue Feb 19 04:39:18 UTC 2008
On Mon, 2008-02-18 at 22:24 -0600, Jordan Rudderham wrote:
> I'm trying to print a foreign directory (removable HDD). The methods
> I've seen for printing out the list of items in a directory is ls >
> file.txt. But I can't seem to be able to access my removable hdd in the
> terminal (I'm ignorant of where I can find it).
should be somewhere under /media/
(could be: /media/disk?!?)
> The secondary question
> to this is: is there any other way to print a list of the items in a
> directory that also prints the items in sub-directories of that
> directories?
try:
find -type d
(the "-type d" tells "find" to look only for directories, and "find"s
default is recursive)
Cheers
Eugene
--
****************************************
* Eugene Cormier *
* Acadia University *
* www.eugenecormier.com *
* eugene.cormier at gmail.com *
* DEN 152, (902) 585-1329 *
* Classical Guitar, Guitar Class, *
* Guitar Ensemble, Prelim. Rud. *
****************************************
More information about the ubuntu-ca
mailing list