Wednesday, January 15, 2014

Linux hints

touch
vi
which

The path variable is very important, the applications run from there


to test the network
ping google.com
ping 8.8.8.8
ping the server name
telnet ip portNumber

The library path is in
/etc/ld.so.conf.d/anytextfile.conf
echo /usr/local/lib > /etc/ld.so.conf.d/foo.conf

use ldconfig -v

ldconfig to update all the libraries

service --status-all
pidof appname
kill 2951
ps aux


rpm -qp --scripts path/to/rpm/file

to create a symbolic link

ln -s path/to/the/file link_name





No comments:

Post a Comment