Linux Basics for Big Data

67 / 87
Readlink Command

Also, to deference original file of a symbolic link, you can use readlink command. A file is a symbolic link which is again symbolic, you can use -f command.


What is the actual location of java program on CloudxLab?


readlink -f /usr/bin/java
  • It is /etc/alternatives/java
  • /usr/bin/java
  • Java is not installed
  • It is something like: /usr/lib/jvm/java-1.8.0-openjdk-