[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Guide / Tools




On Nov 21, 2012 7:57 PM, "Siard" <shiems146@kpnplanet.nl> wrote:
>
> Jochen Spieker:
> > Morel Bérenger:
> > > $man dc
> > > => "reverse-polish" ? What is it? It is surely not for simple
> > > calculations and conversions...
> >
> > That's probably only for majors in maths or computer science.
>
> No, dc is a perfect tool for simple calculations and conversions.
>
> Instead of entering e.g. 2+3= you use the so-called reverse-polish
> notation: 2 3+
> Once used to it, you'll probably never want anything else.
>
> Imagine a stack:
>
> 0
> 0
> 0
> 0
>
> After entering 2, it looks like this:
>
> 0
> 0
> 0
> 2
>
> After entering 3:
>
> 0
> 0
> 2
> 3
>
> After entering +:
>
> 0
> 0
> 0
> 5
>
> In dc:
>
> $ dc
> 2 3+p
> 5
>
> As a final example, the calculation of (1 + V5)/2
> (V means square root here) up to 6 decimal places:
>
> $ dc
> 6k1 5v+2/p
> 1.618033
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20121121185520.66b88a1a.shiems146@kpnplanet.nl">http://lists.debian.org/[🔎] 20121121185520.66b88a1a.shiems146@kpnplanet.nl
>

Hi,

Even after 4-5 years of using various Linux distros (which I also recommend) like Red Hat (now Fedora) Suse/OpenSuse, Ubuntu, I still consider myself a newbie, after I've seen what's being discussed on this list. That, and also because I'm a sysadmin for a company using 101% Microsoft products, I have fun with Linux at home.

Here's what I recommend:
Find yourself some book or if you don't have the time, tutorials on the internet are much shorter to follow (don't just stop at one, 2 experts will have 2 different opinions).
Then, after you've been playing with terminal commands, you could give yourself small projects/homework like: learn scriping (bash, perl, python or whatever) and do some automation with it -- automatic backup for some files in your home dir or something similar. Also, what can/should try is, if you happen to have another device at home that's able to run Linux and can stay on for a very long time, build yourself a dns+dhcp server.

Good luck, and welcome!


Reply to: