Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • Posts tagged "unix shell"

Posts tagged "unix shell"

Shell script: How long someone’s been logged in?

March 2, 2016 / Dave Taylor / Linux Shell Script Programming / 3 Comments

My boss wants to have a simple tool that lets her quickly see how long someone’s been logged in to our Linux server. I figure a quick shell script, but I’m not sure how to code it. Note: Everyone has to log out at the end of the day, so it’s always going to be no more than 8 hours.

View Answer »

Search

Recent Posts

  • Staying Secure Online when Living in a College Dorm?
  • Can I Encrypt and Password Protect a ZIP Archive on a Windows PC?
  • How Can I Enable Gmail “Hover Action” Shortcut Icons?
  • How do I Actually Buy An Ebook on my Amazon Kindle?
  • Easy Way to Forward or Share an SMS Text Message on an iPhone?

On My YouTube Channel

Avantree "Resolve" Wired Open-Ear Earphones -- DEMO & REVIEW

PadMate PAMU S29 Budget ANC Earbuds -- DEMO & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help, (161)
  • Android Help (203)
  • Apple iPad Help (145)
  • Apple Watch Help (53)
  • Articles, Tutorials, and Reviews (344)
  • Auto Tech Help (12)
  • Business Advice (199)
  • Chrome OS Help (26)
  • Computer & Internet Basics (764)
  • d) None of the Above (165)
  • Facebook Help (383)
  • Google, Chrome & Gmail Help (181)
  • HTML & Web Page Design (245)
  • Instagram Help (48)
  • iPhone & iOS Help (608)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (94)
  • LinkedIn Help (85)
  • Linux Help (167)
  • Linux Shell Script Programming (87)
  • Mac & MacOS Help (895)
  • Most Popular (16)
  • Outlook & Office 365 Help (26)
  • PayPal Help (69)
  • Pinterest Help (54)
  • Reddit Help (18)
  • SEO & Marketing (81)
  • Spam, Scams & Security (93)
  • Trade Show News & Updates (23)
  • Twitter Help (217)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (924)
  • Wordpress Help (204)
  • Writing and Publishing (72)
  • YouTube Help (46)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (57)

Archives

Social Networks…

Ask Dave Taylor

Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook

microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2022 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy