LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2004, 04:35 PM   #16
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30

sinope
that was BRILLIANT it worked a treat, thanks to every bodys input for now im sorted
thanks nige
 
Old 10-26-2004, 04:46 PM   #17
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
ok now i can see these programmes and files how do i access them i thought i could just
"cd " this is the list i get
x1-6-00-10-dc-a7-f1-8f:/windows/C # find . -iname nigel
./Documents and Settings/nigel stanley/Desktop/nigel
i want to access the folder above caled "nigel" i tried
" cd ./Documents and Settings/nigel stanley/Desktop/nigel"
it returned the error
"x1-6-00-10-dc-a7-f1-8f:/windows/C # cd ./Documents and Settings/nigel stanley/Desktop/nigel
bash: cd: ./Documents: No such file or directory
x1-6-00-10-dc-a7-f1-8f:/windows/C #"
any more help going please
 
Old 10-27-2004, 02:25 PM   #18
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Because the path has spaces you will need to surround the path in quotes or escape the spaces with backslashes. If you use tab completion then bash will escape things for you.
 
Old 10-27-2004, 03:24 PM   #19
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello david do you think it would be possible to give me a written example please
 
Old 10-27-2004, 03:36 PM   #20
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Either:
cd "./Documents and Settings/nigel stanley/Desktop/nigel"

or:
cd ./Documents\ and\ Settings/nigel\ stanley/Desktop/nigel
 
Old 10-27-2004, 03:44 PM   #21
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
oh think iv done it this is my example i wanted to find a programme called "limewire" so 1st i went to where windows was located
"cd /mnt/windows
i then typed "ls" this brought up a list of that directory
i noticed in this list some thing called windows so i type
"cd windows"
then i typed
"find . -iname limewire"
it found this programme
"./Program Files/LimeWire"
because there is a space after the word programme i put in a backslash so it now looks like this
"./Program\ Files/LimeWire"
i then use the cd command
"cd ./Program\ Files/LimeWire"
im now where i want to be for now thanks folks

Last edited by master; 10-27-2004 at 04:19 PM.
 
Old 10-27-2004, 04:21 PM   #22
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello david can you tell me what you mean by "tab completion" i dont understand and thanks for your example

Last edited by master; 10-27-2004 at 04:23 PM.
 
Old 10-27-2004, 04:48 PM   #23
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just start typing a command or path then press tab to complete it without typing the whole thing.
 
Old 10-27-2004, 07:26 PM   #24
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
ok cheers
my next task is this iv gone in to my windows directory iv then gone to a folder called "nigelslinux" which contains a zip file called"masternige1.zip" iv typed
"unzip masternige1.zip" that has now created a pdf file can you tell me how to read it please just to show you this is what i have done
x1-6-00-10-dc-a7-f1-8f:/windows/C # find . -iname nigelslinux
./windows/Desktop/nigelslinux
x1-6-00-10-dc-a7-f1-8f:/windows/C # cd ./windows/Desktop/nigelslinux
x1-6-00-10-dc-a7-f1-8f:/windows/C/windows/Desktop/nigelslinux # ls
. .. 117-101.pdf masternige1.zip masternige2.zip
x1-6-00-10-dc-a7-f1-8f:/windows/C/windows/Desktop/nigelslinux # unzip masternige2.zip
Archive: masternige2.zip
inflating: 117-102.pdf
x1-6-00-10-dc-a7-f1-8f:/windows/C/windows/Desktop/nigelslinux # ls
. .. 117-101.pdf 117-102.pdf masternige1.zip masternige2.zip
x1-6-00-10-dc-a7-f1-8f:/windows/C/windows/Desktop/nigelslinux #
thanks for your help
nige
 
Old 10-28-2004, 12:58 PM   #25
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you have an xserver then you can use xpdf, ggv or acrobat reader. If you need to read it on the cli then pdftotext can extract the text for you.
 
Old 10-28-2004, 07:52 PM   #26
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello what i did was type "pdftotext 117-101.pdf"
the error message i got was"this document is not allowed"
this was my complete path
masternige@x1-6-00-10-dc-a7-f1-8f:/windows/C/unzipped/masternige1> pdftotext 117-101.pdf
Error: Copying of text from this document is not allowed.
masternige@x1-6-00-10-dc-a7-f1-8f:/windows/C/unzipped/masternige1>
any more help please
 
Old 10-28-2004, 07:55 PM   #27
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello to resolve this problem i typed "acroread 117-101.pdf"
that command opend acrobat reader and i was away thanks again for your help
 
Old 10-28-2004, 07:56 PM   #28
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
oh i would still like to know why i got the error regarding "pdftotext" thanks
 
Old 10-31-2004, 02:54 PM   #29
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello again i have a couple of pdf files i want to look at the command i am using is "acroread 117-201.pdf"
the error message im getting is
"Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
Error: Can't open display: :0.0"
can any body put me right on this please
 
Old 10-31-2004, 03:14 PM   #30
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Original Poster
Rep: Reputation: 30
hello iv allso used the command "pdftotext 117-201.pdf"
the error message i get from that is
"x1-6-00-10-dc-a7-f1-8f:/windows/C/Documents and Settings/carms/Desktop/nigelslinux # pdftotext 117-101.pdf
Error: Copying of text from this document is not allowed.
x1-6-00-10-dc-a7-f1-8f:/windows/C/Documents and Settings/carms/Desktop/nigelslinux #
any way im stuck now thanks for any replies
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied when trying to log info in files bigdog0007 Linux - Newbie 6 06-28-2005 08:56 AM
Where to find info of new and under-work distros? jon_k Linux - General 1 10-20-2004 03:01 PM
howto access man and info pages? SciYro Programming 5 07-23-2004 11:21 AM
web site to read/write access db info... Scrag Programming 7 07-02-2004 10:36 AM
Access Forbidden 403 for PHP info page. Kitara Linux - Software 5 05-24-2004 03:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:24 AM.

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