Menu: Home | GuestBook | Photos | Links | ICQ | Projects | Tech | Mail
Downloads | Programs | Eamons | Freemans | Tristans | Atomic MPC


Useful Linux Stuff



cat /etc/services | grep IPNUMBER

- Used to look up what a port number is where IPNUMBER is a port between 0 -> 65535

/etc/services is a list of registered ports, what they are etc.






If you download a file with the extension .tar.gz to unzip use

tar -xzvf (filename).tar.gz





Not much here yet, Just installed RedHat Linux 7.2, Still learning. Here is a little tip for mounting fat32 partitions.
First Use

# fdisk -l /dev/hda

This will list the partitions on the first harddrive, if there is more then one hard drive change the final letter "a" to "b", etc stands for each physical hardrive.a=1st hardrive, etc.
Find the name of the partition you want to "Mount". It will be something like hda3 or hdb4 or something similar.
Next you will need to make a directory, which is a reference to the drive. Try something like,

# mkdir /mnt/vfat1

This will create the directory vfat1 in mnt.(A common place for mounting drives, but can mount anywhere I guess).
now we will mount the fat32 drive (check #man mount for more details)

# mount -t vfat /dev/hda4 /mnt/vfat1

This will mount a fat32 drive on the first hardrive, and the drive is found in the /mnt/vfat1/ directory.
Enjoy...
Next I will see if I can get this fstab working...