Archive for the ‘Linux’ Category
Thursday, December 3rd, 2009
After installing Ubuntu 9.10 (Karmic Koala) I have noticed that Midnight Commander, one of the most used CLI file managers available for Linux is unable to preserve settings over different sessions. The solution is quite simple: in order to save it's settings, Midnight Commander requires a ".mc" folder (notice the ...
Posted in Linux, Software, Ubuntu | No Comments »
Sunday, October 11th, 2009
In a Linux CLI environment you can use the "find" command to search for files or folder. In this tutorial I will explain how to find folders having the same name in a directory tree and execute commands on them.
Since the best way to learn is by example, let's consider ...
Posted in Linux | No Comments »
Saturday, October 3rd, 2009
When running a PHP script from command line interface (CLI), a higher memory limit may be required in order for the script to be successfully executed. This can be achieved using the "-d" or "--define" option in the command. According to the manual:
This option allows you to set a custom ...
Posted in Linux, PHP, Programming, Windows | No Comments »
Tuesday, November 25th, 2008
Desktop effects in Ubuntu 8.10 can be used without Compiz, by enabling compositing in Metacity - the Gnome's default window manager.
[caption id="attachment_116" align="alignleft" width="108" caption="Ubuntu"][/caption]
There are more ways to enable compositing in Metacity, but first you need to disable Compiz if you are using it. The fastest way is to ...
Posted in Linux, Ubuntu | 1 Comment »
Wednesday, August 13th, 2008
Here is a simple script to get the exchange rates from www.bnro.ro/nbrfxrates.xml
#!/bin/bash
# clear the screen
clear
# display an info message
echo "+------------------------------+"
echo "| BNR exchange |"
echo "+------------------------------+"
# check for parameters
if [ $# -ne 1 ]
then
echo "Usage: $0 eur ...
Posted in Linux, Programming | 1 Comment »