Hide

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Delete that bloated snippets file you've been using and share your personal repository with the world. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.


Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.
Hide

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for:

Hide

News

May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!
Hide

Top Tags

Hide

Functions

Find last reboot time

Terminal - Find last reboot time
who -b
2009-05-19 11:52:54
User: sharfah
Functions: who
16
Find last reboot time

Displays time of last system boot

Alternatives

There are 28 alternatives - vote for the best!

Terminal - Alternatives
sysctl -a | grep boottime | head -n 1
2014-01-24 13:03:48
User: lgarron
Functions: grep head sysctl
Tags: osx
1

Specific to OSX.

Know a better way?

If you can do better, submit your command here.

What others think

Just want the Date/Time by passing data to awk:

who -b | awk '{print $3" "$4}'

Comment by m00dimus 446 weeks and 6 days ago

You can also use:

uptime

Comment by tebeka 446 weeks and 5 days ago

chanyuan2017.12.08

http://www.michaelkorsoutletkors.us.com

http://www.coachoutletsales.us.com

http://www.longchamphandbagssale.us.com

http://www.nikeairmax-90.org.uk

http://www.michaelkorshandbagsoutletstores.us.com

http://www.burberryoutlet.ca

http://www.thomassabocharms.me.uk

http://www.coachfactoryoutletstore.com.co

http://www.toryburchoutletclearance.us.com

http://www.uggsoutletuggboots.us.com

http://www.canadagooseoutlet-stores.com

http://www.swarovskicrystaluk.org.uk

http://www.niketrainers-uk.org.uk

http://www.uggsboots.ca

http://www.christian-louboutin-heels.com

http://oakley.sunglassess.us.com

http://www.ralphlaurenoutletstores.us.com

http://www.kevindurantshoes.net

http://www.christianlouboutin-shoes.co.uk

http://www.coach-onlineoutlet.us.com

http://www.oakleysunglasseswholesaleoakley.us.com

http://www.cheap-jerseyswholesale.us.com

http://www.dansko-shoes.us.com

http://www.coachfactoryoutlet-clearance.us.com

http://www.pandorajewelryoutlet.us.com

http://www.uggsoutlet-boots.us.com

http://www.canadagoosejacketssale.co.uk

http://www.shoesjordan.net

http://www.moncler.us.com

http://www.linksoflondon.org.uk

http://www.cheap-snapbacks.us.com

http://www.birkenstocksandals.me.uk

http://www.cheapjordan-shoes.us.com

http://www.coachoutletonlinecoachoutlet.us.com

http://www.michae-kors-outlet.ca

http://www.uggoutletugg.us.com

http://www.canadagooseparka.name

http://www.cheapnba-jerseys.us.com

http://www.uggbootsclearancesale.us.org

http://www.christian-louboutinshoes.us.org

http://www.ferragamooutletstore.us.com

http://www.montblancpenss.us.com

http://www.adidas-wings.in.net

http://www.oakleysunglasseswholesaleauthentic.us.com

http://www.oakleysunglassesoutletsale.us.com

http://www.nikeairmaxtrainers.co.uk

http://www.giuseppe-zanotti-outlet.org

http://www.toryburchoutletonlinestore.us.com

http://www.oakleysunglassesofficial.us.com

http://www.shoelysale.com

http://www.michaelkorsoutletfactorystore.us.com

http://www.nikeairmax90.nl

http://www.canadagoose-jackets.com.co

http://www.oakleysunglassesoakley.us.com

http://www.coachoutletstore.com.co

http://www.coachcanada-outlet.ca

http://www.oakleysunglasseswholesalestore.us.com

http://www.vansshoesoutletstore.us.com

http://www.kobebryantshoes.in.net

http://www.marc-jacobs.us.org

http://www.vans-shoes.cc

http://www.burberry-outletstore.in.net

http://www.jordanshoesclearance.us.com

http://www.uggoutletstoresofficial.us.com

http://www.cheapmlbjerseys.net

http://www.ferragamoshoesofficial.us.com

http://www.poloralphlaurenofficial.us.com

http://www.edhardy.us.com

http://www.footballshirts.me.uk

http://www.raybansunglassesusa.us.com

http://www.pandoracharmssale-clearance.com

http://www.bottega-venetaoutlet.us

http://www.michaelkors-handbagsuk.me.uk

http://mulberryoutlet.outlet-store.co.uk

http://www.polotshirts.org

http://www.canadagooseoutletgoose.us.com

http://www.uggoutletstoress.us.com

http://www.longchampoutletonlines.us.com

http://www.airjordan4.org

http://www.nikestore-uk.org.uk

http://www.michaelkorshandbags.in.net

http://www.mikmok.com

http://www.lakersjerseys.us.com

http://www.swarovskioutletstores.us.com

http://www.fitflopssaleclearance.in.net

http://www.ralphlaurenpolo.us.com

http://www.coachoutletonline-factory.us.com

http://www.canadagoosesoutletstore.com

http://www.coach-outletclearance.us.com

http://www.uggsoutletsclearance.us.com

http://www.soccerjerseys.us.com

http://www.uggsoutletstores.us.org

http://www.uggoutletauthentic.us.com

http://www.truereligionjeansclearance.us.com

http://www.michaelkorsoutletclearance-online.us.com

http://www.fitflopsoutletsale.com

http://www.mbt-shoesoutlet.us.com

http://www.katespadeoutletonlinestores.us.com

http://www.canadagoosecybermonday.us.com

http://www.truereligionjeansoutlets.us.com

http://www.coachoutletcoupons.us.com

http://www.uggbootsblackfridays.us.com

http://www.cheapoakleysunglassesfactory.us.com

http://www.canadagoose-jackets.us.org

http://www.toryburchoutletstores.us.org

http://www.ferragamo-outlets.us.com

http://www.michaelkorsoutletfriday.us.com

http://www.poloralphlaurenfactorystore.org.uk

http://www.jordan-shoes.us.com

http://www.mcmoutletstore.us.org

http://www.ugg-bootsoutlet.us.org

http://www.truereligionjeansoutlet.co.uk

http://www.uggsbootsclearance.us.org

http://www.ray-bansunglassesofficial.us.com

http://www.jordanshoes.us.com

http://www.coachoutletonlineshops.us.com

http://www.longchampsoldes.fr

http://www.adidas-uk.me.uk

http://www.rayban-sunglassesoutlet.us.com

http://www.kicksnice.com

http://www.toryburch.com.co

http://www.truereligion-jeanssale.us.com

http://www.kobe9elite.us.com

http://www.coachoutletcoachfactoryoutlet.us.com

http://www.canadagooseoutlet-stores.com

http://www.cheapjerseyswholesale.org

http://www.longchamphandbagsuk.me.uk

http://www.long-champsolde.fr

http://www.uggblackfridays.us.com

http://www.swarovski-outlets.us.com

http://www.michaelkorsoutletclearancer.us.com

http://www.burberrysaleoutlet.us.com

http://www.coachoutlet-onlines.us.com

http://www.michaelkorsoutletnew.us.com

http://www.coachoutletonline-clearance.us.com

http://www.michaelkors-outletonlinesale.us.com

http://www.nikeoutlets.us.org

http://www.nhljerseysforsale.us.com

http://www.handbagslongchamp.us.com

http://www.cheapmlbjerseyss.us.com

http://www.truereligionoutletclearance.us.com

http://www.coachoutlet-store.us.org

http://www.jeanstruereligion.in.net

http://www.ferragamooutletstore.net

http://www.raybanssunglassesoutlets.us.com

http://www.ralphlaurenpoloshirt.us.com

http://www.canadagooseoutlet-store.name

http://www.michaelkorswallets.us.org

http://www.cheap-nfljerseyschina.us.com

http://www.canadagoosejacketssale.ca

http://www.coachoutletstoreonlineclearance.us.com

http://www.canada-gooseoutletstore.com

http://www.newbalance2018.com

http://www.true-religionjeanssale.us.com

http://www.adidasoutletstore.in.net

http://www.ferragamo.us.org

http://www.raybansunglassesforwomens.us.com

http://www.canadagooseoutletsstore.com.co

http://www.uggoutletonline-clearance.us.com

http://www.truereligionjeans.co.uk

http://www.adidasnmduk.org.uk

http://www.nfljerseysofficial.us.com

http://www.truereligionjeans.org.uk

http://www.ugg-outletonlineclearance.us.com

http://www.uggoutletsale.us.com

http://www.polooutletpolo.us.com

http://www.uggsoutletclearance.us.org

http://www.christianlouboutins.org.uk

http://www.christianlouboutinonline.us.com

http://www.ralphlaurenpolo-outlet.us.com

http://www.ralphlaurenpoloshirtss.us.com

http://www.coach-handbags.us.com

http://www.raybansunglassesok.us.com

http://www.uggoutletscheap.us.com

http://www.raybansunglasses-sales.us.com

http://www.katespade-outlets.us.org

http://www.swarovskicrystaluk.me.uk

http://www.uggbootsclearancesale.us.com

http://www.michael-korsoutletuk.me.uk

http://www.chromeheartsoutlet.com.co

http://www.cheap-jordanshoes.us.com

http://www.michaelkorssuk.org.uk

http://www.michaelkorsukhandbags.co.uk

http://www.longchamphand-bags.co.uk

http://www.oakleysunglasses-clearance.us.com

http://www.nfljerseyss.us.com

http://www.simlogy.com

http://www.michaelkorsoutletnyc.us.com

http://www.coach-factoryoutlets.us.org

http://www.clevelandcavaliers.us.com

http://www.michaelkorsofficial.us.com

http://www.asics-shoes.us.com

http://www.oakleysunglassesusa.us.com

http://www.valentinooutlet.us.com

http://www.ralphlaurenpoloshirts.org.uk

http://www.uggsoutletscheap.us.com

http://www.pandoracharms-saleclearance.org.uk

http://www.ralph-laurenpoloshirts.us.com

http://www.toryburchoutlet-online.us.com

http://www.nikeblazerpaschers.fr

http://www.conversestar.com

http://www.cheapjordansfreeshipping.us.com

http://www.nike-airmax2015.us

http://www.toryburchoutlets.us.org

http://www.fitflopssale.us

http://www.michaelkors-outletonlineclearance.us.com

http://www.tomsnosko.com

http://www.long-champpliage.fr

http://www.canadagoosejackets.me.uk

http://www.swarovski-outlet.us.com

http://www.canadagooseoutletofficial.name

http://www.canadagoosejackets-uk.org.uk

http://www.truereligionjeans-canada.com

http://www.michaelkors.de.com

http://www.adidastrainersshoes.co.uk

http://www.mulberryhandbagssale.me.uk

http://www.christianlouboutin-outletsale.us.com

http://www.basketballshoes.us.com

http://www.uggsoutletuggs.us.com

http://www.canada--goose.ca

http://www.pumaoutlet-online.com

http://www.mont-blancpens.com.co

http://www.truereligion-jean.us.com

http://www.canadagooseoutletstores.name

http://www.pandorajewellery.cc

http://www.coachhandbagsclearance.us.com

http://www.lebronjamesshoess.us.com

http://www.coach-factoryoutletclearance.us.com

http://www.nike-store.org.uk

http://www.uggsoutletonlinestore.us.com

http://www.mulberry-handbagsoutlet.org.uk

http://www.todsoutlet.us.org

http://www.moncler-jackets.co.uk

http://www.airforce1.us.com

http://www.uggsbootsclearance.us.com

http://www.nikefactoryoutlets.us.com

http://www.christianlouboutin-outlet.us.org

http://www.katespadesoutletonlinestore.us.com

http://www.poloralphlaurensale.us.com

http://www.michaelkorsoutletclearanceinc.us.com

http://www.ralphlauren-poloshirts.us.com

http://www.canadagooseoutlet-online.com

http://www.michaelkorsoutletcoupons.us.com

http://www.canadagooseoutlets.name

http://www.canadagooseoutletstore.ca

http://www.michael-korsoutletuk.org.uk

http://www.coachoutletonline-coachfactoryoutlet.us.com

http://www.uggsoutlet-stores.us.com

http://www.canadagooseoutletclearance.us.com

http://www.fitflopsshoes.in.net

http://www.nikeshoesforwomen.us.com

http://www.ralphlauren-poloshirts.org.uk

http://www.ralphlauren-outletuk.co.uk

http://www.michaelkorsoutletonline-shop.us.com

http://www.cheapmichaelkors-handbags.us.com

http://www.long-champhandbags.co.uk

http://www.polo-outletonline.us.com

http://www.eccosale.com

http://www.moncler-jackets.org.uk

http://www.michaelkorsbagss.co.uk

http://www.longchampoutlet1.us.com

http://www.michaelkorsoutlet-uk.me.uk

http://www.toryburch-outletstore.in.net

http://www.coachoutletonlinecoachfactory-outlet.us.com

http://www.oakleysunglassescheapoutlet.us.com

http://www.pandoracharmssaleclearances.co.uk

http://www.raybansunglasses-outlets.us.com

http://www.foampositeshoe.net

http://www.cheapsoccerjersey.net

http://www.raybans-sunglasses.us.com

http://www.hervelegeroutlet.us.com

http://www.fitflopssale.in.net

http://www.uggoutlets-store.us.com

http://www.coachoutlet-clearance.us.com

http://www.coachoutletcoachoutletonline.us.com

http://www.airmax90uk.me.uk

http://www.truereligionoutlet-store.us.com

http://www.canadagoose-jackets.org.uk

http://www.ralphlauren-pascher.fr

http://www.fitflopssale.me.uk

http://www.uggbootsonsale.us.org

http://www.nikerosheone.us

http://www.canadagooseoutletca.us.com

http://www.uggboots-australia.us.com

http://www.sunglassesrayban.org.uk

http://www.canadagoosesjackets.com.co

http://www.coachfactoryoutletclearance.us.com

http://www.maccosmeticsoutlet.us.com

http://www.nikean.com

http://www.poloralphlaurens.me.uk

http://www.eccoshoesoutlet.us.com

http://www.coachoutletstores.eu.com

http://www.uggoutletonlineclearance.us.org

http://www.uggoutletofficials.us.com

http://www.airmax-trainers.co.uk

http://www.niketrainers-uk.co.uk

http://www.michaelkorsblackfridays.us.com

http://www.uggoutletshop.us.com

http://www.coachoutletclearanceonline.us.com

http://www.nikerosherun.me.uk

http://www.uggoutletuggboots.us.com

http://www.cheapjordansonline.us.com

http://www.oakleysunglasseswholesalechina.us.com

http://www.cheap-uggsoutlet.us.com

http://www.pradahandbagsuk.co.uk

http://www.pradasunglasses.us.com

http://www.ralphlaurenoutlet.org.uk

http://www.uggoutletonlinestore.us.org

http://www.polo-outletstore.us.com

http://www.uggoutlet-onlineclearance.us.com

http://www.polooutletonlinestores.us.com

http://www.fredperrypolo-shirts.com

http://www.raybansunglassesonlines.us.com

http://www.christianlouboutin-shoes.us.org

http://www.cartieroutlets.us.com

http://www.uggoutletusa.us.com

http://www.salvatore-ferragamo.in.net

http://www.montblanc-pensoutlet.us.com

http://www.katespadeoutletstore.us

http://www.hermes-birkin.in.net

http://www.pradashoesofficial.us

http://www.cheapuggbootsonline.us.com

http://www.michaelkors.eu.com

http://www.yeezyboost350sale.us.com

http://www.ugg-bootsclearance.us.org

http://www.ralph-laurenpolo.us.com

http://www.polooutletfactorystore.us.com

http://www.rayban--sunglasses.co.uk

http://www.chicagoblackhawksjerseys.us.com

http://www.oakleysunglassescheapsale.us.com

http://www.canadagooseoutletstoresale.us.com

http://www.cheapoakleysunglassesformen.us.com

http://www.michaelkorsoutletonline-stores.us.com

http://www.longchamppascher.fr

http://www.salomonshoessalomonoutlet.us.com

http://www.michaelkorshandbags-onsale.us.com

http://www.michaelkorsoutlet-storesofficial.us.com

http://www.coachfactoryoutlet-sale.us.com

http://www.poloralphlaurens.org.uk

http://www.uggsoutlet.ca

http://www.michaelkorsoutlet-sale.us.com

http://www.swarovskioutletstore.us.com

http://www.michaelkorsfactory-outlets.us.com

http://www.cheapraybansunglasseswholesale.us.com

http://www.raybansunglassescheapsale.us.com

http://www.huarachesshop.com

http://www.hermesoutletstore.us.com

http://www.nikefree5.us

http://www.coachoutletclearance.us.com

http://www.burberryoutletstore.in.net

http://www.michaelkorsoutletz.us.com

http://www.michaelkorshandbags-outlets.us.com

http://www.mulberryoutlets.org.uk

http://www.canadagoosecoats.org.uk

http://www.nbajerseysnike.us.com

http://www.polo-lacostepascher.fr

http://www.monclersjackets.com

http://www.coachoutletoutlet.us.com

http://www.katespadeoutletonlines.us.com

http://www.converseshoes.us.com

http://www.mulberrysaleuk.org.uk

http://www.coachoutletstorecoach.us.com

http://www.uggsoutletssale.us.com

http://www.oakleysunglassesoutlet-online.us.com

http://www.ralphlaurenoutletclearance.us.com

http://www.uggoutletclearance.us.com

http://www.michaelkorsoutletmichaelkorsoutletonline.us.com

http://www.longchampoutlet.us.com

http://www.birkenstock-outlet.us.com

http://www.canadagoosejacketsca.ca

http://www.uggoutlets.ca

http://www.ralphlaurenpolo.us.org

http://www.fitflop.in.net

http://www.nikeairmax-90.me.uk

http://www.mulberrybagsuk.co.uk

http://www.pradaoutlet.us

http://www.nikeoutletonline.us.org

http://www.mulberryhandbagss.org.uk

http://www.adidasko.com

http://www.ysloutlet.us.com

http://www.airhuaracheuk.org.uk

http://www.canadagooseoutletstore.cc

http://www.uggoutletuggs.us.com

http://www.uggoutlet.ca

http://www.canadagooseblackfriday.us.com

http://www.coach-outletstore.us.org

http://www.timberlandboots.net

http://www.katespadeoutletonlinestore.us.com

http://www.coachoutletclearance.us.org

http://www.airmax90.us.com

http://www.rayban-sunglassesoutlets.us.com

http://www.cazaloutlet.us.com

http://www.canadagooseoutletss.us.com

http://www.clearancefitflopssale.com

http://www.addidasshoes.net

http://www.ugg-outletsstore.us.com

http://www.skysneakers.com

http://www.uggcybermonday.us.com

http://www.raybansunglasseshut.us.com

http://www.ralphlauren-polo.us.org

http://www.nikeairhuaraches.co.uk

http://www.michaelkorsoutletonlinefactory.us.com

http://www.christianlouboutin-shoes.me.uk

http://www.canadagooseoutletstore.com.co

http://www.canadagoose-jackets.co.uk

http://www.futbol-baratas.com

http://www.chromeheartsoutletstore.us.com

http://www.oakleysunglassescheapwholesale.us.com

http://www.raybansunglassesofficialsite.us.com

http://www.michaelkorsoutletme.us.com

http://www.poloralph-lauren.us.com

http://www.sunglassofficialstore.com

http://www.coachoutletonline.us.org

http://www.canada--goosejackets.ca

http://www.kobeshoes.us

http://www.oakleysunglasses-uk.org.uk

http://www.canadagooseoutlet-online.com.co

http://www.michaelkorsoutletonlineofficial.us.com

http://www.nikeshoes-outlet.us.com

http://www.newbalanceshoes.in.net

http://www.coachfactory-outlets.us.org

http://www.christian-louboutin.us.org

http://www.canadagoosejackets-outlet.us.com

http://www.uggoutletcheap.us.com

http://www.oakleysunglassesoutletcheap.us.com

http://www.coachfactoryoutletcoachoutlet.us.com

http://www.pandorajewelrys.us.org

http://www.michaelkorsoutletonlinecheap.us.com

http://www.coachoutletcanada.com.co

http://www.moncler.us.org

http://www.yeezyboostoutlet.us.com

http://www.oakleysunglasses-sale.us.com

http://www.christian-louboutinoutletstore.us.com

http://www.soccer-shoes.us

http://www.niketrainersnikeshoes.co.uk

http://www.reebokoutletstores.us.com

http://www.oakley-sunglasses.nom.co

http://www.poloralphlaurenoutlet-online.us.com

http://www.christianlouboutin-outlet.me.uk

http://www.raybansunglasses2.us.com

http://www.true-religion.org.uk

http://www.coachoutlet-canada.ca

http://www.truereligion-jeansoutlet.us.com

http://www.christianlouboutinoutletsale.us.com

http://www.cheapsnapbacks.net

http://www.pandorajewelrycharms.in.net

http://www.ferragamoshoes.org.uk

http://www.outletchristianlouboutin.us.com

http://www.poloralphlauren-outlets.us.com

http://www.uggbootsclearance.us

http://www.outlettruereligion.in.net

http://www.raybansunglasses1.us.com

http://www.michaelkorsoutletmks.us.com

http://www.uggbootscybermonday.us.com

http://www.adidasnmdad.us.com

http://www.canadagooseoutletusa.us.com

http://www.suprashoes.us.com

http://www.fitflopsshoes.me.uk

http://www.moncleroutletonline.us.com

http://www.uggboots-clearance.us.org

http://www.ralphlaurenpolo.eu.com

http://www.max1.nl

http://www.airmax90uk.co.uk

http://www.michaelkorshandbagsclearancestore.us.com

http://www.truereligionjeanssale.com

http://www.cheapnhljerseyss.us.com

http://www.coach-outletonlinesale.us.com

http://www.canadagooseoutletstoress.us.com

http://www.michaelkorsoutletcheap.us.com

http://www.hermesoutletonline.us.com

http://www.lacostepoloshirts.us

http://www.hermesbelts.us.com

http://www.toryburchoutletofficial.us.com

http://www.mulberrybagssale.org.uk

http://www.mulberryhandbags-uk.me.uk

http://www.coachoutletonline.com.co

http://www.oakleysunglassesformens.us.com

http://www.coachoutletonlineclearance.us.com

http://www.oakley-sunglasseswholesale.us.com

http://www.reeboktrainers.me.uk

Comment by leilei3915 4 days ago

Your point of view

You must be signed in to comment.