- Melihat Port yang terbuka (Open/Listening)
root@ns:/home/it# netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 796/slapd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 843/php-fpm.conf) tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1026/apache2 tcp 0 0 172.16.16.106:53 0.0.0.0:* LISTEN 745/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 745/named tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 585/sshd tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 968/(squid) . . . root@ns:/home/it# netstat -tulpn | grep :3128 tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 968/(squid) root@ns:/home/it# netstat -tulpn | grep squid tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 968/(squid) udp 0 0 0.0.0.0:59683 0.0.0.0:* 968/(squid)
- Mencari daftar file atau folder tertentu di dalam suatu folder. Misal contoh di bawah ini mencari file dan folder "netbeans" dan "java" di dalam folder root "/" :
it916@planning-ho-pc:~$ find / -name netbeans 2> /dev/null /home/it916/.cache/netbeans /home/it916/.netbeans/8.1/config/Preferences/org/netbeans /usr/share/menu/netbeans /usr/share/lintian/overrides/netbeans /usr/share/doc/netbeans /usr/share/maven-repo/org/netbeans /usr/share/netbeans /usr/share/netbeans/java5/sources/org/netbeans /usr/share/netbeans/8.1/bin/netbeans /usr/share/netbeans/ide14/docs/org/netbeans /usr/bin/netbeans it916@planning-ho-pc:~$ find / -name java 2> /dev/null /etc/ssl/certs/java /etc/alternatives/java /etc/apparmor.d/abstractions/ubuntu-browsers.d/java /var/lib/dpkg/alternatives/java /home/it916/.cache/netbeans/8.1/index/s21/java /home/it916/.cache/netbeans/8.1/index/s26/java /home/it916/.cache/netbeans/8.1/index/s11/java /home/it916/.cache/netbeans/8.1/index/s8/java /home/it916/.cache/netbeans/8.1/index/s17/java /home/it916/.cache/netbeans/8.1/index/s9/java /home/it916/.cache/netbeans/8.1/index/s6/java /home/it916/.cache/netbeans/8.1/index/s16/java /home/it916/.cache/netbeans/8.1/index/s1/java /home/it916/.cache/netbeans/8.1/index/s2/java /home/it916/.cache/netbeans/8.1/index/s13/java /home/it916/.cache/netbeans/8.1/index/s3/java /home/it916/.cache/netbeans/8.1/index/s27/java /home/it916/.cache/netbeans/8.1/index/s19/java /home/it916/.cache/netbeans/8.1/index/s5/java /home/it916/.cache/netbeans/8.1/index/s7/java /home/it916/.cache/netbeans/8.1/index/s25/java /home/it916/.cache/netbeans/8.1/index/s22/java /home/it916/.cache/netbeans/8.1/index/s23/java /home/it916/.cache/netbeans/8.1/index/s10/java /home/it916/.cache/netbeans/8.1/index/s12/java /home/it916/.cache/netbeans/8.1/index/s20/java /home/it916/.cache/netbeans/8.1/index/s18/java /home/it916/.cache/netbeans/8.1/index/s15/java /home/it916/.cache/netbeans/8.1/index/s4/java /home/it916/.cache/netbeans/8.1/index/s14/java /home/it916/.cache/netbeans/8.1/index/s24/java /home/it916/.netbeans/8.1/config/Preferences/org/netbeans/modules/java /usr/lib/jvm/java-8-openjdk-amd64/bin/java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java /usr/share/java /usr/share/bash-completion/completions/java /usr/share/lintian/data/java /usr/share/doc/openjdk-8-jre-headless/api/java /usr/share/doc/openjdk-8-jre-headless/api/org/omg/stub/java /usr/share/doc/openjdk-8-jre-headless/jre/api/plugin/dom/com/sun/java /usr/share/doc/openjdk-8-jre-headless/jre/api/accessibility/jaccess/spec/com/sun/java /usr/share/maven-repo/net/java /usr/share/netbeans/8.1/java /usr/bin/java
- Next
Jumat, 10 Juli 2015
Daftar Perintah Linux
Rabu, 08 Juli 2015
Cara Install phpVirtualBox di CentOS 7
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
UNDER CONSTRUCTION
Langganan:
Postingan (Atom)