SlideShare una empresa de Scribd logo
1 de 50
- S.Poornima LAMP
[object Object]
Apache HTTP Server
MySQL (database software)  and
PHP
[object Object]
Apache -  Open source web server.
MySQL -  Multithreaded, Multi-user, SQL DBMS.
PHP -  Reflective programming language originally designed for producing dynamic web pages.
[object Object]
Easy to deploy a PHP app. Once we’ve got MySQL running, we can simply upload our .php files.
Develop locally
Cheap and ubiquitous hosting
LINUX(Operating System)
LINUX Linux  is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems.
[object Object]
Linux was developed by Linux Torvalds at the University of Helsinki in Finland.He started his work in 1991.
[object Object]
It is currently developed under the GNU public license and is freely available in source and binary form.
LINUX COMMANDS 1) cd -“Change Directory”.  ,[object Object]
4) ls - List all files in the current directory, in column format. 5) clear -Clear the terminal screen. 6) touch -Create empty file of zero byte. 7) rm -Delete a file. 8) which -Shows the full path of shell commands found in our path.
9) locate -  A quick way to search for files anywhere on the filesystem. 10) ps -Lists currently running process (programs). 11) w -Show who is logged on and what they are doing.
12) File - Knowing the File Type. 13) chown -Changing owner of a file. 14) unmask -Default file permission. 15) split -Split files Horizontally. 16) df - Report filesystem disk space usage. 17) id - Print your user-id and group id's
18) spell -displays a list of misspelled words. 19) ispell -Interactive spell-check program. 20) move -used to view the contents of the file page by page. 21) echo -Display text on the screen.
22) date -date to set your server's date and time 23) finger -Use finger to see who's on the system 24) cal -displays a calendar 25) mv -Move or rename files 26) shutdown -Shuts the system down.
27) whereis -Show where the binary, source and manual page files are for a command 28) who - show who is logged on 29) which -Find Command path 30) chmod -change file permissions
LINUX DIRECTORY STRUCTURE
LINUX DIRECTORIES < / > ,[object Object]
The starting point of your directory structure.
This is where the Linux system begins.
Every other file and directory on your system is under the root directory.
Usually the root directory contains only subdirectories.
< /boot > The place where Linux keeps information that it needs when booting up.  < /bin > The /bin directory contains the most important programs that the system needs to operate, such as the shells, ls, grep, and other essential things.
< /lib > The shared libraries for programs that are dynamically linked. < /sbin, /usr/sbin > Most system administration programs are stored in these directories.
< /mnt > ,[object Object]
The different physical storage devices  must be attached to some directory in the file system tree before they can be accessed.
This attaching is called mounting, and the directory where the device is attached is called the  mount point .
< /usr >   Contains user applications. /usr is the largest directory on a Linux system.  </usr/share> Config files and graphics for many user apps. < /usr/local > This is where you install apps and other files for use on the local machine.
< /var > ,[object Object]
Some interesting subdirectories:
</var/log >  -  contains system log files.
</var/mail>  - Incoming and outgoing mail.
</var/spool>  - This directory holds files that  are queued for some process, like printing.
ed   - Original UNIX line-based editor,  useful in  scripts  emacs  -  GNU editor and fully integrated  user environment  ex   -  Powerful line-based editor  (integrated with vi)  Editors
gawk   -  GNU awk, powerful text editor  for records containing fields  sed  -  Stream-oriented (non-interactive)  line-based editor  vi   - Classic screen-based editor for  UNIX  vim   -  Vi IMproved, enhanced support  for programmers
[object Object]
Full- screen editor
This editor is started by using the command vi at the shell prompt.
It works in three modes: vi EDITOR *command mode *input mode *ex mode
SHELL $vi malnad :x,:wq,:q! <enter> command mode insert  mode edit Text input THE SHELL PROMPT MODES OF THE VI EDITOR o,O,r,R,i,I,s,S,a,A into vi zz <esc> ex  mode

Más contenido relacionado

La actualidad más candente

101 3.2 process text streams using filters
101 3.2 process text streams using filters101 3.2 process text streams using filters
101 3.2 process text streams using filtersAcácio Oliveira
 
Linux powerpoint
Linux powerpointLinux powerpoint
Linux powerpointbijanshr
 
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 Scriptsbmguys
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)meashi
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumarymentorsnet
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & CommandsMohit Belwal
 
Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands Raghav Arora
 
Module 02 Using Linux Command Shell
Module 02 Using Linux Command ShellModule 02 Using Linux Command Shell
Module 02 Using Linux Command ShellTushar B Kute
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirects101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirectsAcácio Oliveira
 

La actualidad más candente (20)

Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
101 3.2 process text streams using filters
101 3.2 process text streams using filters101 3.2 process text streams using filters
101 3.2 process text streams using filters
 
Linux powerpoint
Linux powerpointLinux powerpoint
Linux powerpoint
 
Basic Linux day 2
Basic Linux day 2Basic Linux day 2
Basic Linux day 2
 
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
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
 
Unix
UnixUnix
Unix
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Basic Linux day 1
Basic Linux day 1Basic Linux day 1
Basic Linux day 1
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands
 
Basic linux day 3
Basic linux day 3Basic linux day 3
Basic linux day 3
 
Linuxs1
Linuxs1Linuxs1
Linuxs1
 
Module 02 Using Linux Command Shell
Module 02 Using Linux Command ShellModule 02 Using Linux Command Shell
Module 02 Using Linux Command Shell
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirects101 3.4 use streams, pipes and redirects
101 3.4 use streams, pipes and redirects
 
Basic linux day 5
Basic linux day 5Basic linux day 5
Basic linux day 5
 

Destacado (6)

Zend Server
Zend ServerZend Server
Zend Server
 
Php1
Php1Php1
Php1
 
Php1
Php1Php1
Php1
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Introducing drupal
Introducing  drupalIntroducing  drupal
Introducing drupal
 

Similar a Linuxppt

Operating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptOperating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptPDhivyabharathi2
 
Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritpingchockit88
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdfroschahacker
 
Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools Vu Hung Nguyen
 
Linux week 2
Linux week 2Linux week 2
Linux week 2Vinoth Sn
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsMeenalJabde
 
Lamp ppt
Lamp pptLamp ppt
Lamp pptReka
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals Sadia Bashir
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.pptKiranMantri
 
02 linux desktop usage
02 linux desktop usage02 linux desktop usage
02 linux desktop usageShay Cohen
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginnersNitesh Nayal
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdfasif64436
 

Similar a Linuxppt (20)

Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Operating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptOperating System Laboratory presentation .ppt
Operating System Laboratory presentation .ppt
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Linux basic
Linux basicLinux basic
Linux basic
 
Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritping
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
 
Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
 
Assignment OS LAB 2022
Assignment OS LAB 2022Assignment OS LAB 2022
Assignment OS LAB 2022
 
Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals
 
lec1.docx
lec1.docxlec1.docx
lec1.docx
 
Linux
LinuxLinux
Linux
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
 
02 linux desktop usage
02 linux desktop usage02 linux desktop usage
02 linux desktop usage
 
Linux for beginners
Linux for beginnersLinux for beginners
Linux for beginners
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
 

Último

EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...liera silvan
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Último (20)

EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 

Linuxppt

  • 2.
  • 5. PHP
  • 6.
  • 7. Apache - Open source web server.
  • 8. MySQL - Multithreaded, Multi-user, SQL DBMS.
  • 9. PHP - Reflective programming language originally designed for producing dynamic web pages.
  • 10.
  • 11. Easy to deploy a PHP app. Once we’ve got MySQL running, we can simply upload our .php files.
  • 15. LINUX Linux is a Unix-like operating system that was designed to provide personal computer users a free or very low-cost operating system comparable to traditional and usually more expensive Unix systems.
  • 16.
  • 17. Linux was developed by Linux Torvalds at the University of Helsinki in Finland.He started his work in 1991.
  • 18.
  • 19. It is currently developed under the GNU public license and is freely available in source and binary form.
  • 20.
  • 21. 4) ls - List all files in the current directory, in column format. 5) clear -Clear the terminal screen. 6) touch -Create empty file of zero byte. 7) rm -Delete a file. 8) which -Shows the full path of shell commands found in our path.
  • 22. 9) locate - A quick way to search for files anywhere on the filesystem. 10) ps -Lists currently running process (programs). 11) w -Show who is logged on and what they are doing.
  • 23. 12) File - Knowing the File Type. 13) chown -Changing owner of a file. 14) unmask -Default file permission. 15) split -Split files Horizontally. 16) df - Report filesystem disk space usage. 17) id - Print your user-id and group id's
  • 24. 18) spell -displays a list of misspelled words. 19) ispell -Interactive spell-check program. 20) move -used to view the contents of the file page by page. 21) echo -Display text on the screen.
  • 25. 22) date -date to set your server's date and time 23) finger -Use finger to see who's on the system 24) cal -displays a calendar 25) mv -Move or rename files 26) shutdown -Shuts the system down.
  • 26. 27) whereis -Show where the binary, source and manual page files are for a command 28) who - show who is logged on 29) which -Find Command path 30) chmod -change file permissions
  • 28.
  • 29. The starting point of your directory structure.
  • 30. This is where the Linux system begins.
  • 31. Every other file and directory on your system is under the root directory.
  • 32. Usually the root directory contains only subdirectories.
  • 33. < /boot > The place where Linux keeps information that it needs when booting up. < /bin > The /bin directory contains the most important programs that the system needs to operate, such as the shells, ls, grep, and other essential things.
  • 34. < /lib > The shared libraries for programs that are dynamically linked. < /sbin, /usr/sbin > Most system administration programs are stored in these directories.
  • 35.
  • 36. The different physical storage devices must be attached to some directory in the file system tree before they can be accessed.
  • 37. This attaching is called mounting, and the directory where the device is attached is called the mount point .
  • 38. < /usr > Contains user applications. /usr is the largest directory on a Linux system. </usr/share> Config files and graphics for many user apps. < /usr/local > This is where you install apps and other files for use on the local machine.
  • 39.
  • 41. </var/log > - contains system log files.
  • 42. </var/mail> - Incoming and outgoing mail.
  • 43. </var/spool> - This directory holds files that are queued for some process, like printing.
  • 44. ed - Original UNIX line-based editor, useful in scripts emacs - GNU editor and fully integrated user environment ex - Powerful line-based editor (integrated with vi) Editors
  • 45. gawk - GNU awk, powerful text editor for records containing fields sed - Stream-oriented (non-interactive) line-based editor vi - Classic screen-based editor for UNIX vim - Vi IMproved, enhanced support for programmers
  • 46.
  • 48. This editor is started by using the command vi at the shell prompt.
  • 49. It works in three modes: vi EDITOR *command mode *input mode *ex mode
  • 50. SHELL $vi malnad :x,:wq,:q! <enter> command mode insert mode edit Text input THE SHELL PROMPT MODES OF THE VI EDITOR o,O,r,R,i,I,s,S,a,A into vi zz <esc> ex mode
  • 51.
  • 52. Keys pressed by the user are interpreted to be the editor commands.
  • 53.
  • 57. a,A – Apendition (read as Orissa) The control can be brought back to the command mode by using <Esc> key. o,O,r,R,i,I,s,S,a,A
  • 58.
  • 59. In fact last line is called as command line .
  • 60.
  • 61. User can get back to the command mode from ex mode by using Enter key.
  • 62. The control can be brought back to the command mode from input mode by using <Esc> key.
  • 63. The actual editing is done in vi editor in the buffer called editor buffer. Following cmds are used to quit from vi editor: 1. zz -last command.Saves the file in change mode and then quits. 2. :w -Just saves or writes the buffer contents on to disk file and remains in cmd mode. Quitting the vi Editor
  • 64. 3. :x -Saves the file in change mode and then quits. 4. :wq - write and quuit.Behaves exactly like :x. 5. :q -Quits the vi env --if change made in editor is already written. --if changes made is not written or saved.It will give suitable message. 6. :q! -Quits the vi env without saving the buffer contents even changes are made.
  • 65. MOVING THE CURSOR 1.Moving by One Position: I j Backspace Moves cursor by one character position left. Moves cursor up one line from its present position in same column. Moves cursor down one line from its present position in same column. Spacebar Moves cursor by one character position right. k h
  • 66. Moving the cursor: $(dollar) - Moves to the end of the Current line 0(zero) - Moves to the beginning of the Current line. ^(caret) -Moves to the first non-blank character at the beginning of the Current line
  • 67. H(High) -Moves to beginning of Top line of current screen. L(Low) -Moves to beginning of last line of current screen. M(Middle) -Moves to beginning of Middle line of current screen.
  • 68. * date *pwd *mkdir *rmdir * cat *cp *split *awk * expr *find *cd *ls *csplit *ln *mv * rm * split * awk *cut *diff *grep * head *line *sed SCRIPTING FILES
  • 69. *Audacity: Audacity is a free, easy-to-use audio editor and recorder for Windows,Mac OS X, GNU/Linux and other operating systems. *Grip: A cd-player and cd-ripper for Gnome desktop. APPLICATIONS
  • 70. *Inkscape: An Open Source vector graphics editor similar to Illustrator, CorelDraw using the W3C standard Scalable Vector Graphics (SVG) file format. *Ardour: U sed to to record, edit and mix multi-track audio.
  • 71.
  • 72. The term cron is derived from the word chronograph.
  • 73. Cron is a system deamon that keeps sleeping most of the time.
  • 74.
  • 75. All users have a crontab file of his or her own.
  • 76. The name of this crontab file will be the user's login name.
  • 77.
  • 78. Cron tab files will be present in the
  • 79. /var/ spool/ cron/ crontabs directory .
  • 80. A crontab may contain one or more files,each corresponding to a command that is to be executed periodically at a specific day, date and time.
  • 81. Minute (0-59) Command to be executed day of week (0-6) 0 being sunday month(1-12) day of month (1-31) Hour (24-h format) Syntax of a crontab line Every line is made up of six fields seperated by a Blank .
  • 82.
  • 83. For example, if a * character appears in the fifth field, then the command mentioned in the line will be executed on all days of the week at the specified time.
  • 84.
  • 85. If neccessary group of numbers can be specified within a single field seperated by commas.
  • 86. Below are two typical crontab lines. 1. 0 0 * * * backup.sh When executed, the above line runs the backup.sh script at midnight everyday .
  • 87. 2. 00,30 09-17 * * 1-5 mail.sh When execute, the above lines runs the mail.sh script on all weekdays-Monday to Friday every half hour between 9 and 17 hours
  • 88.
  • 89. every cmd has to be written in a seperate line having the above format in a seperate file.
  • 90. Then it is submitted to crontab command, as shown below, where cmdfile is the name of the file executed periodically. $crontab cmdfile
  • 91.
  • 92. However, in certain cases,certain users are permitted to use.
  • 93. The username of those users will be in a file named cron.allow.
  • 94.
  • 95. Obviously system administrator maintains all these files.