Month: October 2013

Link: Basic Linux Shell Scripting Language : ‘While’ Loops

In the previous article entitled “Basic Linux Shell Scripting Language : Introduction to ‘For’ Loops“, we have observed how a loop works. Loop is nothing but a control flow statement which executes a block of commands repeatedly till certain condition stays true, once the condition becomes false, the loop is terminated.

In this article, I will explain Basic syntax of ‘While’ loop along with some examples of ‘While’ loop usage. If you are new to Shell Scripting, I recommend that, you should read my article – Getting Started – Linux Shell Scripting Language.

One of the things we found interesting in this article is that it shows how to use an infinite ‘while’ loop that can only be broken out of by some specific event or condition. Very basic stuff, but something that can come in quite handy in certain situations.

Full article here:
Basic Linux Shell Scripting Language : ‘While’ Loops (Your Own Linux..!)

Link: How To Take Screenshots On The Raspberry Pi

While putting together some future articles I wanted to take some screen shots within LXDE, the Pi’s default graphical interface.

I considered taking them on my PC using a remote desktop connection to the Pi but I thought it might be easier to just take them directly on the Pi as I used it.

To do this I decided to use Scrot which is a command line screen capturing utility.

Full article here:
How To Take Screenshots On The Raspberry Pi (Raspberry Pi Spy)

Link: 10 Things And More That ‘apt’ Can Help You With!

One of the most used tool in Linux is ‘apt’. So, if you are a Linux user or if you are planning to give it a try, there is a 100 per cent chance that you will stumble upon apt. The fact is that ‘apt-get’ is one of the biggest contributer in making the Linux life so much easier. With this, you do not have to worry about how to install and remove software on the Debian GNU/Linux distributions.

…..

In simple words, if you need to install, remove and update packages apt is the tool for you. Here are 10 utilities that ‘apt’ can bring to your Linux machine:

Full article here:
10 Things And More That ‘apt’ Can Help You With! (EFYTimes)

Link: Raspberry Pi Configuration Manager `PiCon` Lets You Configure Your Pi Using A GUI

PiCon is a Raspberry Pi configuration manager which lets you make changes to the config.txt file using a GUI. The config.txt file is used to store various system parameters that you would normally set from the BIOS, but Raspberry Pi doesn’t have a conventional BIOS and thus, it uses this file for such settings.

picon raspberry pi configuration manager

The application is designed to run on a host system (works on Windows, Linux and Mac since it’s written in Java) and not directly on the Raspberry Pi. It is possible to run the app on Raspberry Pi, but the performance is pretty bad.

Full article here:
Raspberry Pi Configuration Manager `PiCon` Lets You Configure Your Pi Using A GUI (WebUpd8)

Link: How to synchronize files between two servers

Suppose you have a collection of files which are replicated on two different servers. The two replicas are then modified independently, and you want whatever changes made in one replica to be propagated to the other, so that both replicas remain in sync.

There are several file mirroring tools on Linux, such as rsync or duplicati. However, these tools are meant for “uni-directional” file sync (i.e., pushing or pulling incremental updates in one direction), and so two-way sync would require running such tools twice, one for each direction.

Unison is an open-source file synchronization tool that natively supports bi-directional file synchronization. Unison is available on multiple platforms including Linux, FreeBSD, Windows and MacOS X. In Linux, Unison is available as a command-line tool as well as a GUI program with GTK+ interface.

In this tutorial, I will describe how to synchronize files between two servers with Unison command-line utility.

Full article here:
How to synchronize files between two servers (Xmodulo)

Link: Shell In A Box – A Web-Based SSH Terminal to Access Remote Linux Servers

Shell In A Box (pronounced as shellinabox) is a web based terminal emulator created by Markus Gutschke. It has built-in web server that runs as a web-based SSH client on a specified port and prompt you a web terminal emulator to access and control your Linux Server SSH Shell remotely using any AJAX/JavaScript and CSS enabled browsers without the need of any additional browser plugins such as FireSSH.

In this tutorial, I describe how to install Shellinabox and access remote SSH terminal using a modern web browser on any machine. Web-based SSH is very useful when you are protected with firewall and only HTTP(s) traffic can get through.

Full article here:
Shell In A Box – A Web-Based SSH Terminal to Access Remote Linux Servers (TecMint)

Link: Learning Shell Scripting Language: A Guide from Newbies to System Administrator

Linux is built with certain powerful tools, which are unavailable in Windows. One of such important tool is Shell Scripting. Windows however comes with such a tool but as usual it is much weak as compared to it’s Linux Counterpart. Shell scripting/programming makes it possible to execute command(s), piped to get desired output in order to automate day-to-day usages. In-fact automating these day-to-day task on server is an important task, system administrator has to perform and most of the admins achieve this by writing scripts to be executed as and when required.

…..

We have tried to cover a large variety of shell programming on a number of aspect in 5 different posts.

Full article here:
Learning Shell Scripting Language: A Guide from Newbies to System Administrator (TecMint)

Link: Setting Up A Linux File Server Using Samba

A quick Google will show many ways to to setup a Linux file server running Samba, most of them however don’t work! Some leave out important bits leaving you stuck and some will only work with one version of a specific Distro (but of course don’t mention this). I struggled for ages getting Samba to work reliably and made quite a few wrong turns on the way. I was just trying to set up a simple Linux file server to store music, photos etc. but eventually found a foolproof (probably) way to do it. The following works and has been tested several times on fresh installations. This is not meant to be a high security setup, all folders are accessible to everybody for read, write and delete. If you have stroppy teenagers who want exclusive access to their own area on the server, then you can use this as a starting point. A few simple changes would achieve that level of security but it is beyond the scope of this tutorial.

Full article here:
Setting Up A Linux File Server Using Samba (HowTo Forge)

Link: Using a Raspberry Pi as an AirPlay Receiver

The Raspberry Pi is a versatile little computer that provides the perfect sandbox to start creating some fun and interesting projects. One popular project is as an AirPlay receiver, allowing us to stream audio from an iOS device or computer using iTunes to our Raspberry Pi that’s connected to a set of speakers.

In this tutorial, I’ll show you how to set up a Raspberry Pi to be used as an AirPlay receiver so you can stream audio from any iOS device, iTunes or compatible AirPlay software such as AirFoil.

Full article here:
Using a Raspberry Pi as an AirPlay Receiver (mac tuts+)

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez