Linux

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 »

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 »

How to Find Server Public IP Address in Linux Terminal

root@test:/var/log/nginx# wget -qO – icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx# wget -qO- http://ipecho.net/plain | xargs echowww.xxx.yyy.zzzroot@test:/var/log/nginx# wget -qO – icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx# curl icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx#

How to Find Server Public IP Address in Linux Terminal 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