LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Html (https://www.linuxquestions.org/questions/linux-newbie-8/html-4175486425/)

evo2 12-02-2013 12:37 AM

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 Pete 12-02-2013 02:11 AM

Quote:

Originally Posted by evo2 (Post 5073726)
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.

evo2 12-02-2013 02:18 AM

Hi,
Quote:

Originally Posted by Old Pete (Post 5073753)
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 Pete 12-02-2013 02:27 AM

Quote:

Originally Posted by evo2 (Post 5073727)
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 Pete 12-02-2013 02:31 AM

Quote:

Originally Posted by evo2 (Post 5073758)
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.

yancek 12-02-2013 08:37 AM

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.

grail 12-02-2013 08:39 AM

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 Pete 12-02-2013 03:38 PM

Quote:

Originally Posted by grail (Post 5073908)
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 Pete 12-02-2013 06:16 PM

<!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.


All times are GMT -5. The time now is 12:40 AM.