Linux

=Linux= Is a good OS for schools it most is free and work very good.

http://www.tldp.org/LDP/intro-linux/html/intro-linux.html#intro_01 - intro book linux

basic commands

ls     -  (show files)  -ltr (List, TimeSort, Reverse) (- n- normal file, d directory, l linked, s socket ) pwd  - show path cd      (Change Dir) lsblk - Look which disk is in used cp       (copy files) mv      (Move files) rm       (Remove file, delete) mkdir     (MaKe dir) rmdir     (ReMove dir, be carefully)) locate    (locate a file  can use wildcards)) clear    (clear screen)

who w         (show who user doing)

man ls  (manuel for a commands)

ps     - show processes

sudo -i  shell with root right (be carfull)

Network ifconfig -a (show all interface) (InterFace Config) eth0 192.168.10.25 netmaks 255.255.255.0 - promisc (lissen on all) ifup eth0 (enable InteFace take it UP) ifdown eth0 (disable InterFace take it DOWN) iwconfig (Interfece Wireless config) ping -c 3 (count 3 times else forever) ip/dnc traceroute mtr  ip/dns -i 10 My Traceroute   (repaet traceroute and show best and worst hop) netstat -r (route config) nslookup dig route arp

Disk and drives http://www.wikihow.com/Format-a-USB-Flash-Drive-in-Ubuntu - format a drive in ubuntu dd if=/dev/zero of=/dev/sdx (change x to right drive letter) ( bs=64K or bs=512 to speed up)  -Erase a drive http://www.dedoimedo.com/computers/gparted.html - How format in Linux a USB-stick

Look at files sudo apt-get install wxHexEditor Etherape -analys graphic network traffic http://reverseengineering.stackexchange.com/questions/6003/visualizing-elf-binaries