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,”...
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,”...
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...
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...
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...
By default the system volume group holds only one disk. If you tried to add another disk then you might be received like below error. Existing space in system volume group # vgs /dev/cdrom: open failed: No medium found VG #PV...
At frequent intervals, cpu will be utilized high however sometimes you can’t find which process is consuming. Below commands will help you to find top consuming cpu processes. [root@rhel6-1 ~]# ps -eo pcpu,args --sort=-%cpu | head...
SSH (Secure Shell) is a network protocal which allow users to connect the remote computers securely from unsecured network to administer the system. Using this protocol, you can transfer the files between the systems using the SCP protocol. If...
SSH (Secure Shell) is a network protocal which allow users to connect the remote computers securely from unsecured network to administer the system. Using this protocol, you can transfer the files between the systems using the SCP protocol. If...
To download the all rpm’s of particular release from Red Hat portal then server should be running with that release and registed with Red Hat portal. To Download the RPM’s for Red Hat 5 : # reposync --gpgcheck -l --repoid=rhel-x86_64-server-5...
Swap space in Linux is utilized when the usage of physical memory (RAM) is full. When the physical memory is full and if the resources needs more memory then the inactive pages in memory are moved to the swap space. Swap space is not a...