free tips on windows, linux. sql, mysql,apache,antivirus, virus, security, database, software, hardware

How to convert files from Windows format to UNIX format

This tip shows you how to convert files from Windows format to UNIX format and vice versa. This can be handy if you’ve ever opened a file that was created in Windows and found your screen full of of ^M characters at the end of every line.

How to Use the file command

The file command is provided by the package sys-apps/file, so if you don’t already have it installed, you’ll need to type emerge file. Chances are you’ve already got it on your system though. To use file simply type file filename and you’ll see information about the filename you passed in. Simple right?

How to kill stubborn processes in Linux – Tips

This tip shows you some interesting ways to kill stubborn processes. Never let it be said that you can’t kill a process again! The first way is the old boring way that most people probably use. Use the command ps aux, look through the process list until you find the PID you want and issue the kill command. How tedious!

How to Prevent System Reboot with Ctrl-Alt-Del – Linux

The “Three-Finger-Salute” or, the key combination Ctrl+Alt+Del is typically mapped to the command /sbin/shutdown -r now. In other words, it reboots your system. Sometimes this may be unwanted behavior, so this tip shows you how to disable, or remap that key combination.

How to find Remote Network File Systems

Network File System (NFS) is a network file system protocol originally developed by Sun Microsystems in 1983, allowing a user on a client computer to access files over a network as easily as if the network devices were attached to its local disks. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system.

How to Identify Your Intel Chipset on Windows by Device Manager

Identifying the Intel® chipset components located in your computer can usually be done by looking at the chipset markings on the motherboard. Chipsets are comprised of multiple components and the following link shows the combinations that make up the various chipsets.

How to Determine Linux ethernet interface speed and duplex

Determine the autonegotiated ethernet connection speed and duplex using the mii-tool command Running the following command as superuser with no options will generate basic information about all of the ethernet interfaces on the computer: mii-tool The resulting output will look something like: eth0: negotiated 100baseTx-FD, link ok This output shows one interface (eth0) which was(…)

How to Make Linux ignore a ping

Sometimes it can be useful to hide a Linux machine a bit. To turn answers to icmp_echos off, as root type: echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all and to turn it on again type: echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

How to find and delete files recursively

Quick and dirty way of deleting a file named “vertito” recursively starting from / . Let’s find those files named “vertito” and list them out first: # find / -name vertito -exec ls -la {} \; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rw-r–r– 1 root root 0 2007-07-17 22:52 /home/ver/vertito -rw-r–r– 1 root root 0 2007-07-17 22:52 /home/folder2/vertito -rw-r–r– 1(…)

Windows Registry Tips

Change the default application install path Change the default Win2000 install path A warmer welcome Tell Win2000 where to find the service pack files Remove Unwanted programs from Add/Remove Programs Open My Computer icon in Explorer view Keep the Print Spooler service from displaying dialog boxes Stop Print Job Logging in the Event Log Disable(…)

How to remount partition as read only

Here’s a tip on remounting partitions. Usually /boot is mounted as read-write linux filesystem by default installation. If you also feel that your /boot should not be changed, modified or upgraded, you can just remount them as read only partition without booting your linux system.As root: Go to /boot partition # cd /boot Create a(…)