The bash completion project provides a lot of interesting functionalities to the bash shell, one of the most used completion tips is when the user hits the tab key to complete the name of a file. Another interesting tip is applied to the cd command, when you type a cd (change directory) and after you hit the tab key you should see only the directories instead of all the files. this can be done using the complete command.
The shell provides a lot of useful capabilities, and it is not very difficult to learn, or it is better to say "not more than C/C++ language". In these two language the user has to learn the language and also the compiler, and if he want to develop large projects it has to learn, also, an IDE.
I'm going to show how to executes cgi-bins using this web server.
In a recent post I showed how to install the Monkey http web server on Raspbian so I'll start this post from a working installation. (I'll suppose monkey server has been installed in the /home/pi/monkey-1.2.0/ directory)
Running a shell script from a web page could give an added value to your applications.
Imagine you have developed an application running on your Raspberry Pi, and you want to give to a user the capability to interact with the system trough a simple user interface…
You can draw your GUI in HTML and then you can use some scripts to interact with Raspbian OS.
After the post i published some days ago, I had a discussion on linkedin (take a look here).
And somebody said that the source website for Ramlog was down. www.tremende.com/ramlog/
I'have downloaded version 2.0.0 so I can put this version on the blog.
In a previous post (First 2 things to do if you want to secure your Raspberry Pi on the internet) I showed simple things to do if you want to put your raspberry on the internet, now I want to show two simple things to do if you want to use your Raspberry Pi as your production server, because in this case the reliability of your Raspberry Pi must be as higher as possible.
The uptime value is how long the system has been running.
This value is an important parameter to observe the evolution of your system.
In Raspbian (but the following instructions work fine also on other linux flavours) you can get the uptime in different ways, my favourite ones are the following: