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/
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
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