Archive

You are currently browsing the Tuxyves ;-) blog archives for March, 2010.

Mar

24

Mini 2440 – Kernel 2.6.13

By admin

into kernel-2.6.13 folder read README + kernel-2.6.13/Documentation/arm/Samsung-S3C24XX

CROSS_COMPILE=/opt/[crosstool-S3C2440A]/arm/arm-unknown-linux-gnu make 0=../kernel-bin/ menuconfig

chose alternate conf => confA70
modify it + save it to .conf

CROSS_COMPILE=/opt/[crosstool-S3C2440A]/arm/arm-unknown-linux-gnu make 0=../kernel-bin/

Mar

24

Linux Book

By admin

http://blog.developpez.com/index.php?blog=58&title=le_kit_de_survi_du_developpeur_linux&more=1&c=1&tb=1&pb=1

Mar

8

Search under Linux

By admin

- To search something in all of the disk :
locate "file or folder"
- To search something with path (word in all files) :
find /path/to/dir/ | xargs grep --color "1234" -n
find ../../ -name "*.c" | xargs grep --color "long"
or
grep -r "1234" *

NB: for find : “-L” to follow the symbolic link; for grep “-r” <= recursive; "-n" <= display line number

- To search where is installed an executable on disk :
which “software_name”
$> which nautilus
/usr/bin/nautilus

Mar

8

Linux symbolic link

By admin

To create a symbolic link in Unix or Linux, at the shell prompt, enter the following command:
ln -s {$target-filename} {$symbolic-filename}

Alias => to call “vim” with “vi” shell command :
alias vi=vim