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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I would suggest hanging around in Linux a little bit to get familar with the commands and the much different way of doing things.
Yes, locate will locate whatever you type in.
locate .tar.gz will give you a list of all .tar.gz files it has in the database.
Another suggestion, if you aren't familiar with it, is to check out the manual pages. Every command has a manual page that will describe exactly how to use the command. You might want to try a few of the following:
Essentially, you type 'man' and the command to get the pages...
Good luck with your Linux endeavor!
BTW, dosnlinux is right, locate is much easier and quicker than the find command.
Originally posted by jtdodge how does linux and windows articulate with each other on the same system. if i do a "locate" for a file ...and my file sits on the windows partition...will linux be able to see a tar.gz on it?
I'm not sure about the virtual Linux(I think this is what vmware is), but if it were a normal Linux box you could access your windows partition by mounting it.
The commands would look something like this...
#make a mount point for the partition
#mount the partion as vfat or ntfs (ntfs for NT>=)
mount -t vfat/ntfs /dev/windows partition /mnt/windows_mount_point
#find that file!
locate .tar.gz | grep /mnt/windows_mountpoint
does mounting the windows partition give one full access to the entire windows directory?
No, it is not the same as a share folder. One has to set permissions for that so that other user can also write to it.
Mounting the windows partition gives full command of that partition.
Mount your windows partition and then give the loacate or find command to look for the file. Since you have downloaded your file in Windows env your file could be in that partion, I guess.
man, i can't tell you how much i've learned from you guys, thanks for being so open to helping me out. you guys rock...although, i can tell i've got a long way to go i guess it always starts at the bottom eh? heheh
mounting a windows partition is like assigning a drive letter to a drive in windows. instead off accessing a partion by going to My Computer and clicking on the spacific drive you just change to the mount point directory after mounting.
When I first started using Linux I found this concept very strange, but I've learned to like it more
To decompress a tar.gz (aka tap archive gzip) file, type `tar -xzf tar.gz_file_name` or ``tar -xvzf tar.gz_file_name`. This will decompress the file in the same directory.
To use the find utility to search for a file that you do not know if has either upper or lower case letters, use `find / -iname '*.tar.gz' 2>/dev/null`.
Windows uses world userspace names for drives that points from partition of the hard drive or removable medium, so it is a drive, directory, and file OS. Linux structure in a file and directory tree. There are no drives. The raw storage devices gets mounted on a desire directory. The user will just see directories and files but will not see any drives. If you use the command df or mount -v, you will see what partition is mounted on a certain directory. Also users will not know if he or she is on a different filesystem although FAT and NTFS will have the same permission for every file and directory.
When I moved over to Linux, it was not hard for me because I used DOS for several years. Today's Windows users need to use DOS before using Linux because it does make it easier to know command line concepts.