Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Wednesday, February 16, 2011

Useful linux commands

1. List the JAVA processes running on linux:

          ps -ef | grep java | awk '{print $2 "  "  $8}'

     Result:
         
           2070  /opt/Portal61/WebSphere/AppServer/java/bin/java
           7440  /opt/IBM/WebSphere/AppServer61/java/bin/java
           8952  /usr/java/jdk1.5.0_11/bin/java

Open windows share folder on linux

Mount:

mount -t cifs -o username=jp, password=jp //192.168.183.1/doc /home/prakash/doc

Unmount:

umount -f /home/prakash/doc

WinSCP is the best tool that is used to transfer the data between windows and linux. But if we consider the transfer rate it will take much time to transfer, so, as you consider transfer rate windows share is the best one.