From the category archives:

Sys Admin

How To Clear Shell History On Centos / RedHat

by lifeLinux on August 22, 2011

To clear shell history, type the following command: $ history -c Or remove .bash_history file $ rm -rf ~/.bash_history

{ 1 comment }

How To Display All Cron Jobs On Linux

by lifeLinux on August 22, 2011

Using cron is via the crontab command which allows you to view or edit your crontab file, which is a per-user file containing entries describing commands to execute and the time(s) to execute them.

{ 0 comments }

There’s a simple command to automatically check, repair and optimize all tables in all databases when you’re running a MySQL server on Linux / Unix / BSD. mysqlcheck -u{username} -p{password} –check –optimize –auto-repair –all-databases

{ 0 comments }

How To Extract RAR Files Under Linux

by lifeLinux on May 30, 2011

RAR stands for Roshal ARchive. It is a proprietary archive file format that supports data compression, error recovery, and file spanning. It was developed by a Russian software engineer, Eugene Roshal (the first letter of his surname contributing to the name of the archive format), and is currently licensed by win.rar GmbH.

{ 1 comment }

How To Find The Linux Kernel Version ?

by lifeLinux on May 30, 2011

To find the linux kernel version, you should login and type the following command $ uname -r

{ 0 comments }

Displaying line numbers in vi/vim can be very useful for debugging code errors and to improve overall readability of a program. For example, if we are writing C program or Shell script and want to check coding mistakes after running or compiling it, turning on or off this feature may help a lot to identify […]

{ 0 comments }

How To Mount A ISO Image Under Linux

by lifeLinux on May 27, 2011

An ISO image (International Organization for Standardization) is an archive file (also known as a disc image) of an optical disc, composed of the data contents of every written sector of an optical disc, including the optical disc file system. ISO images can be created from optical discs, or can be used to recreate optical […]

{ 0 comments }