Practical guide to Linux SysAdmins

This Blog primarily focus on providing solutions for administering Linux Operating system in Enterprise environment. I have put my best effort to ensure the solutions provided in this are accurate, easy to follow, effective, and helpful for Linux Users & System Administrators.

Smart scripts for SysAdmins

  • Smart scripts for SysAdmins - Click here !

Thursday, December 20, 2018

LSOF command to list all Network connections in Listen mode

$ lsof -n | grep -i "TCP\|UDP" | grep -v "ESTABLISHED\|CLOSE_WAIT"
Posted by Ashok Raj at 5:38 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search in this Blog

About Me

My photo
Ashok Raj
The intent of this blog is to share my work experience and spread some smart solutions on Linux to System Administrators. I'm hoping the solutions shared in this Blog would be helpful and come as a handy for Viewers. Brief about me: I have 18+ years work experience in System and Cloud Administration domain, primarily works on VMware Cloud Products (vSphere, vCloud Director, vRealize Automation, NSX Adv. Load Balancer, vROps).
View my complete profile

Popular Posts

  • Using RegEx in SUDO Access
  • How to validate the Syntax of /etc/sudoers file ?
  • How to log commands executed by all the users in Linux?
  • Tweaking 'ps' command to display full user-name
  • Suspending and resuming a running process in Linux
  • Comparing directories between 2 Linux systems
  • Protecting Critical files using File attributes
  • Converting Time from PST to IST

Blog Archive

  • ►  2022 (1)
    • ►  March (1)
  • ▼  2018 (2)
    • ▼  December (1)
      • LSOF command to list all Network connections in Li...
    • ►  August (1)
  • ►  2017 (1)
    • ►  May (1)
  • ►  2016 (3)
    • ►  September (2)
    • ►  August (1)
  • ►  2015 (1)
    • ►  March (1)
  • ►  2013 (9)
    • ►  December (5)
    • ►  November (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (36)
    • ►  November (2)
    • ►  October (4)
    • ►  September (1)
    • ►  August (6)
    • ►  July (4)
    • ►  June (2)
    • ►  May (5)
    • ►  April (5)
    • ►  March (1)
    • ►  February (3)
    • ►  January (3)
  • ►  2011 (30)
    • ►  December (1)
    • ►  September (1)
    • ►  August (4)
    • ►  July (5)
    • ►  June (3)
    • ►  May (9)
    • ►  March (5)
    • ►  January (2)
  • ►  2010 (24)
    • ►  December (4)
    • ►  November (3)
    • ►  October (11)
    • ►  September (6)

Followers

Visitors Map

Powered by Blogger.