On 09:32:44 Dec 19, Bharathi Subramanian wrote: > One Day One GNU/Linux Command > ============================= > > ldd -- Print shared Library DepenDencies. > > Summary: > > Most of the programs/libraries are linked to shared libraries, like > libc, etc. If a particular shared library, needed by a program, is > not present in the system, then that program will not run. > > ldd command is used to print the shared libraries required by each > program or shared library specified on the command line. > > Examples: > > $ ldd /bin/ls -- Print all shared libs needed for the ls command. > > $ ldd -v /bin/ls -- Same as above + Extra version details. > > $ ldd /lib/libtermcap.so.2 -- Print all shared libs needed for this > library. >
This is a good trick. $ ldd `which bash` so you don't need the complete path. Use backticks and not apostrophe. ;) -Girish _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
