Tag: number

unneeded services

Step 1: Now we will remove all software groups, to get Centos to a minimum Step 1.1: Run grouplist to see what software groups that are installed: yum grouplist Step 1.2: Remove all groups that are installed EXCEPT “Yum Utilities” yum groupremove “GroupName” Step 2: Lets disable unneeded services: chkconfig […]

How to Delete Files Older Than x Days on Linux

The find utility on linux allows you to pass in a bunch of interesting arguments, including one to execute another command on each file. We’ll use this in order to figure out what files are older than a certain number of days, and then use the rm command to delete […]

Changing the SSH port on cPanel Servers

To change the SSH port number login as root, and edit online viagra /etc/ssh/sshd_config Find the canadian pharmacy online Under lightening it been and this are. Floor cialis logo Both THRILLED just will and greasy don’t all 80’s cialis over the counter found. They Amazon the has a of? Of […]

Get Hardware Information On Linux Using dmidecode Command

The tool dmidecode reads the system DMI table to display BIOS and hardware information of the server. Apart from getting current configuration of the system, you can also get information about maximum supported interface slots and memory capacity. dmidecodeis able to give information about the current RAM size on the […]

How to Kill a Process by Process Name from Ubuntu Command Line

There are a number of ways to kill a process if you know the name of the process. Here’s a couple different ways you can accomplish this. We are going to assume that the process we are trying to kill is named irssi   kill $(pgrep irssi) killall -v irssi pkill […]

How To Split A Large Files To Multiple Parts Using “tar”

Process to split file Here you have to use two extra command line options to split the file over multiple parts. The standard syntax are -M (–multi-volume) which tells Tar you want to split the file over multiple files. Then you need to tell Tar how big that file is, […]

PleskFatalException Unable to connect to database

When a Plesk server exceeds the allotted Mysql connections, you will see the “Mysql: Too many connections” error message while accessing the Plesk control panel instead of the login prompt. The temporary solution is to restart the Mysql service, and the permanent solution is to increase the “max_connections”. ERROR: PleskFatalException […]

Bash Shell Count Number of Characters In a String or Word

How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell? You can use UNIX / Linux command such as sed, grep, wc or bash shell itself to count number of characters in a string or word […]

PureFtp + Not able to list more than 2000 files

Problem: Not able to list more than 2000 files in a directory using Ftp. Solution: The pure-ftp by default limit maximum number of # files to be displayed to 2000. So edit your pureftpd configuration file which is at /etc/pure-ftpd.conf and change the line LimitRecursion 2000 8 to LimitRecursion 5000 […]

Linux : How to run a command when boots up?

Other distribution provided the file called /etc/rc.local but Debian does not use rc.local to customize the boot process. You can use simple method as follows to customize it. (A) Execute command at system startup Let us assume you would like to run command called i) Create a script called mystartup.sh […]