tips and trick part 7

I found some interesting commands at the internet,

1. Google query for finding ebook or files directly
-inurl:htm -inurl:html intitle:"index of" +("/ebooks"|"/book") +(chm|pdf|zip) +"Solaris 10"

2. How to kill a session in linux
kill -9 `ps -u herwidodok | grep -v PID | awk '{ printf ("%s ", $1); }'`

3. How to create an iso file
mkisofs -JR -joliet-long -V my_label -o my_iso_file.iso /path/the/folder/you/want/to/create/an/iso
4. find string inside lot of file in a folder
find . -type f | grep "check_nrpe"


Popular posts from this blog

authentication failure using SSH pam_unix(sshd:auth): authentication failure;

Howto configure SPLUNK Universal Forwarder

openvpn howto make OCSP server using OpenSSL [Part2]