Professional Documents
Culture Documents
Linux
GNU
static char *
concat (char *s1, char *s2)
{
...
}
Linux
Linux8
LinuxK&R
ThisVariableIsATemporaryCounter
tmp
count_active_users()
cntusr()
VI
VI Visual interface
viUnixLinux
vi
command mode
Insert mode
last line mode
vi
/ i/Esc
/ :/Esc
h j k l
x dd #x/#dd
yw yy #yw/#yy
p
r/R
u
/ n
w
q
Emacs
Emacs
EMACSEditor MACroS
Richard Stallman()1975
MITGuy Steele
Emacs
C : Control
S : Shift
s : Super Windows
Emacs
C - x C - f
C - x C - s
C-xs
C - x C - c Emacs
C - x 2
M-w
C-y
C-x u
C-g
Nano
nanoDOS
editorvi/vimLinux
Linux
nano
nano - Nanos ANOther editor, an enhanced
free Pico clone. not ipod nano
nano
-w-w (--nowrap) =
Disable wrapping of long lines.
nano -w FILE
Ctrl+O
Ctrl+X
Ctrl+K
Ctrl+U
Ctrl+W
*nanoCtrl-^Ctrl+W^W
Alt-M"Meta"Alt+WM-W
IDE
Kdevelop
GCC
GCCGNU Compiler CollectionGNU
GNU
GNU GPL LGPL
GNU
Unix Mac OS X
GCC GNU C
CGCC C++
FortranPascalObjective-C
Java, Ada
-c
-o output_filenamea.out
-gDebug
-O
-O2-O
-Idirname
Gcc&G++
gccg++GNU()
cgccc++
g++gcc g++
g++c++
a.out
a.outassembler output
unixa.out
UNIX
a.outa.out
a.outa.out
ELF
a.out
Make
shellmake
MakefileMakefile
Makefile
Makefile
make
Makefile
target:dependencies
command1
command2
...
commandn
Makefile
# Makefile
# #
testprog.o code.o
gcc o test prog.o code.o
code.ocode.c code.h
gcc c code.c o code.o
clean
rm f *.o
make
# make target
targetMakefiletarget
makeMakefile
Makefilemake
# make test
testMakefilemake
test
testtest
prog.ocode.o
Makefile
OBJS=prog.o code.o
CC=gcc
test${ OBJS }
${ CC } o $@ $^
prog.oprog.c prog.h code.h
code.ocode.c code.h
clean
rm f *.o
Scons
make 70
UNIX
make
make Scons
Python
C,C++ Fortran, .
C, C++, D, Java, Fortran, Yacc, Lex, Qt
SWIG Tex/Latex
Gdb
LinuxGNU gdb
C C++
gdb
gcc-g
gdb
Gdb
Shellgdb gdb
Run
List
list function
list linenum
Break
break function
break linenum
break filename:linenum
breakif cond
print
print expexp
x
next
step
continue
Rpm
Deb
Bin
Rpm
RPMRedHat Package ManagerRedHat
RedHat
OpenLinuxS.u.S.E.Turbo Linux
Linux
Deb
DEBDebianDebian
DEBDebra Murdock
DebianIan Murdock
DebianUnixar
gziptar
deb
data.tar.XXX
deb
control.tar.gz
deb
BIN
Binshell
EasyTest_2.4.0.bin
BSD
BSD
,
GPL
LinuxGPL GPL/
///
LGPL
LGPLGPL
GPL//GPL
GPLLGPL
(link)LGPL
MIT
Massachusetts Institute of
Technology, MIT MITBSD
,,.,
,
.
End