SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
[object Object]
Linux has a reputation as a very efficient and fast-performing system.
Linux was developed by Linux Torvalds at the University of Helsinki in Finland. He started his work in 1991. The effort expanded with volunteers contributing code and documentation over the internet. It is currently developed under the GNU public license and is freely available in source and binary form.
LINUX COMMANDS ,[object Object]
4) ls -List all files in the current directory, in column format. Eg:fp088@pbs088:~$ ls Desktop  Downloads  Music  Public  Videos Documents  examples.desktop  Pictures  Templates 5) clear -Clear the terminal screen 6) touch -Create empty file of zero byte Eg: fp088@pbs088:~$ touch aa 7) rm -Delete a file. Eg: fp088@pbs088:~$ rm aa 8) which -Shows the full path of shell commands found in our path Eg:fp088@pbs088:~$ which grep /bin/grep
9) locate -A quick way to search for files anywhere on the filesystem. 10) ps -Lists currently running process (programs). Eg:  fp088@pbs088:~$ ps PID TTY  TIME CMD 1797 pts/0  00:00:00 bash 2336 pts/0  00:00:00 ps 11) w -Show who is logged on and what they are doing. Eg: fp088@pbs088:~$ w 11:05:22 up  1:32,  2 users,  load average: 0.01, 0.02, 0.01 USER  TTY  FROM  LOGIN@  IDLE  JCPU  PCPU WHAT fp088  tty7  :0  09:33  ?  3:58  0.19s gnome-session fp088  pts/0  :0.0  09:35  0.00s  0.27s  0.01s w 12) id -Print your user-id and group id's Eg:$ id uid=1000(fp088) gid=1000(fp088)  groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(fp088)
13)df-Report filesystem disk space usage. Eg:~$ df Filesystem  1K-blocks  Used Available Use% Mounted on /dev/sda1  73742752  2729736  67267064  4% / udev  997964  208  997756  1% /dev none  997964  1540  996424  1% /dev/shm none  997964  88  997876  1% /var/run none  997964  0  997964  0% /var/lock none  997964  0  997964  0% /lib/init/rw 14)echo-Display text on the screen. Eg:echo "hello World" hello World 15)date-date to set your server's date and time 16)finger-Use finger to see who's on the system Eg:~$ finger Login  Name  Tty  Idle  Login Time  Office  Office Phone fp088  fp088  tty7  May 20 09:33 (:0) fp088  fp088  pts/0  May 20 09:35 (:0.0)
17)cal-displays a calendar Eg:$ cal May 2010  Su Mo Tu We Th Fr Sa 1 2  3  4  5  6  7  8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31  18)ls -al List all files in the current working directory in long listing format showing permissions, ownership, size, and time and date stamp 19)more-Allows file contents or piped output to be sent to the screen one page at a time.  <ls -al |more> 20)mv-Move or rename files mv -i myfile yourfile Move the file from &quot;myfile&quot; to &quot;yourfile&quot;. This effectively changes the name of &quot;myfile&quot; to &quot;yourfile&quot;. 21)shutdown -Shuts the system down. <shutdown -h now> Shuts the system down to halt immediately.
22)whereis-Show where the binary, source and manual page files are for a command <whereis ls> Locates binaries and manual pages for the ls command. Eg:~$ whereis ls ls: /bin/ls /usr/share/man/man1/ls.1.gz 23)who-show who is logged on Eg:~$ who fp088  tty7  2010-05-20 13:36 (:0) fp088  pts/0  2010-05-20 13:37 (:0.0) 24)which-Find Command path 25)chmod-change file permissions
[object Object]
jed  - has pretty good emacs emulation (it can even read mail like emacs!). It does simple syntax highlighting for TeX files, including giving positioning of parentheses.
It would seem to be pretty configurable and takes up much less disk space than emacs, although more than joe and muemacs. It works well in console mode, and still manages to use colors for menu bars and syntax highlighting.
The program xjed which comes with some versions starts up its own X terminal when invoked.  Editors
[object Object]
jove  - &quot;Joe's Own Version of Emacs&quot;. I tried this out a couple of times and managed to crash it when making some minor errors in command syntax.
microemacs (JASSPA)  - spinoff of muemacs. Pretty powerful and configurable, while not taking up too much disk space or memory.
muemacs  - a fairly powerful emacs clone whose binary is actually smaller than that of the Joe editor.
emacs  - powerful text editor that includes modules for reading and sending mail and postings to newsgroups, and a browser module. For editing TEX and LATEX files, the AucTEX addon package is invaluable, and makes emacs pretty hard to beat as an editor with LATEX.
nedit  - an X Window based text editor. Of all text editors for Linux , it has commands which are closest to Windows text editors, for cursor movement, highlighting, marking text, etc. It has very good syntax highlighting for both LATEX and HTML.  pico  - simple text editor. It often comes packaged with the Pine mail user agent.  vi  - included with most Linux distributions. If you're not used to the syntax, it can be pretty hard to understand.  vim  - improved version of vi  xedit  - simple text editor included with many Linux distributions
/  Root |---root  The home directory for the root user |---home  Contains the user's home directories |  |----ftp  Users include many services as listed here |  |----httpd |  |----samba |  |----user1 |  |----user2 |---bin  Commands needed during bootup that might be needed by normal users |---sbin  Like bin but commands are not intended for normal users.  Commands run by LINUX. |---proc  This filesystem is not on a disk.  Exists in the kernels imagination (virtual).  This directory |  |  Holds information about kernel parameters and system configuration. |  |----1  A directory with info about process number 1.  Each process |  has a directory below proc.  |---usr  Contains all commands, libraries, man pages, games and static files for normal |  |  operation. |  |----bin  Almost all user commands.  some commands are in /bin or /usr/local/bin. |  |----sbin  System admin commands not needed on the root filesystem.  e.g., most server  |  |  programs. |  |----include  Header files for the C programming language.  Should be below /user/lib for |  |  consistency. |  |----lib  Unchanging data files for programs and subsystems |  |----local  The place for locally installed software and other files. |  |----man  Manual pages |  |----info  Info documents |  |----doc  Documentation for various packages |  |----tmp |  |----X11R6  The X windows system files.  There is a directory similar to usr below this  |  |  directory. |  |----X386  Like X11R6 but for X11 release 5 |
---boot  Files used by the bootstrap loader, LILO.  Kernel images are often kept here. |---lib  Shared libraries needed by the programs on the root filesystem |  |----modules  Loadable kernel modules, especially those needed to boot the system after |  disasters. |---dev  Device files for devices such as disk drives, serial ports, etc. |---etc  Configuration files specific to the machine. |  |----skel  When a home directory is created it is initialized with files from this directory |  |----sysconfig  Files that configure the linux system for networking, keyboard, time, and more. |---var  Contains files that change for mail, news, printers log files, man pages, temp files |  |----file |  |----lib  Files that change while the system is running normally |  |----local  Variable data for programs installed in /usr/local. |  |----lock  Lock files.  Used by a program to indicate it is using a particular device or file |  |----log  Log files from programs such as login and syslog which logs all logins, |  |  logouts, and other system messages. |  |----run  Files that contain information about the system that is valid until the system is |  |  next booted |  |----spool  Directories for mail, printer spools, news and other spooled work. |  |----tmp  Temporary files that are large or need to exist for longer than they should in |  |  /tmp. |  |----catman  A cache for man pages that are formatted on demand |---mnt  Mount points for temporary mounts by the system administrator. |---tmp  Temporary files.  Programs running after bootup should use /var/tmp.
My SQL # MySQL is a relational database management system (RDBMS).  # A relational database management system which runs a server, providing multi-user access to a number of databases. # SQL (Structured Query Language) is a standard interactive and programming language for getting information from and updating a database.  # MySQL is currently the most popular open source database server in existence.
# Structured Query Langauge is cross between a math-like language and an English-like language that allows us to ask a database questions or tell it do do things. There is a structure to this language: it uses English phrases to define an action, but uses math-like symbols to make comparisons. For example: SELECT * FROM table; Where 'SELECT', 'FROM' and 'table' are in English, but '*' is a symbol that means all . USES: Many web applications use MySQL as the database component of a  LAMP  software stack.   Its popularity for use with web applications is closely tied to the popularity of  PHP , which is often combined with MySQL.  Several high-traffic web sites including  Flickr, Facebook, Wikipedia, Google, Nokia and YouTube  use MySQL for data storage and logging of user data.
BASIC QUERIES Some basic Query commands in MySQL. This includes  ,[object Object]
SELECT Command - is used to  retrieve  data from the database.
DELETE Command - is used to  delete  data from the database.
INSERT Command - is used to  insert  data into a database.
UPDATE Command - is used to  update  the data in a table.
DROP Command - is used to  delete or drop  the database/table.  .
CREATE Command : The Create command is used to create a table by specifying the tablename, fieldnames and constraints. Syntax: $createSQL=(&quot;CREATE TABLE tblName&quot;); Example: $createSQL=(&quot;CREATE TABLE tblstudent(fldstudid int(10) NOTNULL AUTO_INCREMENT PRIMARY KEY,fldstudName VARCHAR(250) NOTNULL,fldstudentmark int(4) DEFAULT '0' &quot;); SELECT Command: The Select command is used to select the records from a table using its field names. To select all the fields in a table, '*' is used in the command. The result is assigned to a variable name as shown below: Syntax: $selectSQL=(&quot;SELECT field_names FROM tablename&quot;); Example: $selectSQL=(&quot;SELECT * FROM tblstudent&quot;);
DELETE Comman d: The Delete command is used to delete the records from a table using conditions as shown below: Syntax: $deleteSQL=(&quot;DELETE * FROM tablename WHERE condition&quot;); Example: $deleteSQL=(&quot;DELETE * FROM tblstudent WHERE fldstudid=2&quot;); INSERT Command: The Insert command is used to insert records into a table. The values are assigned to the field names as shown below: Syntax : $insertSQL=(&quot;INSERT INTO tblname(fieldname1,fieldname2..) VALUES(value1,value2,...) &quot;); Example: $insertSQL=(&quot;INSERT INTO Tblstudent(fldstudName,fldstudmark)VALUES(Baskar,75) &quot;);

Contenu connexe

Tendances

Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptwebhostingguy
 
Apache Tutorial
Apache TutorialApache Tutorial
Apache TutorialGuru99
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xamppJin Castor
 
Apache web server
Apache web serverApache web server
Apache web serverSabiha M
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarniwebhostingguy
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package ManagerKlaus Hofeditz
 
Apache ppt
Apache pptApache ppt
Apache pptReka
 
Web server installation_configuration_apache
Web server installation_configuration_apacheWeb server installation_configuration_apache
Web server installation_configuration_apacheShaojie Yang
 
Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hostingwebhostingguy
 

Tendances (19)

Apache ppt
Apache pptApache ppt
Apache ppt
 
Linux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.pptLinux Webserver Installation Command and GUI.ppt
Linux Webserver Installation Command and GUI.ppt
 
Apache Tutorial
Apache TutorialApache Tutorial
Apache Tutorial
 
Guide koha
Guide kohaGuide koha
Guide koha
 
Apache Ppt
Apache PptApache Ppt
Apache Ppt
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xampp
 
Apache web server
Apache web serverApache web server
Apache web server
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
 
Apache
ApacheApache
Apache
 
Apache Web Server Setup 2
Apache Web Server Setup 2Apache Web Server Setup 2
Apache Web Server Setup 2
 
]project-open[ Package Manager
]project-open[ Package Manager]project-open[ Package Manager
]project-open[ Package Manager
 
Lamp
LampLamp
Lamp
 
$ make install
$ make install$ make install
$ make install
 
Babitha.4appach
Babitha.4appachBabitha.4appach
Babitha.4appach
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Web server installation_configuration_apache
Web server installation_configuration_apacheWeb server installation_configuration_apache
Web server installation_configuration_apache
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Apache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual HostingApache web server installation/configuration, Virtual Hosting
Apache web server installation/configuration, Virtual Hosting
 

En vedette

Lamp technology seminar final
Lamp technology seminar finalLamp technology seminar final
Lamp technology seminar finalAkmal Hussain
 
LAMP (Loop Mediated Isothermal Amplification)
LAMP (Loop Mediated Isothermal Amplification)LAMP (Loop Mediated Isothermal Amplification)
LAMP (Loop Mediated Isothermal Amplification)Varij Nayan
 
LED Lighting Presentation
LED Lighting PresentationLED Lighting Presentation
LED Lighting Presentationrobcohen
 
Different types of lamps
Different  types of lampsDifferent  types of lamps
Different types of lampsMadhav Chhabra
 
RAIN TECHNOLOGY
RAIN TECHNOLOGYRAIN TECHNOLOGY
RAIN TECHNOLOGY127r1a05h9
 
Holographic Laser Projection Technology
Holographic Laser Projection TechnologyHolographic Laser Projection Technology
Holographic Laser Projection TechnologyGa S
 
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...Jasmina Najjar
 
Rbi securitisation guidelines may 2012 icra
Rbi securitisation guidelines   may 2012 icraRbi securitisation guidelines   may 2012 icra
Rbi securitisation guidelines may 2012 icraarjunarikeri
 
The Broom Wielding Goddess of Good Governance
The Broom Wielding Goddess of Good GovernanceThe Broom Wielding Goddess of Good Governance
The Broom Wielding Goddess of Good GovernanceManushiIndia
 
Testing Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayTesting Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayClever Moe
 
Basic Cuts of Lamb
Basic Cuts of LambBasic Cuts of Lamb
Basic Cuts of LambCM
 
Microsoft Silverlight - An Introduction
Microsoft Silverlight - An IntroductionMicrosoft Silverlight - An Introduction
Microsoft Silverlight - An IntroductionMohammad Elsheimy
 

En vedette (20)

Lamp technology
Lamp technologyLamp technology
Lamp technology
 
Lamp technology seminar final
Lamp technology seminar finalLamp technology seminar final
Lamp technology seminar final
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
LAMP (Loop Mediated Isothermal Amplification)
LAMP (Loop Mediated Isothermal Amplification)LAMP (Loop Mediated Isothermal Amplification)
LAMP (Loop Mediated Isothermal Amplification)
 
introduction to Lamp Stack
introduction to Lamp Stackintroduction to Lamp Stack
introduction to Lamp Stack
 
LAMP PCR
LAMP PCRLAMP PCR
LAMP PCR
 
Types of Lamps
Types of LampsTypes of Lamps
Types of Lamps
 
LED Lighting Presentation
LED Lighting PresentationLED Lighting Presentation
LED Lighting Presentation
 
Different types of lamps
Different  types of lampsDifferent  types of lamps
Different types of lamps
 
RAIN TECHNOLOGY
RAIN TECHNOLOGYRAIN TECHNOLOGY
RAIN TECHNOLOGY
 
Fogscreen
FogscreenFogscreen
Fogscreen
 
Lamp seminar ppt
Lamp seminar pptLamp seminar ppt
Lamp seminar ppt
 
Holographic Laser Projection Technology
Holographic Laser Projection TechnologyHolographic Laser Projection Technology
Holographic Laser Projection Technology
 
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...
Broom Blast! Connect & Combine Assignment- Stanford, A Crash Course on Creati...
 
Rbi securitisation guidelines may 2012 icra
Rbi securitisation guidelines   may 2012 icraRbi securitisation guidelines   may 2012 icra
Rbi securitisation guidelines may 2012 icra
 
The Broom Wielding Goddess of Good Governance
The Broom Wielding Goddess of Good GovernanceThe Broom Wielding Goddess of Good Governance
The Broom Wielding Goddess of Good Governance
 
Testing Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile WayTesting Ajax, Mobile Apps the Agile Way
Testing Ajax, Mobile Apps the Agile Way
 
Basic Cuts of Lamb
Basic Cuts of LambBasic Cuts of Lamb
Basic Cuts of Lamb
 
Microsoft Silverlight - An Introduction
Microsoft Silverlight - An IntroductionMicrosoft Silverlight - An Introduction
Microsoft Silverlight - An Introduction
 
Future tecnology
Future tecnologyFuture tecnology
Future tecnology
 

Similaire à Lamp ppt (20)

Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
Ppt
PptPpt
Ppt
 
Linux
LinuxLinux
Linux
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systems
 
Lamp1
Lamp1Lamp1
Lamp1
 
Lamp
LampLamp
Lamp
 
Lamp1
Lamp1Lamp1
Lamp1
 
Tutorial 2
Tutorial 2Tutorial 2
Tutorial 2
 
Linux filesystemhierarchy
Linux filesystemhierarchyLinux filesystemhierarchy
Linux filesystemhierarchy
 
Linux Cheat Sheet.pdf
Linux Cheat Sheet.pdfLinux Cheat Sheet.pdf
Linux Cheat Sheet.pdf
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
linux.pdf
linux.pdflinux.pdf
linux.pdf
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux Internals - Part I
Linux Internals - Part ILinux Internals - Part I
Linux Internals - Part I
 
Linuxs1
Linuxs1Linuxs1
Linuxs1
 
Basic orientation to Linux
Basic orientation to LinuxBasic orientation to Linux
Basic orientation to Linux
 

Plus de poornima sugumaran (9)

Php1
Php1Php1
Php1
 
Php1
Php1Php1
Php1
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Php1
Php1Php1
Php1
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Computer graphics1
Computer graphics1Computer graphics1
Computer graphics1
 

Dernier

How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17Celine George
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfMohonDas
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxvidhisharma994099
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeCeline George
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...CaraSkikne1
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTDR. SNEHA NAIR
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
Optical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxOptical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxPurva Nikam
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesCeline George
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustSavipriya Raghavendra
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
Work Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashaWork Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashasashalaycock03
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxCapitolTechU
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSyedNadeemGillANi
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxraviapr7
 

Dernier (20)

How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17
 
Department of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdfDepartment of Health Compounder Question ‍Solution 2022.pdf
Department of Health Compounder Question ‍Solution 2022.pdf
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptx
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using Code
 
5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...5 charts on South Africa as a source country for international student recrui...
5 charts on South Africa as a source country for international student recrui...
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
Optical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptxOptical Fibre and It's Applications.pptx
Optical Fibre and It's Applications.pptx
 
How to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 SalesHow to Manage Cross-Selling in Odoo 17 Sales
How to Manage Cross-Selling in Odoo 17 Sales
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
Work Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sashaWork Experience for psp3 portfolio sasha
Work Experience for psp3 portfolio sasha
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
 
Prescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptxPrescribed medication order and communication skills.pptx
Prescribed medication order and communication skills.pptx
 

Lamp ppt

  • 1.
  • 2. Linux has a reputation as a very efficient and fast-performing system.
  • 3. Linux was developed by Linux Torvalds at the University of Helsinki in Finland. He started his work in 1991. The effort expanded with volunteers contributing code and documentation over the internet. It is currently developed under the GNU public license and is freely available in source and binary form.
  • 4.
  • 5. 4) ls -List all files in the current directory, in column format. Eg:fp088@pbs088:~$ ls Desktop Downloads Music Public Videos Documents examples.desktop Pictures Templates 5) clear -Clear the terminal screen 6) touch -Create empty file of zero byte Eg: fp088@pbs088:~$ touch aa 7) rm -Delete a file. Eg: fp088@pbs088:~$ rm aa 8) which -Shows the full path of shell commands found in our path Eg:fp088@pbs088:~$ which grep /bin/grep
  • 6. 9) locate -A quick way to search for files anywhere on the filesystem. 10) ps -Lists currently running process (programs). Eg: fp088@pbs088:~$ ps PID TTY TIME CMD 1797 pts/0 00:00:00 bash 2336 pts/0 00:00:00 ps 11) w -Show who is logged on and what they are doing. Eg: fp088@pbs088:~$ w 11:05:22 up 1:32, 2 users, load average: 0.01, 0.02, 0.01 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT fp088 tty7 :0 09:33 ? 3:58 0.19s gnome-session fp088 pts/0 :0.0 09:35 0.00s 0.27s 0.01s w 12) id -Print your user-id and group id's Eg:$ id uid=1000(fp088) gid=1000(fp088) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),120(sambashare),1000(fp088)
  • 7. 13)df-Report filesystem disk space usage. Eg:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 73742752 2729736 67267064 4% / udev 997964 208 997756 1% /dev none 997964 1540 996424 1% /dev/shm none 997964 88 997876 1% /var/run none 997964 0 997964 0% /var/lock none 997964 0 997964 0% /lib/init/rw 14)echo-Display text on the screen. Eg:echo &quot;hello World&quot; hello World 15)date-date to set your server's date and time 16)finger-Use finger to see who's on the system Eg:~$ finger Login Name Tty Idle Login Time Office Office Phone fp088 fp088 tty7 May 20 09:33 (:0) fp088 fp088 pts/0 May 20 09:35 (:0.0)
  • 8. 17)cal-displays a calendar Eg:$ cal May 2010 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 18)ls -al List all files in the current working directory in long listing format showing permissions, ownership, size, and time and date stamp 19)more-Allows file contents or piped output to be sent to the screen one page at a time. <ls -al |more> 20)mv-Move or rename files mv -i myfile yourfile Move the file from &quot;myfile&quot; to &quot;yourfile&quot;. This effectively changes the name of &quot;myfile&quot; to &quot;yourfile&quot;. 21)shutdown -Shuts the system down. <shutdown -h now> Shuts the system down to halt immediately.
  • 9. 22)whereis-Show where the binary, source and manual page files are for a command <whereis ls> Locates binaries and manual pages for the ls command. Eg:~$ whereis ls ls: /bin/ls /usr/share/man/man1/ls.1.gz 23)who-show who is logged on Eg:~$ who fp088 tty7 2010-05-20 13:36 (:0) fp088 pts/0 2010-05-20 13:37 (:0.0) 24)which-Find Command path 25)chmod-change file permissions
  • 10.
  • 11. jed - has pretty good emacs emulation (it can even read mail like emacs!). It does simple syntax highlighting for TeX files, including giving positioning of parentheses.
  • 12. It would seem to be pretty configurable and takes up much less disk space than emacs, although more than joe and muemacs. It works well in console mode, and still manages to use colors for menu bars and syntax highlighting.
  • 13. The program xjed which comes with some versions starts up its own X terminal when invoked. Editors
  • 14.
  • 15. jove - &quot;Joe's Own Version of Emacs&quot;. I tried this out a couple of times and managed to crash it when making some minor errors in command syntax.
  • 16. microemacs (JASSPA) - spinoff of muemacs. Pretty powerful and configurable, while not taking up too much disk space or memory.
  • 17. muemacs - a fairly powerful emacs clone whose binary is actually smaller than that of the Joe editor.
  • 18. emacs - powerful text editor that includes modules for reading and sending mail and postings to newsgroups, and a browser module. For editing TEX and LATEX files, the AucTEX addon package is invaluable, and makes emacs pretty hard to beat as an editor with LATEX.
  • 19. nedit - an X Window based text editor. Of all text editors for Linux , it has commands which are closest to Windows text editors, for cursor movement, highlighting, marking text, etc. It has very good syntax highlighting for both LATEX and HTML. pico - simple text editor. It often comes packaged with the Pine mail user agent. vi - included with most Linux distributions. If you're not used to the syntax, it can be pretty hard to understand. vim - improved version of vi xedit - simple text editor included with many Linux distributions
  • 20. / Root |---root The home directory for the root user |---home Contains the user's home directories | |----ftp Users include many services as listed here | |----httpd | |----samba | |----user1 | |----user2 |---bin Commands needed during bootup that might be needed by normal users |---sbin Like bin but commands are not intended for normal users. Commands run by LINUX. |---proc This filesystem is not on a disk. Exists in the kernels imagination (virtual). This directory | | Holds information about kernel parameters and system configuration. | |----1 A directory with info about process number 1. Each process | has a directory below proc. |---usr Contains all commands, libraries, man pages, games and static files for normal | | operation. | |----bin Almost all user commands. some commands are in /bin or /usr/local/bin. | |----sbin System admin commands not needed on the root filesystem. e.g., most server | | programs. | |----include Header files for the C programming language. Should be below /user/lib for | | consistency. | |----lib Unchanging data files for programs and subsystems | |----local The place for locally installed software and other files. | |----man Manual pages | |----info Info documents | |----doc Documentation for various packages | |----tmp | |----X11R6 The X windows system files. There is a directory similar to usr below this | | directory. | |----X386 Like X11R6 but for X11 release 5 |
  • 21. ---boot Files used by the bootstrap loader, LILO. Kernel images are often kept here. |---lib Shared libraries needed by the programs on the root filesystem | |----modules Loadable kernel modules, especially those needed to boot the system after | disasters. |---dev Device files for devices such as disk drives, serial ports, etc. |---etc Configuration files specific to the machine. | |----skel When a home directory is created it is initialized with files from this directory | |----sysconfig Files that configure the linux system for networking, keyboard, time, and more. |---var Contains files that change for mail, news, printers log files, man pages, temp files | |----file | |----lib Files that change while the system is running normally | |----local Variable data for programs installed in /usr/local. | |----lock Lock files. Used by a program to indicate it is using a particular device or file | |----log Log files from programs such as login and syslog which logs all logins, | | logouts, and other system messages. | |----run Files that contain information about the system that is valid until the system is | | next booted | |----spool Directories for mail, printer spools, news and other spooled work. | |----tmp Temporary files that are large or need to exist for longer than they should in | | /tmp. | |----catman A cache for man pages that are formatted on demand |---mnt Mount points for temporary mounts by the system administrator. |---tmp Temporary files. Programs running after bootup should use /var/tmp.
  • 22. My SQL # MySQL is a relational database management system (RDBMS). # A relational database management system which runs a server, providing multi-user access to a number of databases. # SQL (Structured Query Language) is a standard interactive and programming language for getting information from and updating a database. # MySQL is currently the most popular open source database server in existence.
  • 23. # Structured Query Langauge is cross between a math-like language and an English-like language that allows us to ask a database questions or tell it do do things. There is a structure to this language: it uses English phrases to define an action, but uses math-like symbols to make comparisons. For example: SELECT * FROM table; Where 'SELECT', 'FROM' and 'table' are in English, but '*' is a symbol that means all . USES: Many web applications use MySQL as the database component of a LAMP software stack. Its popularity for use with web applications is closely tied to the popularity of PHP , which is often combined with MySQL. Several high-traffic web sites including Flickr, Facebook, Wikipedia, Google, Nokia and YouTube use MySQL for data storage and logging of user data.
  • 24.
  • 25. SELECT Command - is used to retrieve data from the database.
  • 26. DELETE Command - is used to delete data from the database.
  • 27. INSERT Command - is used to insert data into a database.
  • 28. UPDATE Command - is used to update the data in a table.
  • 29. DROP Command - is used to delete or drop the database/table. .
  • 30. CREATE Command : The Create command is used to create a table by specifying the tablename, fieldnames and constraints. Syntax: $createSQL=(&quot;CREATE TABLE tblName&quot;); Example: $createSQL=(&quot;CREATE TABLE tblstudent(fldstudid int(10) NOTNULL AUTO_INCREMENT PRIMARY KEY,fldstudName VARCHAR(250) NOTNULL,fldstudentmark int(4) DEFAULT '0' &quot;); SELECT Command: The Select command is used to select the records from a table using its field names. To select all the fields in a table, '*' is used in the command. The result is assigned to a variable name as shown below: Syntax: $selectSQL=(&quot;SELECT field_names FROM tablename&quot;); Example: $selectSQL=(&quot;SELECT * FROM tblstudent&quot;);
  • 31. DELETE Comman d: The Delete command is used to delete the records from a table using conditions as shown below: Syntax: $deleteSQL=(&quot;DELETE * FROM tablename WHERE condition&quot;); Example: $deleteSQL=(&quot;DELETE * FROM tblstudent WHERE fldstudid=2&quot;); INSERT Command: The Insert command is used to insert records into a table. The values are assigned to the field names as shown below: Syntax : $insertSQL=(&quot;INSERT INTO tblname(fieldname1,fieldname2..) VALUES(value1,value2,...) &quot;); Example: $insertSQL=(&quot;INSERT INTO Tblstudent(fldstudName,fldstudmark)VALUES(Baskar,75) &quot;);
  • 32. UPDATE Command: The Update command is used to update the field values using conditions. This is done using 'SET' and the fieldnames to assign new values to them. Syntax: $updateSQL=(&quot;UPDATE Tblname SET (fieldname1=value1,fieldname2=value2,...) WHERE fldstudid=IdNumber&quot;); Example : $updateSQL=(&quot;UPDATE Tblstudent SET (fldstudName=siva,fldstudmark=100) WHERE fldstudid=2&quot;); DROP Command: The Drop command is used to delete all the records in a table using the table name as shown below: Syntax: $dropSQL=(&quot;DROP tblName&quot;); Example : $dropSQL=(&quot;DROP tblstudent&quot;);
  • 33. Advanced functions and queries that can be useful when building more complex applications. INNER JOIN: INNER JOIN is used to retrieve the data from all tables listed based on condition listed after keyword ON. If the condition is not meet, nothing is returned. For Eg: We have employees table and offices table. Two tables are linked together by the column officeCode. To find out who is in which country and state we can use INNER JOIN to join these tables. Here is the SQL code: SELECT employees.firstname, employees.lastname, offices.country, offices.state FROM employees INNER JOIN offices ON offices.officeCode = employees.officeCode ADVANCED QUERIES
  • 34. REPLACE: The REPLACE function searches a character string and replaces characters found in a search string with characters listed in a replacement string. Syntax : REPLACE(character_string, search_string, replacement_string) * character_string ->the string to be searched. * search_string -> the string of one or more characters to be found in chr String. * replacement_string ->the string that replaces any occurrences of search_string that are found in character_string. Example: R eplaces hyphens (dashes) found in a person’s phone number with periods. SELECT PERSON_PHONE, REPLACE(PERSON_PHONE,'-','.') AS DISPLAY_PHONE FROM PERSON; PERSON_PHONE DISPLAY_PHONE --------------- --------------- 230-229-8976 230.229.8976 401-617-7297 401.617.7297
  • 35. LTRIM The LTRIM function removes any leading (left-hand) spaces in a character string.Only leading spaces are removed—embedded and trailing spaces are left in the string. Eg: LTRIM (' String with spaces ') Returns this string: 'String with spaces ' RTRIM The RTRIM function works like LTRIM, but it removes trailing spaces. If we need to remove both leading and trailing spaces, you can nest LTRIM and RTRIM like this: Eg:RTRIM(LTRIM (' String with spaces ')) Returns this string: 'String with spaces'
  • 36. SIGN The SIGN function takes in a numeric expression and returns one of the following values based on the sign of the input number: Return Value Meaning − 1 Input number is negative 0 Input number is zero 1 Input number is positive Null Input number is null Eg :SELECT LATE_OR_LOSS_FEE, SIGN(LATE_OR_LOSS_FEE) AS FEE_SIGN FROM MOVIE_RENTAL WHERE LATE_OR_LOSS_FEE IS NOT NULL; LATE_OR_LOSS_FEE FEE_SIGN 29.99 1 4 1 4 1 29.98 1
  • 37. SQRT The SQRT function takes in a single numeric expression and returns its square root. The general syntax is SQRT (numeric_expression) The result is a bit meaningless, but let’s take the square root of the non-null Late or Loss Fees we just looked at: SELECT LATE_OR_LOSS_FEE,        SQRT(LATE_OR_LOSS_FEE) AS FEE_SQRT   FROM MOVIE_RENTAL   WHERE LATE_OR_LOSS_FEE IS NOT NULL; LATE_OR_LOSS_FEE    FEE_SQRT ----------------  ----------            29.99  5.47631263                4           2                4           2            29.98  5.47539953
  • 38. CEILING (CEIL) The CEILING function returns the smallest integer that is greater than or equal to the value of the numeric expression provided as an input parameter. In other words, it rounds up to the next nearest whole number. As an example, SELECT LATE_OR_LOSS_FEE, CEILING(LATE_OR_LOSS_FEE) AS FEE_CEILING FROM MOVIE_RENTAL WHERE LATE_OR_LOSS_FEE IS NOT NULL; LATE_OR_LOSS_FEE FEE_CEILING ---------------- ----------- 4.00 4 4.00 4 29.99 30 29.98 30
  • 39. FLOOR The FLOOR function is the logical opposite of the CEILING function —it returns the integer that is less than or equal to the value of the numeric expression provided as an input parameter. In other words, it rounds down to the next nearest whole number. Here is an example showing FLOOR applied to Late or Loss Fees: SELECT LATE_OR_LOSS_FEE,        FLOOR(LATE_OR_LOSS_FEE) AS FEE_FLOOR   FROM MOVIE_RENTAL   WHERE LATE_OR_LOSS_FEE IS NOT NULL; LATE_OR_LOSS_FEE  FEE_FLOOR ----------------  ---------             4.00          4             4.00          4            29.99         29            29.98         29
  • 40. Date and Time: Function Purpose Input Parameters ADD_MONTHS Adds the supplied number of months to the supplied date date, number ofmonths (positive or negative value) CURRENT_DATE Returns the current date in the time zone set for the None database session EXTRACT Extracts the specified datetime field from the supplied date datetime field keyword, date LAST_DAY Returns the supplied date with the day shifted to the last day date of the month
  • 41.
  • 42. MySQL supports &quot;routines&quot; and there are two kinds of routines: stored procedures or functions whose return values we use in other SQL statements.
  • 43.
  • 44. proc_parameter : [ IN | OUT | INOUT ] param_name type
  • 45. routine_body : Valid SQL procedure statement
  • 46. An IN parameter is used to pass the value into a procedure.
  • 47. An INOUT parameter is initialized by the caller and it can be modified by the procedure, and any change made by the procedure is visible to the caller. PROCEDURES
  • 48.
  • 49. We can define simple functions that operate on a single row at a time, or aggregate functions that operate on groups of rows.
  • 50.
  • 51. func_paramete r : param_name type
  • 52. type : Any valid MySQL datatype
  • 53. routine_body : Valid SQL procedure statement The RETURN clause is mandatory for FUNCTION. It used to indicate the return type of function. FUNCTIONS
  • 54.
  • 55. MySQL IN Clause - This is a clause which can be used alongwith any MySQL query to specify a condition.
  • 56. MySQL BETWEEN Clause - This is a clause which can be used to specify a condition.
  • 57. MySQL UNION Keyword - Use a UNION operation to combine multiple result sets into one.
  • 58. MySQL COUNT Function - The MySQL COUNT aggregate function is used to count the number of rows in a database table.
  • 59. MySQL MAX Function - The MySQL MAX aggregate function allows us to select the highest (maximum) value for a certain column.
  • 60. MySQL MIN Function - The MySQL MIN aggregate function allows us to select the lowest (minimum) value for a certain column.
  • 61. MySQL AVG Function - The MySQL AVG aggregate function selects the average value for certain table column.
  • 62. MySQL SUM Function - The MySQL SUM aggregate function allows selecting the total for a numeric column.
  • 63. MySQL SQRT Functions - This is used to generate a square root of a given number.
  • 64. MySQL RAND Function - This is used to generate a random number using MySQL command.
  • 65. MySQL CONCAT Function - This is used to concatenate any string inside any MySQL command.
  • 66. MySQL DATE and Time Functions - Complete list of MySQL Date and Time related functions.
  • 67. What's the Difference Between a Stored Procedure and a Stored Function? The difference between a stored procedures and stored functions is the same as the difference between a subroutine and a function: * a stored procedure runs some code * a stored function runs some code and then returns a result Why Use Stored Procedures and Stored Functions? The real advantage to using stored procedures and stored functions is that they provide functionality which is platform and application independant.
  • 68. It can be used to back up a database or to move database information from one server to another. 1.Export A MySQL Database: This example shows how to export a database. It is a good idea to export the data often as a backup. # mysqldump -u username -ppassword database_name > FILE.sql Replace username, password and database_name with your MySQL username, password and database name. File FILE.sql now holds a backup of your database, download it to your computer. 2. Import A MySQL Database: Here, we import a database. Using this to restore data from a backup or to import from another MySQL server. Start by uploading the FILE.sql file to the server where we will be running this command. # mysql -u username -ppassword database_name < FILE.sql IMPORT AND EXPORT