LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2013, 12:37 AM   #16
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288

Hi,

one more thing: if you want to show what commands you entered and what the output was you can copy and paste the text in the terminal emulator into LQ. Highlight the text with you mouse using the left button and then paste it into LQ in you web browser with the middle mouse button.

Evo2.
 
Old 12-02-2013, 02:11 AM   #17
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

Your file is probably in one of those folders.


The directory and file names are case sensitive ie "Documents" is not the same as "documents". Use ls to see what folders are there, and then look in those folders.

Evo2.
Do I put in cd Documents? This do not seem to work and says no such file or folder, but it is on the page.


ls did open files, one of which was Documents.

Don't let me drive you mad with this, please. How fast is a 75 year old brain...I'll tell ya' next week.
 
Old 12-02-2013, 02:18 AM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by Old Pete View Post
Do I put in cd Documents?
Yes.

Quote:
This do not seem to work and says no such file or folder, but it is on the page.
You must have made a typo. Please try again. Using "tab completion" as I described earlier will minimize the chance of making such typos.

Quote:
ls did open files, one of which was Documents.
That's good.

Quote:
Don't let me drive you mad with this, please. How fast is a 75 year old brain...I'll tell ya' next week.
No problem.

Cheers,

Evo2.
 
Old 12-02-2013, 02:27 AM   #19
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

one more thing: if you want to show what commands you entered and what the output was you can copy and paste the text in the terminal emulator into LQ. Highlight the text with you mouse using the left button and then paste it into LQ in you web browser with the middle mouse button.

Evo2.

Whoa! There hoss!!!!!!
 
Old 12-02-2013, 02:31 AM   #20
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

Yes.


You must have made a typo. Please try again. Using "tab completion" as I described earlier will minimize the chance of making such typos.


That's good.


No problem.

Cheers,

Evo2.
I got 'bash:cd documents: 'no such file or directory'

Ifn' they is gunna start bashing folks, I' gunna get some back up. It gets worse after my next drink.
 
Old 12-02-2013, 08:37 AM   #21
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,289

Rep: Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384Reputation: 1384
Quote:
I got 'bash:cd documents: 'no such file or directory'
If you do from a terminal: ls /home/pete/
and see Documents, Downloads and whatever other directories, you should be able to change to those directories with the command suggested. As mentioned above, case-sensitivity, so cd documents won't work because it is: cd Documents (upper-case D). The same would be true with Downloads, need an upper-case D.
 
Old 12-02-2013, 08:39 AM   #22
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,530

Rep: Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897Reputation: 2897
Maybe try:
Code:
% ls -1
That is a hyphen and a one not the letter 'l'.

This will list each item on its own line which will make it clear if you are looking for a folder called "Documents" or "My Documents".

Also your last post indicates that you used a lower case 'd' which, as pointed out previously, will not match "Documents"

As another alternative, I presume you know the name of the file you created in Writer? So you could try:
Code:
% find -name 'your_file.html'
The output from the above command should tell you where the file is located

Note: As with Evo2's previous examples, the percentage sign (%) at the start of the commands above is not to be typed, it simply a prompt example, ie. yours may be the dollar sign ($)
 
Old 12-02-2013, 03:38 PM   #23
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
Maybe try:
Code:
% ls -1
That is a hyphen and a one not the letter 'l'.

This will list each item on its own line which will make it clear if you are looking for a folder called "Documents" or "My Documents".

Also your last post indicates that you used a lower case 'd' which, as pointed out previously, will not match "Documents"

As another alternative, I presume you know the name of the file you created in Writer? So you could try:
Code:
% find -name 'your_file.html'
The output from the above command should tell you where the file is located

Note: As with Evo2's previous examples, the percentage sign (%) at the start of the commands above is not to be typed, it simply a prompt example, ie. yours may be the dollar sign ($)
I tried Worms. odt - OpenOffice.org Writer Result: Command not found. I then tried without odt same answer. Worms Document is there but if I open it it comes up very small and unreadable. Once it came up as the original html but I could not access it, and now I can't even get that page back up. I have printed out what I had written so far (It is about Intestinal parasites in animals in Australia)

I could get a normal OpenOffice Write page by deleting they typing from another document and using that space, As this shrunken page thingo is there when I open a new file.
 
Old 12-02-2013, 06:16 PM   #24
Old Pete
Member
 
Registered: Apr 2012
Posts: 45

Original Poster
Rep: Reputation: Disabled
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0049)file:///home/peter/Desktop/Documents/Worms.%20odt -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Linux)">
<meta name="AUTHOR" content="Peter Rake">
<meta name="CREATED" content="20131201;9011700">
<meta name="CHANGEDBY" content="Peter Rake">
<meta name="CHANGED" content="20131201;9361200">
<style type="text/css">
<!--
@page { margin-left: 3cm; margin-right: 2cm }
-->
</style>
</head>
<body lang="en-AU" dir="LTR">
<p>
</p>
<p style="margin-left: 1cm; margin-right: 1cm; text-indent: 1.4cm; margin-top: 0.2cm">
<font size="4">From the time man was given dominion over all the
animals of the earth, he took this gift but did not keep the other
side of the bargain. The animal husbandry that should have been
applied to the animals under his care was soon discarded in the face
of profit.</font></p>
<p style="margin-left: 1cm; margin-right: 1cm; text-indent: 1.4cm; margin-top: 0.2cm">
<font size="4">Mankind became a meat eater, the earth's temperature had
changed and warm clothes were required, both these items came from
the animals. So began the profiteering, which brought the massive
herds of animals to cater for the market as the worlds population
grew and grew.</font></p>
<p style="margin-left: 1cm; margin-right: 1cm; text-indent: 1.4cm; margin-top: 0.2cm">
<font size="4">In the early days, when nomadic tribes herded goats and
sheep around the arid countryside of the middle-east, foraging for

I opened this by using the Zoom icon, but how do I change it to OpenOffice odt or other editable page.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
html : force the fonts size for whole html page? Xeratul Programming 6 11-27-2012 11:54 AM
Nginx + Apache. Always get /var/www/html/index.html angryrabbit Linux - Server 1 11-27-2011 04:56 PM
adding index.html to /var/www/html not working dannyboy990 Linux - Newbie 1 09-30-2007 08:43 AM
Search & Replace Technique to Fix html HREFs w/o html extension donv2 Linux - Newbie 1 01-30-2007 11:59 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration