[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ifconfig --> ip, netstat --> ss, ...
- To: BerkeleyLUG <berkeleylug@googlegroups.com>
- Subject: ifconfig --> ip, netstat --> ss, ...
- From: "Michael Paoli" <Michael.Paoli@cal.berkeley.edu>
- Date: Sun, 14 Jan 2018 21:30:55 -0800
- Arc-authentication-results: i=2; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-authentication-results: i=1; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent :content-disposition:mime-version:subject:to:from:date:message-id :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=MJNCvnuKRX6D+iHGrqrzVGoMrU6kzWGGMYjOTKRbQeM=; b=HNYSrYHAmH9ybNRMKvq/odf/K7TY4aFnO6WAt4+ZuLfGChp2dO4lm2fVAa1hlUfIWS oUWJTCi1cqLd2wUKcX/STVhESNVDg7Ly1O/GKjwVm90U+X9W6z5znKUBOQnYd80cs19t v5Cq6op2FObIfhIQ2vjqw3ILMHSjz72umIF7Mo3Zfsv7LmKddQeYBLFkWoBpvtGZh1td d40j+7hvKGTTRv+SyGE1HpmXcx5wf3PD6vIDAZVR8xNrx8mhP4c0wvBR4F6fPuNAyxjD LG9ch0u0DUSF7ilRGtxxfHzZd+ZwEeTNl5Bar6fhtxCUraNdduzSY0k71HqgvKFqvMa+ cjhg==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:content-disposition :mime-version:subject:to:from:date:message-id :arc-authentication-results; bh=vHmXyUI87EUt7evTjG+q6/Bp0SdikHfvn1vIrUsZL/g=; b=swr1i1QsEte4aTawRkmQrDcYqTQJJ/SCf6vTkN2H5HOEAPE89tFiCTVMc/3yb4e7ZS j+xFZe7UK9ZVR6Mom1Opz89OJ86iC0O4TQL92LmdLvOuaUnz1UhqCiu0qwcQDPK79NGC VqxsOeJj+XnWzYlgrXnNtEmjRGLsuJtL7CcsjsANWcI01xjvA0TQRfXHaDoeabl4EyEM FiipCEqRxxe2m5Tqb4As4hphMEdN0PCB0iabJhdWOiRaNrfgXOscTmarGOiqKgZyzpZK srqZunF69rKpvYuYoMCqSK5JZas/Egbz/K/uo5U8fVABQCRJW5yJd4Zdi9rkyk0XqJcS 5HbA==
- Arc-seal: i=2; a=rsa-sha256; t=1515994257; cv=pass; d=google.com; s=arc-20160816; b=fxOc8og0dHAtJbJ1T41YcGKcrFwh1OjkGCL/Xpa77aGb3NL+KZQzx9RDrYR+HOZUGE kDZbZwZKpUzKSaae96iZhRvKUA3fICccLH0CZ+I7rdk20gR+GdGcR3hAiEf71Px/R1nk 8koFU81tnL1y1E+nTDmiBb8KTcZt+NcMcZYDNllDcIqTR7qy6ub9MrhSLP8cjeaDb4UO ucqNAQ0r/L3fMXek/TrZVW/POv7lvNdvwjfXPCef3vcGUxdXTivy/jte9XKagFWJ6Irq pYMvdTuM01iwXKJKXMYZXxqJDc/gcmS1VPK+nWDNcWgGk8y7L8qRc6lv8xywolRYaOyx Ntyw==
- Arc-seal: i=1; a=rsa-sha256; t=1515994256; cv=none; d=google.com; s=arc-20160816; b=o0QHnQTf0KglAKLdtTOexdWlSkFOFP/4M+JH2sjwWc659m8D8h3w4Hdw/VoOSiEhSp o9UhbNSH/pXJEXp67tlZF/VD0YGDZ5jV/WE/+in+fRDFqazu3LVLxbu1X4fyfTffTyPD EVSHGMn03YYmbxJAfpCyg+X4SyqMgqDBW1pV3P7URkvjUhCVyHB+XX3x/8wsEwAJqoMv XE6EaMT5vwZLb8/QjjGyxUopSb/yP2eyalotQEN13vrRLsGCzv2xdC1lioTjyxIvFSNU 29vcP34z8/4KeZuiNy7JSTTw67GGuJchBE+rGAvjzhWBilf5fn0SkhDxM4ADt/b0kuPx M4aQ==
- Delivered-to: historian@entropia.netisland.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:date:from:to:subject:mime-version :content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=MJNCvnuKRX6D+iHGrqrzVGoMrU6kzWGGMYjOTKRbQeM=; b=O1kXyYbABjAcYW11v4O7YXDt6Rtk6wugOsuWf0csdMGiWaNL1H3UyaT0oIdZvDl9T2 ABJ39nc/+a22D8LoMXHKuPNR8/OvKd6/OrejbH4rYV9WP0AmPR8SatirES6JRc+lVewf M+P+iCg0zoY8vB+e7yS7jHadeiSoGtsK+s5jk4j48hvUsXl1x0BJ6p33lNxm5mMrIdzm KK4i+LhB5YfKYJ34rx6RUUqavNsQq/PJoMCf09MCY+wWDFB7DAFD+OIlkNim4ijZH3eA +0yxGRMtNO/SoDr3ypRQXHiM0v/mLlJLKU1+vS5oN3a5vpH+b+HLFyfnbVfvdmpm91Xv REGA==
- List-archive: <https://groups.google.com/group/berkeleylu>
- List-help: <https://groups.google.com/support/>, <mailto:berkeleylug+help@googlegroups.com>
- List-id: <berkeleylug.googlegroups.com>
- List-post: <https://groups.google.com/group/berkeleylug/post>, <mailto:berkeleylug@googlegroups.com>
- List-subscribe: <https://groups.google.com/group/berkeleylug/subscribe>, <mailto:berkeleylug+subscribe@googlegroups.com>
- List-unsubscribe: <mailto:googlegroups-manage+61884646931+unsubscribe@googlegroups.com>, <https://groups.google.com/group/berkeleylug/subscribe>
- Mailing-list: list berkeleylug@googlegroups.com; contact berkeleylug+owners@googlegroups.com
- Reply-to: berkeleylug@googlegroups.com
- Sender: berkeleylug@googlegroups.com
- User-agent: Internet Messaging Program (IMP) H3 (4.2.1-RC1)
So, some semi-random bits from today's BerkeleyLUG meeting.
I believe I (over)heard mention of ifconfig.
For most or all current Linux distributions, ifconfig, and likewise
netstat are quite deprecated at this point. One would do well to become
familiar with the ip and ss commands. Many distributions no longer
install ifconfig nor netstat by default. Some may possibly not even
have packages with those commands.
And yes, fair bit of learning curve on the transition, but much of it
very well worth it. And I'd argue most especially so for ss. E.g. with
ss, one can give arguments to filter - at the kernel level. This is
much more efficient (and less error prone) compared to taking output of
netstat and post-processing that to interpret and filter it. A
semi-random example of ss usage:
Do I have anything TCP listening to ports 25 and/or 587?:
$ ss -nlt '( sport = :25 or sport = :587 )'
State Recv-Q Send-Q Local Address:Port Peer
Address:Port
LISTEN 0 20 127.0.0.1:25 *:*
LISTEN 0 20 ::1:25 :::*
$
The ip command also replaces some other older networking commands.
--
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To post to this group, send email to berkeleylug@googlegroups.com.
Visit this group at https://groups.google.com/group/berkeleylug.
For more options, visit https://groups.google.com/d/optout.