EZ Linux Admin random header image

Entries Tagged as 'Linux Commands'

Clear bash history in Linux

August 14th, 2012 by EZ linux · No Comments

history -c

Click to continue →

Tags: Linux Commands · Linux Security · Linux Tricks

Change the language on Linux with a command

June 7th, 2012 by EZ linux · 1 Comment

It’s easy just run this command and than choose a language: system-config-language

Click to continue →

Tags: Cheat Sheets · Installing Linux · Linux Commands · Linux Software / Scripts · Linux Tricks

Cpanel branding bug

June 4th, 2012 by EZ linux · No Comments

As you would know if you have tried to brand cpanel with their fairly new tool it sometimes doesn’t apply the changes or sometimes only some images stick. Considering this is a two year old bug I wouldn’t count on it getting fixed soon. Luckily the fix is easy. Just login as root and run [...]

Click to continue →

Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts

VI basic basics

May 14th, 2012 by EZ linux · No Comments

Starting: vi filename          edit filename starting at line 1 vi -r filename     recover filename that was being edited when system crashed Exiting: :x<Return>     quit vi, writing out modified file to file named in original invocation :wq<Return>     quit vi, writing out modified file to file named in original invocation :q<Return>    [...]

Click to continue →

Tags: Cheat Sheets · Linux Commands · Linux Software / Scripts

How to install CPanel over Centos 6 minimal

May 13th, 2012 by EZ linux · No Comments

To install CPanel over Centos minimal 6 you need to get some basic packages. You can easily grab those with YUM here is the package command to get Centos Minimal install ready for CPanel. yum groupinstall base

Click to continue →

Tags: Cpanel and WHM · Installing Linux · Linux Commands · Linux Operating Systems · Linux Software / Scripts · Linux Tricks

kill a linux process that won’t die

February 3rd, 2012 by EZ linux · No Comments

kill -s 9 [PID] Also try it without the -s if it won’t go.

Click to continue →

Tags: Linux Commands · Linux Operating Systems · Linux Security · Linux Software / Scripts · Linux Tricks

How to search a directory for a certain search string.

January 23rd, 2012 by EZ linux · No Comments

Pretty simple, this takes minimal load and delivers the data as it’s found. grep -R String *

Click to continue →

Tags: Linux Commands · Linux Software / Scripts · Linux Tricks

Tracking down the biggest folders

August 11th, 2011 by EZ linux · No Comments

du -ax –max-depth 1 /var/cpanel | sort -n | tail This is a great command to simply find what folders are the biggest in a directory. You can replace the /var/cpanel with any folder and it will list everything in there and how big they are in order. Once you find the big folder then [...]

Click to continue →

Tags: Cheat Sheets · Cpanel and WHM · Linux Commands · Linux Security · Linux Software / Scripts · Linux Tricks

Clear bash history through ssh command line

May 30th, 2010 by EZ linux · 1 Comment

history -c

Click to continue →

Tags: Linux Commands

Path to date

May 24th, 2010 by EZ linux · No Comments

The server path to date can very for different servers, you will need to run this command to find it: which date For most servers it is: /bin/date This is the same for perl and php

Click to continue →

Tags: Cheat Sheets · Linux Commands · Linux Operating Systems