To view the list of commands executed by the user.
To view the total history size in the server
# echo $HISTSIZE
To modify the total history size in the server. for eg I’m going to set the history size to 1500
Normally, we will login to the remote server using user name and password at the time of authentication.
But here, we can login to the remote server without knowing user name and password of the server using ssh keys. This will be helpful...
Request vmware team to provide the new disk to VM
# cat /proc/partitions
major minor #blocks name
253 0 20971520 vda
253 1 104391 vda1
253 2 20860402 vda2
252 0 18776064 dm-0
252 1 2064384 dm-1
If the system is registered to Red Hat Satellite Manager run below commands
# subscription-manager clean
If the system is registered to Red Hat Network Classic method then remove or move the systemid file from /etc/sysconfig/rhn/systemid...
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
/dev/cdrom: open failed: No medium found
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,”...
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...
The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities,...
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.
VG #PV #LV #SN Attr ...