Posts

Showing posts with the label *nix

Process

Process Process, kaba tabirle calisan bir program ornegi olarak isimlendirilebilir. Bir program calismaya basladigi zaman, kernel  bu programi sanal bir hafizaya yukler, programin degiskenleri icin hafiza tahsis eder ve process ID, termination status,  user ID, group ID gibi degiskenlerini saklamasi icin bir alan ayirir.

Create crypto with GPG for Mutt

Hi, In this article, i mention about GPG crytography in order to encrypt mail password for using in mutt. GPG is a general crytography tool.

how to make linux static library

In Linux OS, known (shared) libraries have .so extension, static library has .a extension and its creation is pretty easy. You can create static libraries with header or without header. I create it with its header in this subject. First of all, the header file (Welcome.h) is prepared. #include <stdio.h> void printWelcome (); Then, its implementation (Welcome.cpp) file is written. #include "Welcome.h" void printWelcome () { printf( "Hello World !" ); return ; } After these steps, the .c is complied and the static library is created. ar -cvq libWelcome.a Welcome.o Note: ar command has a lot of parameters, you can check them. Finally, main file is created to test library. #include "Welcome.h" int main () { printWelcome(); return 0 ; } After main file is complied, when it is linked, libWelcome.a or -L /<dir> -lWelcome parameter is specified.

Mutt Configuration

In MAC OS X, sudo port install mutt-devel+compress+date_conditional+debug+deepif+gdbm+headercache+imap+sasl+smtp+ssl+xlabel In Linux, you don't need anything, otherwise install correspondence files.

Linux Serial Port Documentation

- Giriş      Linux sistemlerinde serial port haberleşmesi, bir bilgisayar ve bu bilgisayara USB yolu ile bağlı bir donanım arasında gerçekleşir.      USB yolu ile bilgisayara bağlanan donanım, dev dizininde kendisine ait bir tane dosya seçer veya oluşturur ve bu dosya yardımıyla  bilgisayar ile veri transferini gerçekleştirir. Başarılı bir haberleşme için donanım ve bilgisayar arasında öncelikle gerekli bir kaç  anlaşmanın yapılması lazımdır.

grep command

grep is the most use in unix os. i give some examples about grep using.