Let’s say you have a central authentication server in a LDAP and you successfully connect your Linux box as a client to LDAP server. Whenever you are using a particular LDAP user to login to your box, your shell get confused and change the LDAP user with a local user of your box intermittently. What is… Continue reading Enabling LDAP on Linux and local user’s session will interchange with LDAP’s user intermittently
This is a common symptom of mis behaviour of systemd-logind. I couldn’t still find-out what is really happening underneath of this service but if you experience such issues you can try to restart the service using following command sudo service systemd-logind restart and make sure to run this code on the console not just by… Continue reading After configuring Ubuntu to use LDAP ssh login become too slow
For installing Maven on Ubuntu you have two ways the easy way and the manual method. The easy way is just execute following command : sudo apt-get install maven Or if you use Ubuntu 16+ you can use following command too : sudo apt install maven Just remember you need to have root privileges. The… Continue reading How to install maven on Ubuntu manually with any specific version
There are sometimes that you want to trace an IP/Host based on a particular port to check if the port is open or not here is how you can do that : traceroute -T -p 25 yoursite.com Breakdown : -T indicates to use TCP instead of UDP -p checks specific port
Installing Java JDK is easy and straightforward in Windows and OSX but not in Ubuntu. Here is how I am installing JDK on Ubuntu. Download the latest JDK package from Oracle website. If you don’t know which file to choose you ought to select .tar.gz files whether 32bit or 64bit depends on your requirements. after… Continue reading How to install JDK on Ubuntu
The $? is called exit code of an application used to run. As an example type following commands in console: top then press CTRL-Z and then type: echo $? You will see 147 as the answer. Return values more than 128 usually means signal and you have to do the calculation by subtracting 128 from… Continue reading What does $? mean in linux?