Friday, January 14, 2011

ROJAK

Arp- (Address Resolution Protocol)
      - Provide IP to internet Address
Nbstat- Display TCP/IP connection using netbios
          - Provide that that computer IP address
Netstat- Provide the connection both the local and remote, ports and the state of the connection.
IP segment- untuk mengelakkan delay dalam kelas
                 e.g: 192.168.100.248 (semua IP dari 1-248 akan di scan walaupun IP yang diguna hanya 5)

Linux as server

open command line - ctrl+alt+F1
close command line - ctrl+alt+F7
ls                           - paparkan flder in command line
mkdir                    - buat folder
cd "nama file"        - masuk subfolder
cd                        - balik ke menu awal
cat >                    - buat file
cat                       - nak cek file yg dah dibuat
mv                      - tukarnama file @ nak pindah file ke folder lain
                           e.g:  mv /root/raja/setup.txt /root/USR/opensource/setup.bak
vi                        - buat file baru
:wq                     - save file
i                          - insert data dalam file
/sbin                    - kalau dalam open terminal kene tambah ni kat depan
q                         - back to localhost kalau salah command
ctrl+c                  - back to localhost