Skip to content

TT’s Jottings-Blog of VU2SWX

Travails of an Indian Geek

  • About me
  • Course Materials
  • My knoppix remastering howto

Month: February 2009

Computers · Gnu/Linux

Learning device drivers

February 24, 2009 vu2swx

I wrote this charater device driver for learning how they work.This is actually an assignment that we got today. .  Prof. TS Reddy  from JNTU helped me to debug the code.  I am planning to make a tutorial on it once I reach home. The course is becoming more and more exciting.  The internet access… Continue reading Learning device drivers

Computers · Gnu/Linux

Generating number sequences in shell scripts

February 21, 2009 vu2swx3 Comments

I learned this technique from a fellow participant . $ yes |nl |head -100 |cut -f1 You can remove the  new lines as below. $  yes |nl |head -100 | cut -f1| tr ‘\n’ ‘\t’ Cool. Otherwise, my course is progressing well. I wrote a simple file transfer daemon and implemented  the client..  Now, I… Continue reading Generating number sequences in shell scripts

Engineering Education · Gnu/Linux

Update from prepare future

February 20, 2009 vu2swx

It was pretty heavy work for 2 days.  Yesterday, I was taught about file io and  related system calls followed by environment variables ,  things like parsing command lines etc. I could not finish all the exercises as I went out to see the city. Took a local bus tio HiTech city and then caught… Continue reading Update from prepare future

Engineering Education · Gnu/Linux

Learning Pthreads

February 17, 2009June 24, 2009 vu2swx

I am beginning to enjoy the Prepare Future program on Linux internal and   driver development. Today’s class was about pthreads. I had some prior experience on pthreads library while at CUSAT.   It was refreshed today. Pthreads is a user space library for  manipulating threads. Here is what we did today.  First we wrote a small… Continue reading Learning Pthreads

Gnu/Linux

How to create static and dynamic libraries with gcc

February 16, 2009 vu2swx

This is an exercise I did   today. I  am documenting it for my own reference. The problem was simple. Create a library with functions. add(int,int) and sub (int,int) and then use the library  in another program. Here is the code /*add.c*/ #include “a.h” int add( int a,int b) { return (a+b); } int sub (int… Continue reading How to create static and dynamic libraries with gcc

Posts navigation

Older posts

Some Stuff

  • About me
  • Course Materials
  • My knoppix remastering howto

Recent Posts

  • Thus spake vu2swx
  • Ubuntu 16.04 Booting to text mode
  • My talk at BarCamp July 2015
  • Disabling touch pad while typing:- Ubuntu 14.04
  • Installing latest arduino on Ubuntu 14.04

Favourites

  • Course Material

Categories

  • Computers
  • Electronics
  • Engineering Education
  • Finance
  • Gnu/Linux
  • Ham Radio
  • Living in India
  • Micro controllers
  • Uncategorized
© 2005-2018 Sunil TT