Aug 132014
 

Article by giannis_tsakiris first posted on http://www.giannistsakiris.com

A hard link is actually nothing more than a regular directory entry, which in turn can be seen as a pointer to the actual file’s data on the disk. The cool thing about hard-links is that a file can be stored once on the disk, and be linked to multiple times, from different locations/entries, without requiring to allocate extra disk space for each file instance.

But then a question arises: Given a specific file on disk, how can someone know whether it is linked to by other directory entries or not? This can be easily answered using the ls command:

giannis@zandloper:/etc$ ls -l passwd
-rw-r--r-- 1 root root 1402 2008-03-30 17:49 passwd
;

Do you ever wonder what is this small number between the file permissions and the owner in the output of ls’s long listing format (its value is usually “1″ for files, or “2″ for directories)? This number is actually the link-count of the file, when referring to a file, or the number of contained directory entries, when referring to a directory (including the . and .. entries).
Continue reading »

flattr this!

Mar 312014
 

Productivity is very important. With a boost in productivity we save time and we get more work done in short period. That is why today in factories the production lines are automated. Productivity boosting is also important in everyday computer usage. No matter if you are just an regular desktop user, power user, developer or podcaster, with a boost in productivity you can save time, get more done and even also save some disk space, CPU and RAM usage. Many people do not know that there are some excelent opensource applications for increment the productivity. Some of them come as standard GNU tools with every Linux based operating system and other are standard parts from every major Linux distribution.

Idea behind this article is to cover some softwares that will be helpful for regular desktop users and also for small companies and offices.

1. ) Linux Terminal

Linux console is very powerful and useful. Learning your way through console should be on a to do list for every user. Today most users look at console like some archaic software, but console is not dead. It is used by millions of users everyday. Administration of systems, databases, development and many more tasks can be done faster from console then from any GUI application.

You can check my article on 10 programs to be used from the terminal, to get some idea of what you can do on the command line.

Continue reading »

flattr this!

Dec 032013
 

While I was looking some video related to Linux I’ve found this video of gotbletu an user that I follow on Youtube, related to a small player to listen music directly from the terminal: pms AKA Poor Man’s Spotify.

I like lightweight clients, and so I’ve gave it a try, these are the results.
Continue reading »

flattr this!

Linux Terminal: Seeing the unseen characters with cat!

Sometimes a program or software don’t start for a syntax error, and if you check the files there is nothing wrong..apparently. There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat. [...]

Dynamic DNS with Bash & Afraid.org

Recently I’ve published an article about “DynDNS and ddclient: access your Linux from anywhere“, and some people commented that the services on DynDNS are not free anymore, so this is an alternative by Adam Buchanan first published on his interesting blog — This has nothing to do with search engine marketing, but everything to do with [...]