Search Wikipedia Through CLI (Shell) In Linux

Search Wikipedia Through CLI (Shell) In Linux

Original article by Ankur Aggarwal published on http://flossstuff.wordpress.com/ Wikipedia : One of the most important web portal in  geek’s life. Whenever I need to search anything I use two things. First open up the Google and then search for the related  wikipedia page. Exploring wikipedia page using shell is possible. Interested fact is that we can do it without […]

How to get exit status from a piped command in Linux shell

It’s funny how through small daily tasks sometimes it happen to find new features or commands that you do not knew not, and today this thing happened to me. In particular, I had to do something trivial on the shell of a server, run : command1 | tail-n 2 i use tail to keep, from […]

Top Ten articles for Linuxaria in 2011

Top Ten articles for Linuxaria in 2011

The first days of the new year are a good moment to look back at the past year and see what have been the most read articles of the site, this is also a good opportunity for you to read (or re-read) them. And, a bit late, but i wish you all a Happy New […]

Doing calculations using bash

Doing calculations using bash

Sometimes in my small shell script i’ve to do some math, usually nothing too complex but it’s useful to do the math inside the bash script. Bash it’s really complete and among the many builtin functions there are also some mathematical functions. Using the syntax $((expression)) you can evaluate the expression. Operations allowed are quite […]

Bash and I – The Bourne-Again SHell

Bash and I – The Bourne-Again SHell

by Frank Harris-Smith Bash has been around since pre-historic times, at least before GNU/Linux’s first release in 1991. My first personal encounter with Bash was in 1993. This was two years before Microsoft Windows 95 was released and Windows 3.1 was just a bad joke. The Software Development Company I was working for was using […]