You are Browsing Linux News

by admin 2 years ago

How to redirect standard output and error to a file.

1. To redirect standard output to a file This will redirect the content of /etc/issue to a file /tmp/issue.txt # cat /etc/issue > /tmp/issue.txt To redirect the output to a file which is already having a content and don’t want...

by admin 3 years ago

How to configure Network Bonding

Network bonding is aggregation of multiple network interfaces to single interface for load balancing, high availability, fault tolerance etc., This can be achieved by using the kernel module bonding. By default this will not loaded which...

by admin 3 years ago

Useful SAR commands

An abbreviation of SAR is System Activity Reporter which is an important tool for system administrators to get the performance overview of the server at different point of time. Using sar commaned, we can know the cpu, memory , disk etc,...

by admin 3 years ago

Useful Vim Commands

What is Vim ? Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is often called a “programmer’s editor,”...

by admin 3 years ago

How to extend the LVM Partition / Resizing lvm partion

If required space is not available in the VG then request Vmware or SAN team for a new disk. To Extend the lvm partion, we need to have free space in volume group. This can be verified from the vgs command. # vgs VG #PV #LV #SN Attr...

by admin 3 years ago

Find command with some examples

Find command is available by default in most of the Linux distros so you don’t need to install any packages to get this command. Find command is very useful to search it for a particular file based on various search criteria like...

by admin 3 years ago

How to encrypt and decrypt the file in Linux

Sometimes you may need to send a important files as a attachment thru emails. Better if the files was sent in encryption mode then unauthorized person can’t misuse the file. Now we will see here how to encrypt and decrypt the file...