Jun 162011
 

sudoThe stat command is really useful to gather information from file, directory and file system.
The basic usage of stat is:

~#stat /etc/passwd
 
File: `/etc/passwd'
Size: 999       	Blocks: 8          IO Block: 4096   regular file
Device: ca00h/51712d	Inode: 845         Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-05-26 12:14:41.000000000 +0200
Modify: 2011-05-26 12:14:41.000000000 +0200
Change: 2011-05-26 12:14:41.000000000 +0200

So, without options you can have the following information

File : Size in Bytes
Blocks : Number of blocks used
IO Block : Size in bytes of every block.
Device : The identifier number of your storage device (harddrive, etc.)
Inode : The inode number that the file or directory is linked to.
Access/Modify and change Times : Note that the timestamps also include which time zone that accesses or modifications took place in. in this example +0200 Continue reading »

Flattr this!

Jun 152011
 

promogestI’ve received from Francesco Meloni a PR about Promogest a management program for small business totally released under GPL, and so I gladly present this software to you.

PromoGest is a management program for your business. Developed by PromoTUX a leading Italian company in the industry.
Written using open source software is licensed under the GPL. The basic version is freely downloadable and freely usable without any license restrictions. It handles superbly customer lists, supplier and all the generation and movement of documents. For specific features or to customize the print model will, however, necessary to activate specific modules.
Continue reading »

Flattr this!

Jun 142011
 

sudoI think that sudo is become a wide used command with Ubuntu, where you don’t even have a root password, before that probably it was used only in some data-centers to restrict access to some commands.

sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file.

In this article I will show some uses a little less common for this command, for a general description of the command you could read the page about sudo on wikipedia

Continue reading »

Flattr this!