LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   file structure and file portability (https://www.linuxquestions.org/questions/linux-newbie-8/file-structure-and-file-portability-429842/)

moon_dog 03-29-2006 09:35 PM

file structure and file portability
 
i'm obviously a noob at linux, just installed it today. my question is, what is the file structure of linux? i mean, is it structured the same way the old DOS system was, with directories, etc? and how do you unzip a .tar.gz file? i just downloaded open office but don't know the commands to navigate the shell and unzip the file. and lastly, before installing linux, i backed up my mp3, jpg, and ms office files. do i just hook up my external HD and copy them over as is, or do i have to convert the files to make them compatible with linux's file system? i'm especially concerned with the MS office files cuz i need them for work. thanks.

tw001_tw 03-29-2006 10:19 PM

Quote:

what is the file structure of linux?
See: http://www.comptechdoc.org/os/linux/..._crfilest.html
and: http://www.secguru.com/files/linux_file_structure.jpg
forget about drive letters, as you won't need them anymore.

Quote:

how do you unzip a .tar.gz file?
tar -xf packed_files.tar.gz
for more info see: http://en.wikipedia.org/wiki/Tar_(file_format)

Quote:

i just downloaded open office but don't know the commands...
Where to start on this one. So you got this file?:
OOo_2.0.2_LinuxIntel_install_wJRE.tar.gz
Thus your previous question, huh? I would STRONGLY suggest trying to find one
specific to your distro. Otherwise, see here:
http://download.openoffice.org/2.0.1...ons.html#linux
or here:
http://download.openoffice.org/2.0.1...ml#other_linux

Quote:

i backed up my mp3, jpg, and ms office files. do i just hook up my external HD and copy them over as is
Yes- but your main concern is what file system (fat32, ntfs) is the external hard drive
using, and if your linux is configred to read those file systems. Linux has the
ability to read both, but if your kernel is not configured for the task, it can not.
Without knowing your distro, I can't even begin to tell you what it can and can't do
'out of the box'. (and I'm only real familiar with Slackware, but others can help
if its anather distro on the details).

Quote:

convert the files to make them compatible with linux's file system?
Files are files - the most important thing is what type of file system the files
are located on (ext3, reiserfs, fat32, ntfs, etc). A properly configured linux
system can read mp3's,jpg's and pdf's, etc. - they are just opened with different
programs. As far as the .doc's (word documents), Open office can open, read, edit,
and save the changes. I've never tried using one of my own documents in a formal
windows system, but from what I understand it works.

Hope this helps some.
good luck
-tw

moon_dog 03-30-2006 12:55 AM

i'm using the latest ubuntu distro. the file system of the external is NTFS. the distro came with openoffice but i don't think it's the latest version so i was thinking of replacing it. do you just delete it from the drive or is there some kind of uninstall process like in windows?

pixellany 03-30-2006 08:54 AM

Yes, Linux has directories---as do ALL operating systems

Don't confuse "file system" with individual "file format". As already pointed out, file formats are universal.

To easily share files with Windows, the easiest way is to have a data partition (ideally on a separate drive) formatted FAT32.

You do not need to remove OpenOffice to install the newer one. If you download and install, it will go into /opt by default. You will need to create links in one of your panels. To put them in your main menus, you need a menu editor--eg SMEG.

To remove a package installed by Ubuntu, go to the package manager (Administration-->Synaptic Package Manager)

demented_are_go 03-30-2006 09:00 AM

and... man is your friend, if you're not sure how to use a command, generally using : man command
like for example : man tar
will give you a lot of information about it and it can prove to be very practical. I've gone back and forth from windows to linux with both documents and spreadsheets and never had a problem. For documents I tend to keep two copies, just in case, both odt and doc formats.

rickh 03-30-2006 09:02 AM

Don't try to go too fast here. You may be an expert in Windows, but you're going to have to walk here a while before you're ready to run. I assume that Ununtu uses apt-get for file installation. Maybe start with that.


All times are GMT -5. The time now is 06:51 PM.