SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Linux History & Features
Roadmap

   What is Unix?
   What is Linux?
   Which Linux Distribution is better?
   Linux : Advantages & Disadvantages
   Basic Commands
   Vi and Emacs
   Available Software
   Web Server
What is Unix?

   A multi-task and multi-user Operating System
   Developed in 1969 at AT&T’s Bell Labs by
       Ken Thompson (Unix)
       Dennis Ritchie (C)
       Douglas Mcllroy
   Some other variants: System V, Solaris, SCO
    Unix, SunOS, 4.4BSD, FreeBSD, NetBSD,
    OpenBSD, BSDI
Before Linux: UNIX

   Many difficulties in Multics development
   1969
       AT&T pulled out of Multics
       Ken Thompson
         A simplified version of Multics  UNIX

       Dennis Ritchie
         Rewrite the UNIX in C

   AT&T cannot sell the UNIX
       UNIX is the first free Operating System
What is Linux?
   A clone of Unix
   Developed in 25 August 1991 by Linus Torvalds, a
    Finish graduate student
   Inspired by and replacement of Minix
   Linus' Minix became Linux
   Consist of
       Linux Kernel
       GNU (GNU is Not Unix) Software
       Software Package management
       Others
What is Linux?
   Originally developed for
    32-bit x86-based PC
   Ported to other
    architectures, eg.
       Alpha, VAX, PowerPC,
        IBM S/390, MIPS, IA-64
       PS2, TiVo, cellphones,
        watches, Nokia N810,
        NDS, routers, NAS, GPS,
        …
Which Linux Distribution is better?
   > 300 Linux Distributions
       Slackware (one of the oldest, simple and stable distro.)
       Redhat
           RHEL (commercially support)
           Fedora (free)
       CentOS (free RHEL, based in England)
       SuSe ( based in German)
       Gentoo (Source code based)
       Debian (one of the few called GNU/Linux)
       Ubuntu (based in South Africa)
       Knoppix (first LiveCD distro.)
       …
Advantages of Linux
   Linux is free:
       Price is zero.
       Unlimited copies permitted.
       Read and change source code.
   Manuals are on-line.
   Common in scientific circles.
   Text interface is good for batch processing
    and management.
Disadvantages of Linux
   Text interface is not as user-friendly as
    Windows.
       But, has StarOffice software which is looks much
        like Windows.
   Less commercial software available.
       But, more scientific software available.
   More difficult to set up.
       But, once set up, easy to manage.
Basic Commands
   ls                               which
        $ ls -l                         $ which ls
        $ ls -a                     whereis
        $ ls -la                        $ whereis ls
        $ ls -l --sort=time         locate
        $ ls -l --sort=size -r          $ locate stdio.h
   cd                                   $ locate iostream
        $ cd /usr/bin               rpm
   pwd                                  $ rpm -q bash
        $ pwd                           $ rpm -qa
   ~                                    $ rpm -qa | sort | less
        $ cd ~                      find
   ~user                                $ find / | grep stdio.h
        $ cd ~VeerBahadur               $ find /usr/include | grep stdio.h
Vi
   2 modes                                                Delete
     Input mode
                                                               dd (delete a line)
                                                               d10d (delete 10 lines)
           ESC to back to cmd mode                            d$ (delete till end of line)
       Command mode                                           dG (delete till end of file)
           Cursor movement
                                                               x (current char.)
               h (left), j (down), k (up), l (right)
                                                           Paste
               ^f (page down)
                                                               p (paste after)
               ^b (page up)
                                                               P (paste before)
               ^ (first char.)                            Undo
               $ (last char.)                                 u
               G (bottom page)                            Search
               :1 (goto first line)                           /
           Swtch to input mode                            Save/Quit
               a (append)                                     :w (write)
               i (insert)                                     :q (quit)
               o (insert line after                           :wq (write and quit)
               O (insert line before)                         :q! (give up changes)
Emacs
   $ emacs                          Paste
   Cursor movement                      ^y (yank)
       ^f (forward one char.)       Undo
       ^b (backward one char.)          ^/
       ^a (begin of line)           Load file
       ^e (end of line)                 ^x^f
       ^n (next line)               Cancel
       ^p (prev. line)                  ^g
       ^v (page up)                 Save/Quit
       alt-v (page down)                ^x^c (quit wiout saving)
   Deletion                             ^x^s (save)
       ^d (delete one char)             ^x^w (write to a new file)
       alt-d (delete one word)
       ^k (delete line)
Available Software
   Compilers:
       G77 (FORTRAN 77)
       Gcc ( C )
       g++ (C++)
   Text editors
       Emacs
   Typesetting
       Troff, TeX
   Graphing
       Gnuplot
Available Software

   StarOffice provides a Windows-like
    environment:
       Word processor
       Spreadsheet
       Overhead slide designer
   Can load and save existing files created on a
    Windows computer.
User Management

   Simple way to add user is adduser command
   Passwd will allow to change the passwd
   Ofcourse there are host of GUI tools for all
    these user management
   Group all common user to single group
   Be carefull while editing /etc/passwd
     /etc/shadow   passwd file may also exist.
User Management

   Common files to look at
     /etc/passwd
     /etc/group
     /etc/shadow
     /etc/samba
Web server on Linux

   Apache server is mostly available on Linux
     Rpm    –q –all | grep apache to check
   This can be started via init services
     /etc/rc.d/init.d/httpd   start
   Configuration files are at /etc/httpd/conf/
   Normally log files at /var/log/httpd
Lost Root Passwd
   If you have Lilo installed, type
       LILI: linux init 1
       Change the root passwd, reboot aga
   If you have installed grub
       Type ‘e’ to go to edit mode, add init 1
        argument at the end
   Boot with knoppix or single floppy linux
       Mount the disk and change root passwd
       Reboot !!
GNU/Linux & You (Computer Engineer)

   Ok! ! !
       Windows is more popular
       90% of Desktop computers run Windows
   But!
       The 90% contains children, officers, …
       How many CEs do use the Windows?
       How many professional applications
        (supercomputing) do use the Linux?
GNU/Linux & CEs
   Linux is NOT for dummies
       Linux is for CEs
   Linux does NOT hide anything
       In details boot message
       Kernel messages
       No registry  All config files are text files
   Using Linux needs computer knowledge
       You have the knowledge
GNU/Linux & You
   If you target PhD in Computer Science
       You must learn Linux
       Most tools, simulators, protocols, … are
        implemented & tested in Linux
   If you target Engineering in Iran
       Linux Administrator
       Linux Application developer
       Embedded Linux Developer
Presented By : Beer Bahadur Singh
Designation : Asst. S/W Engineer(Trainee)
Id No         : VGT 153 T

Weitere ähnliche Inhalte

Was ist angesagt?

Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linux
william_morg
 

Was ist angesagt? (20)

Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Linux
Linux Linux
Linux
 
Operating systems linux
Operating systems linuxOperating systems linux
Operating systems linux
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 
Linux and its history
Linux and its historyLinux and its history
Linux and its history
 
Linux
LinuxLinux
Linux
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
History Of Linux
History Of LinuxHistory Of Linux
History Of Linux
 
Linux
LinuxLinux
Linux
 
Introduction to Linux
Introduction to Linux Introduction to Linux
Introduction to Linux
 

Andere mochten auch

Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
joycoronado
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OS
Mohammed Safwat
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
Mahmuda Rahman
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
Mohd Arif
 
tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
WE-IT TUTORIALS
 

Andere mochten auch (20)

History of linux
History of linuxHistory of linux
History of linux
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
A History of Linux
A History of LinuxA History of Linux
A History of Linux
 
Presentation1 linux os
Presentation1 linux osPresentation1 linux os
Presentation1 linux os
 
Introduction to Linux OS
Introduction to Linux OSIntroduction to Linux OS
Introduction to Linux OS
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Linux os and its features
Linux os and its featuresLinux os and its features
Linux os and its features
 
JavaEdge09 : Java Indexing and Searching
JavaEdge09 : Java Indexing and SearchingJavaEdge09 : Java Indexing and Searching
JavaEdge09 : Java Indexing and Searching
 
fundamentals of linux
fundamentals of linuxfundamentals of linux
fundamentals of linux
 
Case study linux
Case study linuxCase study linux
Case study linux
 
Advantages of SUSE Linux Over Windows
Advantages of SUSE Linux Over WindowsAdvantages of SUSE Linux Over Windows
Advantages of SUSE Linux Over Windows
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
Introduction to Ubantu
Introduction to UbantuIntroduction to Ubantu
Introduction to Ubantu
 
Linux opearting system
Linux opearting systemLinux opearting system
Linux opearting system
 
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
Java Web Application Security with Java EE, Spring Security and Apache Shiro ...
 
Different types of Editors in Linux
Different types of Editors in LinuxDifferent types of Editors in Linux
Different types of Editors in Linux
 
Intro To Hibernate
Intro To HibernateIntro To Hibernate
Intro To Hibernate
 
Microservices - java ee vs spring boot and spring cloud
Microservices - java ee vs spring boot and spring cloudMicroservices - java ee vs spring boot and spring cloud
Microservices - java ee vs spring boot and spring cloud
 
tybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
 

Ähnlich wie Linux history & features

Linuxppt
LinuxpptLinuxppt
Linuxppt
Reka
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
southees
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
Dimas Prasetyo
 
Unix fundamentals and_shell scripting
Unix fundamentals and_shell scriptingUnix fundamentals and_shell scripting
Unix fundamentals and_shell scripting
Ganesh Bhosale
 
05.linux basic-operations-1
05.linux basic-operations-105.linux basic-operations-1
05.linux basic-operations-1
Minsuk Lee
 
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung FooDevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foo
brian_dailey
 

Ähnlich wie Linux history & features (20)

Linux Basics
Linux BasicsLinux Basics
Linux Basics
 
01 linux basics
01 linux basics01 linux basics
01 linux basics
 
10.8.2018
10.8.201810.8.2018
10.8.2018
 
01_linux_basics.ppt
01_linux_basics.ppt01_linux_basics.ppt
01_linux_basics.ppt
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
workshop_1.ppt
workshop_1.pptworkshop_1.ppt
workshop_1.ppt
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Linux programming - Getting self started
Linux programming - Getting self started Linux programming - Getting self started
Linux programming - Getting self started
 
Linux
LinuxLinux
Linux
 
Linux powerpoint
Linux powerpointLinux powerpoint
Linux powerpoint
 
Unix fundamentals and_shell scripting
Unix fundamentals and_shell scriptingUnix fundamentals and_shell scripting
Unix fundamentals and_shell scripting
 
Workshop on command line tools - day 1
Workshop on command line tools - day 1Workshop on command line tools - day 1
Workshop on command line tools - day 1
 
Directories description
Directories descriptionDirectories description
Directories description
 
05.linux basic-operations-1
05.linux basic-operations-105.linux basic-operations-1
05.linux basic-operations-1
 
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung FooDevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foo
 
Unleash your inner console cowboy
Unleash your inner console cowboyUnleash your inner console cowboy
Unleash your inner console cowboy
 

Mehr von Rohit Kumar

Methology of web development
Methology of web developmentMethology of web development
Methology of web development
Rohit Kumar
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architecture
Rohit Kumar
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423
Rohit Kumar
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCE
Rohit Kumar
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
Rohit Kumar
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windows
Rohit Kumar
 
What is open source
What is open sourceWhat is open source
What is open source
Rohit Kumar
 
Open source technology
Open source technologyOpen source technology
Open source technology
Rohit Kumar
 
Open source license
Open source licenseOpen source license
Open source license
Rohit Kumar
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit Kumar
Rohit Kumar
 

Mehr von Rohit Kumar (12)

Methology of web development
Methology of web developmentMethology of web development
Methology of web development
 
Basic linux architecture
Basic linux architectureBasic linux architecture
Basic linux architecture
 
Linux_commands
Linux_commandsLinux_commands
Linux_commands
 
Rohit kumar EX423
Rohit kumar EX423Rohit kumar EX423
Rohit kumar EX423
 
Rohit kumar RHCE
Rohit kumar RHCERohit kumar RHCE
Rohit kumar RHCE
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Description of linux and windows
Description of linux and windowsDescription of linux and windows
Description of linux and windows
 
What is open source
What is open sourceWhat is open source
What is open source
 
Open source technology
Open source technologyOpen source technology
Open source technology
 
Open source license
Open source licenseOpen source license
Open source license
 
Using VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit KumarUsing VI Editor in Red Hat by Rohit Kumar
Using VI Editor in Red Hat by Rohit Kumar
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Linux history & features

  • 1. Linux History & Features
  • 2. Roadmap  What is Unix?  What is Linux?  Which Linux Distribution is better?  Linux : Advantages & Disadvantages  Basic Commands  Vi and Emacs  Available Software  Web Server
  • 3. What is Unix?  A multi-task and multi-user Operating System  Developed in 1969 at AT&T’s Bell Labs by  Ken Thompson (Unix)  Dennis Ritchie (C)  Douglas Mcllroy  Some other variants: System V, Solaris, SCO Unix, SunOS, 4.4BSD, FreeBSD, NetBSD, OpenBSD, BSDI
  • 4. Before Linux: UNIX  Many difficulties in Multics development  1969  AT&T pulled out of Multics  Ken Thompson  A simplified version of Multics  UNIX  Dennis Ritchie  Rewrite the UNIX in C  AT&T cannot sell the UNIX  UNIX is the first free Operating System
  • 5. What is Linux?  A clone of Unix  Developed in 25 August 1991 by Linus Torvalds, a Finish graduate student  Inspired by and replacement of Minix  Linus' Minix became Linux  Consist of  Linux Kernel  GNU (GNU is Not Unix) Software  Software Package management  Others
  • 6. What is Linux?  Originally developed for 32-bit x86-based PC  Ported to other architectures, eg.  Alpha, VAX, PowerPC, IBM S/390, MIPS, IA-64  PS2, TiVo, cellphones, watches, Nokia N810, NDS, routers, NAS, GPS, …
  • 7. Which Linux Distribution is better?  > 300 Linux Distributions  Slackware (one of the oldest, simple and stable distro.)  Redhat  RHEL (commercially support)  Fedora (free)  CentOS (free RHEL, based in England)  SuSe ( based in German)  Gentoo (Source code based)  Debian (one of the few called GNU/Linux)  Ubuntu (based in South Africa)  Knoppix (first LiveCD distro.)  …
  • 8. Advantages of Linux  Linux is free:  Price is zero.  Unlimited copies permitted.  Read and change source code.  Manuals are on-line.  Common in scientific circles.  Text interface is good for batch processing and management.
  • 9. Disadvantages of Linux  Text interface is not as user-friendly as Windows.  But, has StarOffice software which is looks much like Windows.  Less commercial software available.  But, more scientific software available.  More difficult to set up.  But, once set up, easy to manage.
  • 10. Basic Commands  ls  which  $ ls -l  $ which ls  $ ls -a  whereis  $ ls -la  $ whereis ls  $ ls -l --sort=time  locate  $ ls -l --sort=size -r  $ locate stdio.h  cd  $ locate iostream  $ cd /usr/bin  rpm  pwd  $ rpm -q bash  $ pwd  $ rpm -qa  ~  $ rpm -qa | sort | less  $ cd ~  find  ~user  $ find / | grep stdio.h  $ cd ~VeerBahadur  $ find /usr/include | grep stdio.h
  • 11. Vi  2 modes  Delete  Input mode  dd (delete a line)  d10d (delete 10 lines)  ESC to back to cmd mode  d$ (delete till end of line)  Command mode  dG (delete till end of file)  Cursor movement  x (current char.)  h (left), j (down), k (up), l (right)  Paste  ^f (page down)  p (paste after)  ^b (page up)  P (paste before)  ^ (first char.)  Undo  $ (last char.)  u  G (bottom page)  Search  :1 (goto first line)  /  Swtch to input mode  Save/Quit  a (append)  :w (write)  i (insert)  :q (quit)  o (insert line after  :wq (write and quit)  O (insert line before)  :q! (give up changes)
  • 12. Emacs  $ emacs  Paste  Cursor movement  ^y (yank)  ^f (forward one char.)  Undo  ^b (backward one char.)  ^/  ^a (begin of line)  Load file  ^e (end of line)  ^x^f  ^n (next line)  Cancel  ^p (prev. line)  ^g  ^v (page up)  Save/Quit  alt-v (page down)  ^x^c (quit wiout saving)  Deletion  ^x^s (save)  ^d (delete one char)  ^x^w (write to a new file)  alt-d (delete one word)  ^k (delete line)
  • 13. Available Software  Compilers:  G77 (FORTRAN 77)  Gcc ( C )  g++ (C++)  Text editors  Emacs  Typesetting  Troff, TeX  Graphing  Gnuplot
  • 14. Available Software  StarOffice provides a Windows-like environment:  Word processor  Spreadsheet  Overhead slide designer  Can load and save existing files created on a Windows computer.
  • 15. User Management  Simple way to add user is adduser command  Passwd will allow to change the passwd  Ofcourse there are host of GUI tools for all these user management  Group all common user to single group  Be carefull while editing /etc/passwd  /etc/shadow passwd file may also exist.
  • 16. User Management  Common files to look at  /etc/passwd  /etc/group  /etc/shadow  /etc/samba
  • 17. Web server on Linux  Apache server is mostly available on Linux  Rpm –q –all | grep apache to check  This can be started via init services  /etc/rc.d/init.d/httpd start  Configuration files are at /etc/httpd/conf/  Normally log files at /var/log/httpd
  • 18. Lost Root Passwd  If you have Lilo installed, type  LILI: linux init 1  Change the root passwd, reboot aga  If you have installed grub  Type ‘e’ to go to edit mode, add init 1 argument at the end  Boot with knoppix or single floppy linux  Mount the disk and change root passwd  Reboot !!
  • 19. GNU/Linux & You (Computer Engineer)  Ok! ! !  Windows is more popular  90% of Desktop computers run Windows  But!  The 90% contains children, officers, …  How many CEs do use the Windows?  How many professional applications (supercomputing) do use the Linux?
  • 20. GNU/Linux & CEs  Linux is NOT for dummies  Linux is for CEs  Linux does NOT hide anything  In details boot message  Kernel messages  No registry  All config files are text files  Using Linux needs computer knowledge  You have the knowledge
  • 21. GNU/Linux & You  If you target PhD in Computer Science  You must learn Linux  Most tools, simulators, protocols, … are implemented & tested in Linux  If you target Engineering in Iran  Linux Administrator  Linux Application developer  Embedded Linux Developer
  • 22. Presented By : Beer Bahadur Singh Designation : Asst. S/W Engineer(Trainee) Id No : VGT 153 T