wireless commands
iwlist wlan0 scan
wevent &
iwconfig wlan0 key open xxxxx
iwconfig wlan0 essid xxxx
Tuesday, March 30, 2010
Wednesday, March 17, 2010
Set program output to environment variable in batch file
FOR /F "tokens=*" %A IN ('prog.exe') DO SET ENVVAR=%A
gcc, gdb and make commands
Macro definition
gcc -D DUMMY_DEF -c test_str.c
Makefile arguments
test:
./program $(PROG_ARGS)
make test PROG_ARGS='testfile1.txt'
gdb commands
run args - runs program
frame - examines current frame
up - examines previous frame
gcc -D DUMMY_DEF -c test_str.c
Makefile arguments
test:
./program $(PROG_ARGS)
make test PROG_ARGS='testfile1.txt'
gdb commands
run args - runs program
frame - examines current frame
up - examines previous frame
Subscribe to:
Posts (Atom)