Monthly Archives: June 2011

“Frequently asked questions from potential new user of Linux” – Real-life situation

I’ve shared my lunch yesterday in Marriot Kingstone OH, USA with my mentor “Phil Bull” and a new potential user of Linux: David Robbins. While we were waiting for the order  Dave was asking a lot of Linux questions about … Continue reading

Posted in GNOME, τεχνολογια :: Technology | Tagged , , , , , , , , , | 2 Comments

if you are new and smart user in GNOME 3 (:

If you are a mortal user and you decided to pass to the next level and give all the love you have to your computer or laptop with gnome3 and fedora 15 (I used to be dating with Ubuntu, but … Continue reading

Posted in GNOME | Tagged , , , , , , , , , , , , , , | 4 Comments

being familiar with GETOPT

getopt – Analiza las opciones de la línea de órdenes. See more in $man getopt #include <unistd.h> int getopt(int argc, char * const argv[], const char *optstring); extern char *optarg; extern int optind, opterr, optopt; #define _GNU_SOURCE #include <getopt.h> int … Continue reading

Posted in GNU/Linux/Open Source, τεχνολογια :: Technology | Tagged , , , , , | Leave a comment

come on Getrusage!

It contains some examples of uses of getrusage and also recollect some comments of forums *************************************************1*********************************************** #include <sys/types.h> #include <sys/resource.h> #include <sys/time.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <math.h> void fibonacci() { FILE *f; int nAnte,nAct,i,ii; int c; nAnte … Continue reading

Posted in GNU/Linux/Open Source, τεχνολογια :: Technology | Tagged , , , , , | 1 Comment

doing MAKE command ;)

Es una herramienta que nos permitirá compilar programas que dependen de una o más cabeceras (archivos header), este proceso es automático y eficiente ya que sólo recompila archivos en caso de ser necesarios para poder cumplir el o los objetivos … Continue reading

Posted in GNU/Linux/Open Source, τεχνολογια :: Technology | Tagged , , , , , | Leave a comment

details, tips and questions???

Capciosas***** Si quiero ejecutar el comando mv a un archivo que tiene como nombre “-abc”, el intérprete toma -abc como una opción del comando mv; pero si intento ver su contenido con cat, osea cat -abc, o si intento listarlo … Continue reading

Posted in GNU/Linux/Open Source, τεχνολογια :: Technology | Tagged , , , , , , , , | Leave a comment

other programs in C for UNIX / Linux

read #include <unistd.h> #include<stdlib.h> int main() { char buffer[128];  int nread;      nread=read(0,buffer,128); if(nread==-1)      write(2,”Un problema de lectura ha sucedido\n”,34); if(write(1,buffer,nread))!=nread)  write(2,”Un problema de escritura ha sucedido\n”,37); exit(0); } write #include<unistd.h> #include<stdlib.h> int main() { if((write(1,”Aquí hay datos\n”,14))!=14) … Continue reading

Posted in GNU/Linux/Open Source, τεχνολογια :: Technology | Tagged , , , , , , , | Leave a comment