●●● ●●●● istory of UNIX/Linux ●●●●● ●●●● ●●●●● 1991 BSD Networking Release 2, led to development of 386BSD 1991 Linus torvalds released linuxversion 0.2 1993 USL was acquired by novell. Novell gave the UNIX trademark to X/Open. Novell add NetWare support to System V 1993 Slackware, the oldest linux distribution was first released. Debian project was established 1994 Linux kernel version 1.0 released. Red Hat and SUSE published version 1.0 of their Linux distributions 1995 Linux was ported to dec alpha and to sun SParc 1996 Linux Kernel 2.0 was released. It supported multi-CPU 1998 Major companies like IBM, Compaq and Oracle announce their support to Linux. The Graphical Environment KDE began development 1999 The Graphical Environment GNOME began development 2003 Linux kernel 2.6 released on 18 December, 2003 2004 XFree86 team split up and joined the existing X Windows standards body to form the x Org Foundation 2005 The project Open SUsE began a free distribution from Novell's community The OpenOffice. org project introduced version 2.0
History of UNIX/Linux 1991 BSD Networking Release 2, led to development of 386BSD 1991 Linus Torvalds released Linux version 0.2 1993 USL was acquired by Novell. Novell gave the UNIX trademark to X/Open. Novell add NetWare support to System V 1993 Slackware, the oldest linux distribution was first released. Debian project was established. 1994 Linux kernel version 1.0 released. RedHat and SUSE published version 1.0 of their Linux distributions 1995 Linux was ported to DEC alpha and to Sun SPARC 1996 Linux Kernel 2.0 was released. It supported multi-CPU. 1998 Major companies like IBM, Compaq and Oracle announce their support to Linux. The Graphical Environment KDE began development. 1999 The Graphical Environment GNOME began development. 2003 Linux kernel 2.6 released on 18 December, 2003. 2004 XFree86 team split up and joined the existing X Windows standards body to form the X Org Foundation. 2005 The project OpenSUSE began a free distribution from Novell's community. The OpenOffice.orgproject introduced version 2.0
●●● ●●●● ●●●●● ●●●● ●●●●● What is linux ●●●● When Linus Torvalds was still a student in Helsinki University, he developed his hobby to Minix, a small UNIX system and decided to develop a system that exceeded the minix standards. he began his work in 1991 when he released version 0.02 and worked steadily until 1994 when version 1.0 of the Linux Kernel was released The current full-featured version is 2.6 (released 18 December 2003 ) and development continues Since Linus only developed the linux kernel, to make Linux a popular operating system nowadays, the contribution of GNU software paid an important role. The GNU project was started in 1984 by Richard Stallman who would like to develop free software. The decision of Linux development under gnu public license accelerated the growth of GNU project after Linux was released in 1991. Some GNU software even develop on Linux platform first before it will be ported to other platform At the same year, the Internet grew and became a solid ground for collaborating work by volunteers all over the world Many distribution of Linux was released on different hardware such as PCS PowerPC, Macintosh and even brand name UNIX. Though Linux kernel is free and open source, these distribution may not be free since the software packaged may include some commercial software
What is Linux ⚫ When Linus Torvalds was still a student in Helsinki University, he developed his hobby to Minix, a small UNIX system and decided to develop a system that exceeded the Minix standards. He began his work in 1991 when he released version 0.02 and worked steadily until 1994 when version 1.0 of the Linux Kernel was released. ⚫ The current full-featured version is 2.6 (released 18 December 2003) and development continues. ⚫ Since Linus only developed the Linux kernel, to make Linux a popular operating system nowadays, the contribution of GNU software paid an important role. The GNU project was started in 1984 by Richard Stallman who would like to develop free software. The decision of Linux development under GNU public license accelerated the growth of GNU project after Linux was released in 1991. Some GNU software even develop on Linux platform first before it will be ported to other platform. ⚫ At the same year, the Internet grew and became a solid ground for collaborating work by volunteers all over the world. ⚫ Many distribution of Linux was released on different hardware such as PCs, PowerPC, Macintosh and even brand name UNIX. Though Linux kernel is free and open source, these distribution may not be free since the software packaged may include some commercial software
●●● ●●●● ●●●●● ●●●● ●●●●● Login and Logout ●●●● To login to UNIX/LINUX system, you have to find a terminal There are two kinds of terminal, namely asCll terminal and graphical terminal In ASCiI terminal, command-line input are supported while in graphical terminal, users can input their command by mouse and keyboard and it also support graphical display Once you find an ASCII terminal, a login prompt like the following can be found Fedora release 13 Goddard) kerne12.6.33.3-85.fc13.x8664 on an X8664 (tty cf8200-07 login
Login and Logout ⚫ To login to UNIX/LINUX system, you have to find a terminal. ⚫ There are two kinds of terminal, namely ASCII terminal and graphical terminal. ⚫ In ASCII terminal, command-line input are supported while in graphical terminal, users can input their command by mouse and keyboard and it also support graphical display. ⚫ Once you find an ASCII terminal, a login prompt like the following can be found. Fedora release 13 (Goddard) kernel 2.6.33.3-85.fc13.x86_64 on an x86_64 (tty3) cf8200-07 login:
●●● Basic Linux commands ●●●● ●●●●● ●●●● working with files & directories 9:9 cat cat f1 f2 type the content of file f1 and f2 cd cd SHOME change to home directory cp cp f1 f2 dir1 copy file f1 and f2 into directory dir 1 Is Is -a list all files(including hidden) in long format mkdir mkdir abc make new directory more more a1 a2 list out files a1 a2 in pages nv my f1 dir1 move/rename file f1 into dir1 pwd display current working directory rm -rf lab1 delete all files in lab 1 without confirmation rmdir rmdir lab 1 delete an empty directory
Basic Linux commands – working with files & directories cat cat f1 f2 type the content of file f1 and f2 cd cd $HOME change to home directory cp cp f1 f2 dir1 copy file f1 and f2 into directory dir1 ls ls -la list all files (including hidden) in long format mkdir mkdir abc make new directory more more a1 a2 list out files a1, a2 in pages mv mv f1 dir1 move/rename file f1 into dir1 pwd pwd display current working directory rm rm -rf lab1 delete all files in lab1 without confirmation rmdir rmdir lab1 delete an empty directory
●●● Basic Linux commands ●●●● ●●●●● ●●●● ●●●●● working in the shell(1/2) ●●●● cal ca112010 display the calendar of November, 2010 compress compress file 1 form a compress file file1.Z date date display the current time and date df List information of space used in the system diff diff f1 f2 compare text between two files du du summarized disk usage of your home directory find find /-name. cshrc-print search and print the file. cshrc grep grep student search all files with the word student history history 50 find the last 50 commands stored in the shell kill ki-92036 terminate the process with pid 2036
Basic Linux commands – working in the shell (1/2) cal cal 11 2010 display the calendar of November, 2010 compress compress file1 form a compress file file1.Z date date display the current time and date df df List information of space used in the system diff diff f1 f2 compare text between two files du du summarized disk usage of your home directory find find ./ -name .cshrc -print search and print the file .cshrc grep grep student * search all files with the word student history history 50 find the last 50 commands stored in the shell kill kill -9 2036 terminate the process with pid 2036