Jan 202013
 

alias.shIf you are a Linux system administrator or you just wish to save a copy of your alias on the net, this is the service for you !
alias.sh is a new project that offer a simple service: allows you to manage all of your aliases online and browse the list of cool aliases submitted by others. From the term of your desktop, or server, you can run a single command to copy all your aliases on your system, or back into your profile should you require them.

You’ll have public alias, that everyone can use and that you can share with friends and followers and private alias, for your use only.

Continue reading »

flattr this!

Dec 032012
 

In a GNU/Linux system every file or folder has some access permissions. There are three types of permissions (what allowed to do with a file of any kind, directory included):

(r)read access
(w)write access
(e)execute access

There are also other “special” permissions, but for this article the basic permissions will be enough to illustrate how umask works, and the permissions are defined for three types of users:

(U) the owner of the file
(G) the group that the owner belongs to
(O) All the other users

umask (user mask) is a command and a function in POSIX environments that sets the file mode creation mask of the current process which limits the permission modes for files and directories created by the process. A process may change the file mode creation mask with umask and the new value is inherited by child processes.

In practice with umask you can define the permissions of the new files that your process will create.
Continue reading »

flattr this!

Oct 172012
 

In a former article I’ve talked about the commands cron and crontab  that are the standard way to schedule recurring things on a Gnu/Linux system.

But sometimes you need to do one thing at a specific date and time for just one time, and for these tasks the best option is to use at, another way to use at is to run a command later when the computer won’t be busy.

Or another reason could be that you want to run a command that requires a lot of time to end and you have to disconnect from that server, at could be used in this situation, but for these task i suggest to take a look at the articles on how to run commands on background and the utility screen

Continue reading »

flattr this!

Linux shell, how to use the exec option in find with examples

In a former article I’ve wrote about the command locate, an useful command to find quickly a file in your computer. An alternative to locate is the command find : GNU find searches the directory tree rooted at each given file name by evaluating the given expression from left to right, according to the rules [...]

Surfraw – Surf the web from the CLI

______ _ _ ______ _______ ______ _______ _ _ _ / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_) ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _ \____ \ | | | || __ / | ___) | __ / | ___ || || || | _____) )| |___| || | \ [...]