SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-26 19:10:23

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Automatic notification of updates

Offline

Be excellent to each other!

#2 2015-09-26 21:09:13

Bearded_Blunder
#! Junkie
Registered: 2014-04-04
Posts: 262

Re: Automatic notification of updates

I use Windows to remind me, when that nags me about updates, I do #! too.


Blessed is he who expecteth nothing, for he shall not be disappointed...

Offline

#3 2015-09-26 21:20:58

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

I use "up2" almost daily.  wink

    $ up2
alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends

I don't have synaptic installed.

Offline

#4 2015-09-27 01:00:23

flaneur
#! Member
Registered: 2014-01-24
Posts: 99

Re: Automatic notification of updates

    $ up2
alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends

Offline

#5 2015-09-27 01:12:36

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

cmd1 && cmd2

Last edited by Sector11 (2015-09-27 01:20:14)

Offline

#6 2015-09-27 22:17:36

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Automatic notification of updates

^ S11, it does different things. the "&&" means that the previous command must have returned a "success" code for the latter to be executed. that makes sense with apt-get update && apt-get upgrade.
the ";" means that the second command goes ahead regardless of how the previous exited. also makes sense in some situations (e.g. ~/.config/openbox/autostart).

Offline

#7 2015-09-28 12:36:55

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

^ I'll do some reading up on that.  Up until now I though " && " and " ; " were the same - and with me and my typing ; is faster and easier.  big_smile

Offline

#8 2015-09-28 12:42:23

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Automatic notification of updates

alias ;=' && '

Offline

#9 2015-09-28 12:49:39

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Automatic notification of updates

Ahhhhh but does an alias work within and alias?

alias up2 = sudo apt-get update && sudo apt-get upgrade --no-install-recommends

Offline

#10 2015-09-28 16:15:25

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Automatic notification of updates

Anyway, this package prompts you to upgrade by clicking stuff.  monkey

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo