Sudo lsof -i -P -n | grep LISTEN

sudo lsof -i -P -n | grep LISTEN

post the output

Attached: images.jpg (225x225, 9K)

sudo: lsof: command not found

There's no output at all

Only port 22 running sshd bro.

Why not netstat -tulpn ?

sudo?

# lsof -Pni | awk '/\(LISTEN\)$/{print $1}'
xinetd
xinetd
sshd
sshd
java
java
java
java

okay

Attached: i don't get it.png (979x512, 24K)

Obviously, one would view the man page for that command before simply using the command as posted by OP.

>cmdlet
MS knows their audience.

~ >>> sudo lsof -i -P -n | grep LISTEN
dnsmasq 776 nobody 5u IPv4 1732685 0t0 TCP 127.0.1.1:53 (LISTEN)
clickhous 1094 clickhouse 8u IPv6 28565 0t0 TCP [::1]:8123 (LISTEN)
clickhous 1094 clickhouse 9u IPv6 28566 0t0 TCP [::1]:9000 (LISTEN)
clickhous 1094 clickhouse 10u IPv6 28567 0t0 TCP [::1]:9009 (LISTEN)
clickhous 1094 clickhouse 11u IPv4 28568 0t0 TCP 127.0.0.1:8123 (LISTEN)
clickhous 1094 clickhouse 12u IPv4 28569 0t0 TCP 127.0.0.1:9000 (LISTEN)
clickhous 1094 clickhouse 13u IPv4 28570 0t0 TCP 127.0.0.1:9009 (LISTEN)
cupsd 1108 root 9u IPv6 26849 0t0 TCP [::1]:631 (LISTEN)
cupsd 1108 root 10u IPv4 26850 0t0 TCP 127.0.0.1:631 (LISTEN)
redis-ser 1757 redis 4u IPv4 28518 0t0 TCP 127.0.0.1:6379 (LISTEN)

>127.0.0.1
Hacking you right now. Nothing personel kiddo.

Powershell is not cmd, unixcuck.

Eclipse listening on :49895. Weird.
other than that, got docker running a java process at :8080

nginx, sshd and srcds

Probably remote debugging or something.

sshd 1064 root 3u IPv4 25213 0t0 TCP 23.66.18.35:22 (LISTEN)
sshd 1064 root 4u IPv4 25215 0t0 TCP 23.66.18.35:22 (LISTEN)
rsh 2052 root 6u IPv4 35999 0t0 TCP 23.66.18.35:512 (LISTEN)

lmao

dnsmasq 1054 dnsmasq 7u IPv4 10304 0t0 TCP 10.46.4.1:53 (LISTEN)
dnsmasq 1054 dnsmasq 9u IPv4 10306 0t0 TCP 127.0.0.1:53 (LISTEN)
dnsmasq 1054 dnsmasq 11u IPv6 10308 0t0 TCP [::1]:53 (LISTEN)
sshd 1207 root 3u IPv4 7054 0t0 TCP *:22 (LISTEN)
sshd 1207 root 4u IPv6 7056 0t0 TCP *:22 (LISTEN)

nice thanks bro

Henlo friendly dataminer, I have ssh and tor running. Thanks for reminding me to disable root login for ssh

>'sudo' is not recognized as an internal or external command,
operable program or batch file.

I've got sshd, steam, dnsmasq for libvirt and my own project I'm not willing to show here on 4chans.
It's your own damn fault if you don't know how to sort out both internal and external port security.

disabling root isnt the first thing you do hahahaha what a fuckin scrub. youre begging for someone to root your box bro

104.75.212.30

ok nigger
mongod 3686 mongodb 11u IPv4 31219683 0t0 TCP 127.0.0.1:27017 (LISTEN)
mysqld 4795 mysql 20u IPv6 38196913 0t0 TCP *:3306 (LISTEN)
grafana-s 17616 grafana 6u IPv6 2120505 0t0 TCP *:3000 (LISTEN)
mpd 21710 mirco 11u IPv6 33010926 0t0 TCP *:6600 (LISTEN)

>people willingly posting their ip addresses on Jow Forums
is there something I'm missing or are they stupid as fuck?

lmao there's only one non-private ip and it's probably a honeypot dumbass

oops...
subnet class B clever.
>104.75.212.30
OrgName: Akamai Technologies, Inc.
OrgId: AKAMAI
Address: 150 Broadway
City: Cambridge
StateProv: MA
PostalCode: 02142
Country: US

Attached: hqdefault.jpg (480x360, 12K)

>DNS:2017dodtransition.defense.gov, DNS:actuary.defense.gov, DNS:afd.defense.gov, DNS:afpimstest-www.nsa.gov, DNS:archive.defense.gov, DNS:armedforcessports.defense.gov, DNS:atsdio.defense.gov, DNS:basicresearch.defense.gov, DNS:business.defense.gov, DNS:cmo.defense.gov, DNS:comptroller.defense.gov, DNS:ctip.defense.gov, DNS:dacowits.defense.gov, DNS:data.defense.gov, DNS:dbb.defense.gov, DNS:dcips.defense.gov, DNS:dcmo.defense.gov, DNS:diversity.defense.gov, DNS:dod.defense.gov, DNS:dodcertpmo.defense.gov, DNS:dodcio.defense.gov, DNS:dodsioo.defense.gov, DNS:dpcld.defense.gov, DNS:dpclo.defense.gov, DNS:energy.defense.gov, DNS:execsec.defense.gov, DNS:financialreadiness.defense.gov, DNS:history.defense.gov, DNS:innovation.defense.gov, DNS:irt.defense.gov, DNS:jamrs.defense.gov, DNS:jnlwp.defense.gov, DNS:jsc.defense.gov, DNS:kb.defense.gov, DNS:la.defense.gov, DNS:m.nsa.gov, DNS:militarypay.defense.gov, DNS:minerva.defense.gov, DNS:nmio.ise.gov, DNS:nsa.gov, DNS:oig.nsa.gov, DNS:opa.defense.gov, DNS:open.defense.gov, DNS:ousdi.defense.gov, DNS:policy.defense.gov, DNS:prhome.defense.gov, DNS:ra.defense.gov, DNS:rfpb.defense.gov, DNS:rwtf.defense.gov, DNS:servicedesk.defense.gov, DNS:valor.defense.gov, DNS:vwac.defense.gov, DNS:www.business.defense.gov, DNS:www.businessdefense.gov, DNS:www.defense.gov, DNS:www.dod.defense.gov, DNS:www.dod.gov, DNS:www.dodnafaccounting.defense.gov, DNS:www.inherentresolve.mil, DNS:www.nsa.gov, DNS:www.pentagon.gov, DNS:www.whs.mil

do you act this tough in real life too?

Well that's a skid post if I've ever seen one. The box in question isn't even internet facing. I never even mentioned anything to do with security, faggot.

Kudos if you've also pwnd some boxes, you are a white man aren't you?

>java
>java
>java
>java

Attached: Mano_500x500.jpg (500x500, 55K)

~ % sudo lsof -i -P -n | grep LISTEN
yash: no such command `sudo'
~ %

B starts from 172.16.0.0 ya scrub

it dosent matter its only numbers
and the network range is 104.64.0.0 - 104.127.255.255
means its 255.255.0.0 subnetmask

got a mistake before you crucify
me your right is not b its more like between a-b
255.192.0.0

Class B refers to internal networking, while 104.64.00 clearly is not.

dude its refers to SUBNETMASK
stop being a fucking retard
it dosent matter if it is a privet or public ip

netstat is deprecated.
Use ss

>sudo'ing anything posted on Jow Forums
yeah how about no

sshd 844 root 3u IPv4 24430 0t0 TCP *:22988 (LISTEN)
dnsmasq 853 dnsmasq 5u IPv4 25189 0t0 TCP *:53 (LISTEN)
upsd 861 ups 4u IPv4 21989 0t0 TCP 127.0.0.1:3493 (LISTEN)
qbittorre 13856 user 23u IPv4 330673204 0t0 TCP *:9001 (LISTEN)
cupsd 28339 root 8u IPv4 137602444 0t0 TCP 127.0.0.1:631 (LISTEN)


Now what?

Based doas user
How is yash? Is it worth using over mksh?

Wouldn't surprise me

Don't mind me, just bloatmaxxing
systemd
mpd
sshd
sshd
dnsmasq
pulseaudi
pulseaudi
play-with
kdeconnec
cupsd
cupsd

doas is indeed very comfy. the configuration syntax takes literal seconds to figure out and is less bloated than sudo.

>How is yash? Is it worth using over mksh?
depends, if you're comfortable using mksh, stick with it.
i've been using zsh for the comfy customizations and completion, dash for the speed. yash replaced both for me, it's smaller, has zsh-like completion+customization and is strictly posix 2016 compliant when called as sh. my system boots way faster when /bin/sh is yash --posix instead of bash.

rpcbind 1650 root 8u IPv4 10135 0t0 TCP *:111 (LISTEN)
rpcbind 1650 root 11u IPv6 10138 0t0 TCP *:111 (LISTEN)
rpc.statd 1678 statd 8u IPv4 2020 0t0 TCP *:47593 (LISTEN)
rpc.statd 1678 statd 10u IPv6 2024 0t0 TCP *:39049 (LISTEN)
smbd 2504 root 33u IPv6 18553 0t0 TCP *:445 (LISTEN)
smbd 2504 root 34u IPv6 18554 0t0 TCP *:139 (LISTEN)
smbd 2504 root 35u IPv4 18555 0t0 TCP *:445 (LISTEN)
smbd 2504 root 36u IPv4 18556 0t0 TCP *:139 (LISTEN)

0000000 044516 043507 051105 020123 047524 043516 042525 046440
0000020 020131 047101 051525 000012
0000027

systemd 1 root 52u IPv4 25406 0t0 TCP 127.0.0.1:53 (LISTEN)
cupsd 1031 root 10u IPv4 34377 0t0 TCP 127.0.0.1:631 (LISTEN)
dnscrypt- 1151 dnscrypt-proxy 7u IPv4 25406 0t0 TCP 127.0.0.1:53 (LISTEN)
dnsmasq 1355 dnsmasq 6u IPv4 39989 0t0 TCP 192.168.122.1:53 (LISTEN)
Discord 28270 user 77u IPv4 586949 0t0 TCP 127.0.0.1:6463 (LISTEN)

... Huh.

Kek
You made my day

>redis
Hell yeah

sshd
sndiod
transmission
obhttpd
smbd

Attached: my sides.jpg (1280x720, 44K)

Is it faster in --posix mode than without? I can only find one benchmark of yash.
>has zsh-like completion+customization
I've never customized my completion for mksh, so this is interesting. But writing yash completions looks like a big pain.

You're both wrong

>needing sudo
>not logging on and running everything as root

>Is it faster in --posix mode than without?
i believe it just disables functionality of the yash specific extensions like curly bracket, arrays etc. to make it strictly posix.
>I can only find one benchmark of yash.
i'm using sysvinit-2.95 and have rewritten the entire init structure of linux from scratch provided scripts, made them posix and removed a lot of functionality i don't need to make them simpler. with bash-5.0.0 symlinked as /bin/sh, my boot time is 14 seconds, with yash in posix mode, it's 8 seconds. from grub that is. i don't know how i can properly test this in a scientific manner.
>I've never customized my completion for mksh, so this is interesting.
the way you tab through the contents of the dirs and items in your PATH is exactly like how a oh-my-zsh'd zsh-4+, functionality is provided by curses. i didn't struggle much about flag specific stuff as i only need the make and configure flags, which it sorts from the source directly like zsh does.

>with bash-5.0.0 symlinked as /bin/sh, my boot time is 14 seconds, with yash in posix mode, it's 8 seconds. from grub that is
This is very interesting. Mind telling me what the time with dash is? Preferably averaged over a few boots if you have the time. I could drop dash too if this turns out to be fast enough.
>which it sorts from the source directly like zsh does
I never used zsh, so what do you mean?

Also, good luck on your distro. I like the idea, and your patched kernel made me think about doing that to mine as well.

based windows user

Attached: pepetgynd.png (572x505, 92K)

>Mind telling me what the time with dash is?
i don't think it'd be that different. i don't have dash built currently though.
>I never used zsh, so what do you mean?
in zsh, if you press tab after let's say ../configure -- it'll bring configuration elements like enabling/disabling stuff or prefixes and directories. this one has it by default but i don't know if the zsh has it by default or is provided by oh-my-zsh since i never used zsh without it, i removed most of the functionality and moved everything into single files instead of multiple stuff scattered all over the place.
>and your patched kernel made me think about doing that to mine as well.
i have never mentioned or linked my distro here, how do you know about the meme patchset i crafted? do i know you?

>i have never mentioned or linked my distro here, how do you know about the meme patchset i crafted? do i know you?
I'm a NEET who spends a lot of time here. Sorry.

>who spends a lot of time here
i have never mentioned any of those things here before though. i just posted a screenshot in a dead desktop thread which got no replies.

i'm confused, first you called out that i was using doas, then my slapped together patchset. both were never mentioned until you brought them up and are very specific things.

I guessed (correctly) that you used doas. You posted about yash, multiple times. You posted about your distro, two times (I then looked it up). That was enough.

dnscrypt- 407 dnscrypt-proxy 6u IPv4 19393 0t0 TCP 127.0.0.1:53 (LISTEN)
dnscrypt- 407 dnscrypt-proxy 8u IPv6 19396 0t0 TCP [::1]:53 (LISTEN)
qbittorre 647 user 37u IPv6 23863 0t0 TCP *:8999 (LISTEN)
qbittorre 647 user 38u IPv4 23864 0t0 TCP *:8999 (LISTEN)

sshd
sshd
nginx
nginx
nginx
nginx
exim4
exim4
irssi
rtorrent
rtorrent
tor
tor
uwsgi
nginx
nginx
nginx
nginx

cupsd TCP [::1]:631 (LISTEN)
cupsd TCP 127.0.0.1:631 (LISTEN)
code 127.0.0.1:38736 (LISTEN)
code 127.0.0.1:3912 (LISTEN)
code 127.0.0.1:48699 (LISTEN)
node 127.0.0.1:8080 (LISTEN)
docker-pr *:6379 (LISTEN)
docker-pr *:5432 (LISTEN)
node *:8081 (LISTEN)
node *:5000 (LISTEN)

I miss the Real Jordan®™

Attached: 530x242_8.59KB-6_poop-nq8.png (610x322, 9K)

die

Live!

OP here for all those who use windows machine faggots like that one run cmd as administrator and type
netstat -ab

redis, mpd, nginx, docker, sshd

I will not, you hacker

t. tech loving retard

rēkt

systemd 1 root 70u IPv4 16360 0t0 TCP *:111 (LISTEN)
rpcbind 1305 rpc 4u IPv4 16360 0t0 TCP *:111 (LISTEN)
cupsd 1465 root 7u IPv4 38403 0t0 TCP 127.0.0.1:631 (LISTEN)
dnsmasq 1486 dnsmasq 5u IPv4 31713 0t0 TCP *:53 (LISTEN)
sshd 1487 root 3u IPv4 37212 0t0 TCP *:22 (LISTEN)
master 1725 root 13u IPv4 41467 0t0 TCP 127.0.0.1:25 (LISTEN)
kdeconnec 2005 FAGGOT 13u IPv4 39701 0t0 TCP *:1716 (LISTEN)

>clickhouse
Isn't that marketing tracking shit?

what am I looking at here? I have the nobody thing too.

Unironically epic