netstat -tlnp | grep 8080
netstat -tlnp | grep java
Friday, April 16, 2010
List all installed jre linux
/usr/sbin/update-alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
* 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
+ 2 /usr/java/jdk1.6.0_18/bin/java
Enter to keep the current selection[+], or type selection number:
Posted by iCehaNgeR's hAcK NoteS at 3:19 PM 0 comments
Thursday, March 25, 2010
Find the large hidden files in your file system
find {/path/to/yourdirectory} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
where $8 will show your directory and $5 size of the directory.
Posted by iCehaNgeR's hAcK NoteS at 5:43 PM 0 comments
Friday, January 1, 2010
Desprado Song
Desperado, why don't you come to your senses? You been out ridin' fences for so long now Oh, you're a hard one I know that you got your reasons These things that are pleasin' you Can hurt you somehow Don' you draw the queen of diamonds, boy She'll beat you if she's able You know the queen of hearts is always your best bet Now it seems to me, some fine things Have been laid upon your table But you only want the ones that you can't get Desperado, oh, you ain't gettin' no youger Your pain and your hunger, they're drivin' you home And freedom, oh freedom well, that's just some people talkin' Your prison is walking through this world all alone Don't your feet get cold in the winter time? The sky won't snow and the sun won't shine It's hard to tell the night time from the day You're loosin' all your highs and lows Ain't it funny how the feeling goes away? Desperado, why don't you come to your senses? Come down from your fences, open the gate It may be rainin', but there's a rainbow above you You better let somebody love you, before it's too late
Posted by iCehaNgeR's hAcK NoteS at 10:07 AM 20 comments
Subscribe to:
Posts (Atom)