Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In addition to the command suggested by grail. perhaps you could tell us what program you're using to edit the HTML file. What error message do you get when you try to add to it?
Without a few more details about the HTML file, its permissions, and what program you're using to edit it, it's going to be difficult to help you. All you need to do is open a command prompt, paste in the command grail gave, and substitute the actual path to your file for "/path/to/your/file/file.html". If you need help with doing this, please let us know what desktop environment you're using. There's az terminal available somewhere that you can run from it.
In addition to the command suggested by grail. perhaps you could tell us what program you're using to edit the HTML file. What error message do you get when you try to add to it?
There is no error message, it just refuses to let me re-enter the pages to edit or continue writing.
I was using Openoffice write 3. and using whatever editing is there.
I do think I have other issues, as the reason I used the Html Save was because the normal Save As....Name odt brought the page up being a bout 100mm X 100mm and too small to read.
I used to have no trouble changing the ODT. Document to Windows doc, for sending to otherI have gone to Permissions and made it Read adn Write, but it makes no difference.
A bit of a stuff up really. I may have to get either Debian or Ubuntu reloaded to the top version...About $90.00 for that. So there goes the Lexus I was going to put a deposit on next pension day!!!!
I have never gotten into the innards of that stuff, sorry, but I get into enough trouble as it is.
well it looks like now is the time to. Grail is trying to help you but he needs more information. Running that command and posting the output here is likely to be the best way forward.
well it looks like now is the time to. Grail is trying to help you but he needs more information. Running that command and posting the output here is likely to be the best way forward.
Cheers,
Evo2.
Okay! So what buttons do I press to arrive at where to put that (code)?
Okay! So what buttons do I press to arrive at where to put that (code)?
you need to start a "terminal emulator". You should be able to find one lurking in the menu perhaps under applications or accessories. Once you have found that we can proceed.
you need to start a "terminal emulator". You should be able to find one lurking in the menu perhaps under applications or accessories. Once you have found that we can proceed.
Evo2.
Easy - Peasy.....In Applications desktop I find Debian - Applications, Terminal Emulator and I have Gnome Terminal, X Terminal, X Terminal as root (GKsu), x Terminal (Unicode)
ok, open one of them, I suggest "Gnome Terminal", but any one that is not "root" will be fine.
Time to get your hands dirty. First you need to learn three commands.
1.
Code:
pwd
This command prints the name of the Current Working Directory. A directory is what some people call a "folder". Ie it tells you "where you are". Just type those three letters and press enter. It should print something like:
Code:
/home/oldpete
This is your home directory. Usually when you open a new terminal you'll find yourself here.
2.
Code:
ls
This command will list the contents of the directory. Ie it will show you what files a (and "folders") are in your current directory. You can use this to see if the file you are interested in is in this directory.
3.
Code:
cd Pictures
This command will Change Directory to "Pictures" assuming that directory exists in the current working directory - you can use ls to determine this. Note that you don't have to fully type out the whole file or directory name when using comands like cd. Instead you can use a nice little feature "Tab completion". This works by typing the start of the file name and then pressing the "tab" key. Eg you could type:
Code:
cd Pic
then press tab and the line would automatically become
Code:
cd Pictures
Finally, to cd to the "parent directory" you can you can use "cd ..". Here is an example: the commands you would type are indicted by the lines begining with the "%" prompt, the other lines are the output from those commands
Code:
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Pictures
% pwd
/home/oldpete/Pictures
% ls
bar.jpeg foo.jpeg
% cd ../
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Documents
% pwd
/home/oldpete/Documents
% ls
mybook.odf mypaper.html
% ls -l mypaper.html
The output of the last command is what we ultimately want to see.
ok, open one of them, I suggest "Gnome Terminal", but any one that is not "root" will be fine.
Time to get your hands dirty. First you need to learn three commands.
1.
Code:
pwd
This command prints the name of the Current Working Directory. A directory is what some people call a "folder". Ie it tells you "where you are". Just type those three letters and press enter. It should print something like:
Code:
/home/oldpete
This is your home directory. Usually when you open a new terminal you'll find yourself here.
2.
Code:
ls
This command will list the contents of the directory. Ie it will show you what files a (and "folders") are in your current directory. You can use this to see if the file you are interested in is in this directory.
3.
Code:
cd Pictures
This command will Change Directory to "Pictures" assuming that directory exists in the current working directory - you can use ls to determine this. Note that you don't have to fully type out the whole file or directory name when using comands like cd. Instead you can use a nice little feature "Tab completion". This works by typing the start of the file name and then pressing the "tab" key. Eg you could type:
Code:
cd Pic
then press tab and the line would automatically become
Code:
cd Pictures
Finally, to cd to the "parent directory" you can you can use "cd ..". Here is an example: the commands you would type are indicted by the lines begining with the "%" prompt, the other lines are the output from those commandsadn
Code:
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Pictures
% pwd
/home/oldpete/Pictures
% ls
bar.jpeg foo.jpeg
% cd ../
% pwd
/home/oldpete
% ls
Documents Music Pictures
% cd Documents
% pwd
/home/oldpete/Documents
% ls
mybook.odf mypaper.html
% ls -l mypaper.html
The output of the last command is what we ultimately want to see.
Please give it a try.
Evo2.
It opened with peter@debianSquiggly line)$
pwd (enter)
/home/peter
peter@debianSquiggly line)$
It opens a selection of folder names and jpg image files but not the html I am after, worms html or worms doc. which seems to need Chromium web browser
I tried cd pictures. I tried pc documents, and then cdpitcures and cddocuments all entries said 'no command found'or 'no such file or directory'
It opened with peter@debianSquiggly line)$
pwd (enter)
/home/peter
peter@debianSquiggly line)$
It opens a selection of folder names and jpg image files but not the html I am after, worms html or worms doc. which seems to need Chromium web browser
Your file is probably in one of those folders.
Quote:
I tried cd pictures. I tried pc documents, and then cdpitcures and cddocuments all entries said 'no command found'or 'no such file or directory'
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.