HostOnNet Blog

Category Archives: Linux

Delete Large Number of files in a folder

On linux, i was asked to delete a folder with lot of files. When i try to delete the file with rm if *, i got error, too big arguments. The files are deleted with command find /home/mwp2007/mail/new -type f


Enable Date and Time in history

Linux “history” command shows previous commands used in your server. This is good as you can see what commands are run on your server. By default history do not show date and time of command execution. You can enable this


New Linux PC

I used to run test linux server in VMWare. Few days back, i brought a new PC and installed CentOS 4.4 on it. Now all PC’s running Windows 2003, i want to use Linux on Desktop, but doing that, i


Changing default language

Today i worked on a Fedora C4 server, the langiage is set to German. This is the second time i am working on german server, first one was suse linux. With the help of a german friend, i change the


User Resource limits on Cpanel Server

Today i tried to run java on a dedicated server as normal user. This is required as part of sidekick installation. But i got following error Error occurred during initialization of VM Could not reserve enough space for object heap


RAR files on Linux

By default Linux support .tar, .tar.gz, .bz2 and .zip compressed files. On FreeBSD unzip command is not available, you can install from ports. RAR files can be uncompressed with command unrar. On linux you can install it with On FreeBSD,


Installing FTP with apt-get on Debian Server

Debian is almost same as other Linux Distros. Main difference is the way how it manage software installation. Debian use apt-get program to install and manage software packages. You can find more details on using apt-get with “man apt-get” Today


Internet on linux virtual machine

I am running Apache on VMWare virtual machine running Fedora. Host machine is Windows 2003. On Fedora, i installed samba, so i can share files between Linux and Windows Host machine. Network is ok, but i could not get internet


netstat

Find which program use a port netstat allows you to view all tcp connection on your system. To see all LISTENING ports, run