Printing Foreign Directory

Alfred alfred.s at nexicom.net
Tue Feb 19 21:53:26 UTC 2008


Hi: I'm not an Expert at the shell just yet, but to access devices, you
need to Mount them, and in Terminal you need to be the root, or
Superuser. 

So it becomes:

sudo mount /cdrom  if you wanted to mount a CDROM. The next line will be
you need to put in a Password - Your Password.

It would be good to do some reading on the commands used, because some
of them like fdisk can wipe out your system if not used properly.

As long as the device is not being accessed the eject will unmount it
too.

I bought a book - Beginning Ubuntu Linux From Novice to Professional by
Keir Thomas - Apress Books. There are now several books for learning the
shell and using Ubuntu Linux. Do some reading, and try to learn the
commands, and what they do. This is better than trying to make use of
Code Snippets, that other people provide to you. Usually with my Ubuntu
if I add a device, and the Bios is set up to access it too. Ubuntu will
usually mount it, and read it without your having to go into terminal to
do that. To print the file, you browse the directories to find it and
then open the file up in a program that will show it, like a text
editor, or Word Processor. From that you can print it. In Linux things
tend to be looked at as folders. So an external Drive of some sort, will
look like a folder. Case in point I have a card reader, I can put in an
SD Card, as soon as I do. Ubuntu Accesses, or mounts it, and allows me
to browse the device. The Bios was set up so that I could access USB
devices. 

Hope this helps a little bit.

Alfred!
-----Original Message-----
From: Jordan Rudderham <jd.rudderham at gmail.com>
Reply-To: The Canadian Ubuntu Users Community
<ubuntu-ca at lists.ubuntu.com>
To: The Canadian Ubuntu Users Community <ubuntu-ca at lists.ubuntu.com>
Subject: Printing Foreign Directory
Date: Mon, 18 Feb 2008 22:24:25 -0600

	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). 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?







More information about the ubuntu-ca mailing list