ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Useful Linux Commands

    IT Discussion
    linux commands how to
    3
    4
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      I figured maybe we could make a thread of useful commands you know/use.

      Here's a good one to start with:

      If you want to see ip addresses connected via ssh type:

      echo $SSH_CLIENT | awk '{ print $1 }'
      
      1 Reply Last reply Reply Quote 3
      • stacksofplatesS
        stacksofplates
        last edited by

        You can also just type pinky and it will give you the username, full name, time, and ip address of the connected users.

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @stacksofplates
          last edited by

          @johnhooks said:

          You can also just type pinky and it will give you the username, full name, time, and ip address of the connected users.

          Just like the older finger command used to do. It's a play on the name. Finger is what we used in the early 1990s for that same function.

          1 Reply Last reply Reply Quote 1
          • RamblingBipedR
            RamblingBiped
            last edited by

            I recently came across this comprehensive resource for BASH on Reddit's /r/bash.

            The BASH Hacker's Wiki ---> http://wiki.bash-hackers.org/

            1 Reply Last reply Reply Quote 3
            • 1 / 1
            • First post
              Last post