Friday 6 July 2007

linux lesson2

.on linux, -p is profiling, -g is debugging, -pg is for profiling with gprog
.conio.h is windows only, a gcc equivalent is ncurses.h
.gcc compiler comes with most(all?) distros of linux
.system info is held in /etc/conf.d
.alt f4 closes a program (as youd expect)
.ipconfig -> ifconfig - for help use 'man ifconfig'
.use ifconfig etc0 inet 192.168.0.? to set your ip
.list of terminal commands
http://www.linuxdevcenter.com/linux/cmd/
http://www.ss64.com/bash/
http://www.digilife.be/quickreferences/quickrefs.htm
.linux also has the netstat command displaying open ports.
.use ls -l to list shares

No comments: