[KLUG Members] Changing directories in Suse 10.2

Peter Bart peter at petertheplumber.net
Fri May 11 15:02:28 EDT 2007


On Fri, 2007-05-11 at 12:42 -0400, Brock Inglehart wrote:
> On Fri, 2007-05-11 at 00:15 -0400, Peter Bart wrote:
> > On Thu, 2007-05-10 at 23:00 -0400, Brock Inglehart wrote:
> > > Got my new HP printer supposedly fully supported by HPLIP project.
> > > Downloaded the driver package but I don't do much in the shell so I
> > > can't remember how to change directories.  Seems there is a way to see
> > > the directories on your home file but I can't remember how.  These are
> > > the instructions I am to follow.
> > > 
> > > 1  Download the file to a convenient location (e.g., home directory or
> > > desktop, etc).
> > >      2. Open a console/terminal and cd to the download directory.
> > >      3. Type in and run this command: 'sh hplip-1.7.4a.run'
> > > 
> > > No.1 done.  Stuck on No. 2.  Shouldn't have any trouble with No 3.
> > ,
> > 	To change directories issue cd /home/peter/download for example. to see
> > what's in the current directory issue ls or ls -a to see hidden files as
> > well. Directories are case sensitive. You may have to become root, issue
> > su and then the password. The last may vary by distro. 
> 
> 
> OK, I still don't understand something.  I downloaded the file to my
> desktop and issued the CD command.  See the results????????
> 
> brocki1 at linux-fhvo:~> cd /home/brock/desktop
> bash: cd: /home/brock/desktop: No such file or directory
> brocki1 at linux-fhvo:~>

Brock,
	Be aware the directories are sometimes capitalized and the terminal is
case sensative. What I do sometimes; because I can't remember long
paths; is go one directory at a time until I get your error. Then issue
ls and see if the next directory is capitolized. At the terminal prompt
push the up arrow to get your last command and then simply add/delete as
necessary for the next directory.
	In my case this is so:

peter at plumber:~> ls
bin        hs_err_pid1676.log  nautilus-debug-log.txt  sync1  vmware
Desktop    music               Photos                  sync2
Documents  Music               public_html             sync3
peter at plumber:~> cd /home/peter/desktop
bash: cd: /home/peter/desktop: No such file or directory
peter at plumber:~> cd /home/peter/Desktop
peter at plumber:~/Desktop> 

	Remember you most likely will have to be root in order to execute the
downloaded file. Listen to all the warnings about only downloading from
trusted sources, only using root when needed, etc. Don't be me and hose
your system, although you'll learn a whole lot in a short time ;-)
	Root on my SUSE system looks so:

peter at plumber:~/Desktop> su
Password: 
plumber:/home/peter/Desktop # 

Good Luck!


-- 
Peter Bart <peter at petertheplumber.net>
http://petertheplumber.net



More information about the Members mailing list