Linux

CentOS vs. Debian: Deciphering the Linux Duel

Explore the realms of CentOS and Debian, two titans in the Linux universe. Dive into their histories, strengths, and ideal use cases to make an informed decision on your next Linux adventure. Whether you’re drawn to enterprise reliability or open-source freedom, this guide unveils all.

Ubuntu vs. Fedora

Ubuntu vs. Fedora: A Comparative Analysis When diving into the vast world of Linux distributions, two names often stand out for desktop users – Ubuntu and Fedora. Both are immensely popular and have their unique strengths. In this post, we’ll delve deep into both distributions, comparing them side-by-side to help you decide which one might …

Ubuntu vs. Fedora Read More »

Send Mail Using Amazon EC2 Instance

Prerequisites Before we get started, you will need the following: Step 1: Install Postfix Postfix is an open-source mail transfer agent that can be used to send emails from a Linux machine. To install Postfix on your Amazon EC2 instance, run the following command: After the installation is complete, edit the Postfix configuration file /etc/postfix/main.cf and add …

Send Mail Using Amazon EC2 Instance Read More »

passwd: Authentication token manipulation error | RHEL 6

authentication token manipulation error is common error we use to get frequently. The problem described as below- Getting passwd: Authentication token manipulation error on  RHEL6 Machine. [root@ip-linuxbox~]# passwd user1Changing password for user user1.New password:Retype new password:passwd: Authentication token manipulation error [root@ip-linuxbox~]# passwd -u user1 [Tried to unlock the account password.] Unlocking password for user user1.passwd: …

passwd: Authentication token manipulation error | RHEL 6 Read More »

File System shows 100% occupied but du tells different and still has Unused Spaces.

We have faced an issue as below mentioned – found /oracle mount-point showing 100% as Used. But getting different size values for folders under /oracle mount-point, when we executed du -gs . bash-4.4# df -gFilesystem GB blocks Free %Used Iused %Iused Mounted on/dev/hd4 4.00 1.39 66% 20686 6% //dev/hd2 4.00 1.02 75% 45679 16% /usr/dev/hd9var …

File System shows 100% occupied but du tells different and still has Unused Spaces. Read More »

sed to play with data or parsing your text

To select all the lines starting from STARTING_PATTERN up to  blank line ^$ and then delete those lines. # sed ‘/STARTING_PATTERN/,/^$/d’ filename To edit files in place, use -i option. # sed -i ‘/STARTING_PATTER/,/^$/d’ filename Insert multiple lines into a file after specified pattern. # sed ‘/cdef/r add.txt’ input.txt # sed ‘/cdef/r add.txt’ input.txt input.txt:abcdaccdcdeflineweb …

sed to play with data or parsing your text Read More »

Usefull Linux Commands for SAN LUN allocation in RHEL

ls -l /dev/disk/by-* | grep lun-31 ls -l /dev/disk/by-* | grep lun-33 ls -l /dev/disk/by-* | grep lun-20 ls -l /dev/disk/by-* | grep lun-10 cat /sys/class/fc_transport/*/node_name grep 50060160bee045be /sys/class/fc_transport/*/node_name lsscsi ./inq.LinuxAMD64 -clariion multipath -ll df -h cat /etc/fstsb cat /etc/fstab multipath -ll | grep mpathg ls -ltr /data* ls -ls /data* ls -ld /data* df …

Usefull Linux Commands for SAN LUN allocation in RHEL Read More »

Scroll to Top