How to extract RPM package on Linux system
|

How to extract RPM package on Linux system

In this tutorial we will learn, how to extract RPM package on Linux system. Extracting the rpm has one the important command and it will surely help you in System Administration. Many times I solved some problem which is caused by file corruption of particular package. Here is the story from my experience.One day,my colleague…

How to free pagecache, dentries and inodes from memory on linux
|

How to free pagecache, dentries and inodes from memory on linux

In this tutorial we will learn,how to free pagecache, dentries and inodes from memory on linux systems. The linux system is quite capable to manage the memory itself.Sometimes we require to flush the cache from memory in linux system . On writing the file /proc/sys/vm/drop_caches cause the kernel to drop clean caches, dentries and inodes…

Yum command to download rpm file without installing in linux system
|

Yum command to download rpm file without installing in linux system

In this tutorial,we will learn how to use yum command to download rpm file without installing in linux system.It was before RHEL 5 arrival, when I used to download the source rpm packages by using up2date -d package-name Now things are changed,in Red Hat based Operating System above version 5.x . We use the yum…

How to read logs which are writing continuously : LINUX/UNIX

How to read logs which are writing continuously : LINUX/UNIX

Question : I am newbie in Linux.I have a question,How to read logs which are writing continuously.I am using the Linux CentOS Server and wants to read the mail.log which is filling continuously.I just want to read the logs at the same time,when log file writing is running Answer: To read the file which are…

grep command to show lines after and before the keyword
|

grep command to show lines after and before the keyword

In this post,I am sharing a useful option with linux grep command.In this tutorial, we will use grep command to show lines after and before the keyword . As a Linux System Engineer, sometimes I get the requirement to print lines above and below of a particular keyword in the file. Generally if you only…

learn very useful alias command with examples
|

learn very useful alias command with examples

Here in this post,we will learn very useful alias command with examples.In linux and Unix like operating system,mainly we use the alias command to shorten the long command.It is something like instead of writing long command in terminal,you type a few letters on terminal and your desired command get run. To understand the meaning of…

Install libjpegtran by using yum command in CentOS 6.x
|

Install libjpegtran by using yum command in CentOS 6.x

In this tutorial we will learn,how to install libjpegtran by using yum command in CentOS 6.x. The libjpegtran is mainly used for optimizing the jpeg and jpg format files.This utility compress an image without losing the quality of file. If you are running a website which has lots of jpeg/jpg file, which may take time…

man command not found in CentOS and Red Hat

man command not found in CentOS and Red Hat

Manual pages are software documentation found in Unix like Operating system and man linux distro. To get the information about package and command, we use the syntax yum install Package_name-Command_name.The abbreviation of Manual Page is man page . When you work in Unix like operating system,we generally need help and information about the package and…

Linux: Set user password by using encrypted password in command
|

Linux: Set user password by using encrypted password in command

In this tutorial we will learn about how to set user password by using encrypted password in command line.We assume you already know about how to simply set/reset password of user by using command (passwd username). In this tutorial,first we will encrypt the password in python interpreter then we use the output in one liner…

Linux command to find modified and access date of file/dir/filesystem
|

Linux command to find modified and access date of file/dir/filesystem

In this tutorial we will learn about linux command to find last modified and access date of a file/dir and filesystem.The command is very useful for troubleshooting purpose. Here we will use the stat command which display file or file system status. To find the last modified and access date of a file/dir/filesystem in linux,we…