1 / 62

LAMP Stands For L - Linux A - Appache

LAMP Stands For L - Linux A - Appache M - MySQL P - Php. LINUX. Definition:

franz
Download Presentation

LAMP Stands For L - Linux A - Appache

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LAMP Stands For L - Linux A - Appache M - MySQL P - Php

  2. LINUX Definition: Linux is a free open source Operating System, based on Unix. It is available from many vendors with optional paid for support and provides an increasingly viable alternative to the Win 32, platform.

  3. Syntax: mkdir Example: mkdir [option] directory Make Directory

  4. Syntax: cd Example: cd .. CHANGE DIRECTORY

  5. Syntax: mv Example: mv testdir newnamedir CHANGE THE NAME OF DIRECTORY

  6. Syntax: rmdir Example: rm -r REMOVE AN EXISTING DIRECTORY

  7. Syntax: ls Example: ls LISTING OF DIRECTORY

  8. To copy file use Syntax: cp Example: cp myfile yourfile COPY FILE

  9. Make links between files, by default, it makes hard links; with the `-s' option, it makes symbolic (or "soft") links. Syntax: ln [Options]... target [Linkname] ln [Options]... target... Directory Creates a symbolic link to a file

  10. To send a file content to standard output use Syntax: cat SENDS FILE CONTENT TO STANDARD OUTPUT

  11. Syntax: pwd Explanation: It will show the current working directory PRINT WORKING DIRECTORY

  12. Syntax: Clear It clears the terminal screen. CLEAR THE TERMAINAL SCREEN

  13. Exit from a for, while, until, or select loop Syntax: break [n] If n is supplied, the nth enclosing loop is exited. n must be greater than or equal to 1. The return status is zero unless n is not greater than or equal to 1. EXIT FROM A LOOP

  14. Compare two files, and if they differ, tells the first byte and line number where they differ. You can use the `cmp' command to show the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side. Syntax: cmp options... FromFile [ToFile] COMPARE TWO FILE

  15. Display the differences between two files, or each corresponding file in two directories. Each set of differences is called a "diff" or "patch". For files that are identical, diff normally produces no output; for binary (non-text) files, diff normally reports only that they are different. Syntax: diff [options] from-file to-file COMPARE DIFFERENT FILES

  16. Divide a file into several parts (columns) Writes to standard output selected parts of each line of each input file, or standard input if no files are given or for a file name of `-'. Syntax: cut [OPTION]... [FILE]... DIVIDE A FILE INTO SEVERAL PARTS

  17. Display or change the date. Syntax: date [option]... [+Format] date [option] [MMDDhhmm[[CC]YY][.ss]] `date' with no arguments prints the current time and date, in the format of the %c directive. DISPLAY OR CHANGE THE DATE AND TIME

  18. Syntax: dc <options> Option: -e EXPR --expression=EXPR Evaluate EXPR as DC commands. -f FILE --file=FILE Read and evaluate DC commands from FILE. DISK CALCULATOR

  19. Disk Free - display free disk space. With no arguments, `df' reports the space used and available on all currently mounted filesystems (of all types). Otherwise, `df' reports on the filesystem containing each argument file. Syntax: df [option]... [file]... DISPLAY FREE DISK SPACE

  20. Print or set system name Syntax: hostname [name] With no arguments, `hostname' prints the name of the current host system. With one argument, it sets the current host name to the specified string. You must have appropriate privileges to set the host name. PRINT OR SET SYSTEM NAME

  21. Syntax: bash GNU Bourne-Again SHell

  22. Syntax: whoami Print the current user id and name (`id -un') CURRENT USER

  23. Syntax: who Print all usernames currently logged in CURRENTLY LOGGED

  24. Syntax: while Execute commands

  25. Syntax: which Search the user's $path for a program file

  26. Syntax: Vi Used to edit text TEXT EDITOR

  27. Print current login name Syntax: logname Prints the calling user's name, as found in the file`/var/run/utmp', and exits with a status of 0. If there is no `/var/run/utmp' entry for the calling process, `logname' prints an error message and exits with a status of 1. CURRENT LOGIN NAME

  28. Command Line history Syntax: history history [n] history -c history -d offset history [-anrw] [filename] history -ps arg COMMAND HISTORY

  29. DISK USAGE Disk Usage - report the amount of disk space used by the specified files and for each subdirectory. Syntax: du [options]... [file]... With no arguments, `du' reports the disk space for the current directory. Normally the disk space is printed in units of 1024 bytes, but this can be overridden.

  30. Syntax: Free  Displays the amount of used and free system memory. DISPLAY THE SYSTEM MEMORY

  31. Syntax: alias [-p] [name[=value] …] unalias [-a] [name ... ] Key: -p Print the current values -a Remove All aliases CREATE AN ALIAS

  32. Syntax: aspell check [options] filename Examples: Check the file foo.txt: $ aspell check foo.txt SPELL CHECKER

  33. Syntax: bg [PID...] Example: Put the job with job id 0 in the background: bg %0 SEND TO BACKROUND

  34. Syntax : kill process_ids kill - signal process_ids kill -l Kills the specified processes, sends the specified processes the specified signal (given as a number or name), or prints a list of available signals. KILLING PROCESS

  35. Syntax : killall program killall - signal program Kills all processes that are instances of the specified program or sends the specified signal to all processes that are instances of the specified program. KILL ALL THE PROGRAMS

  36. Syntax : reboot Reboots the system REBOOT THE SYSTEM

  37. Syntax : shutdown -r minutes Shuts down the system after the specified number of minutes elapses . SHUTDOWN THE SYSTEM

  38. Syntax : sleep time Causes the command interpreter to pause for the specified number of seconds. SLEEP TIME

  39. Syntax: bc options file... Explanation: bc is a language that supports arbitrary precision numbers with interactive execution of statements. bc starts by processing code from all the files listed on the command line in the order listed. After all files have been processed, bc reads from the standard input. All code is executed as it is read. An arbitrary precision calculator language

  40. Run a shell builtin, passing it args, and return its exit status. SYNTAX: builtin [shell-builtin [args]] This is useful when defining a shell function with the same name as a shell builtin, retaining the functionality of the builtin within the function. Run a shell builtin

  41. Conditionally perform a command, case will selectively execute the command-list corresponding to the first pattern that matches word. Syntax: case word in [ [(] pattern [| pattern]...) command-list ;;]... esac The `|' is used to separate multiple patterns, and the `)' operator terminates a pattern list. A list of patterns and an associated command-list is known as a clause. Each clause must be terminated with `;;'. Conditionally perform a command

  42. Convert a full pathname to just a path Syntax dirname pathname Prints all but the final slash-delimited component of a string (presumably a filename). If PATHNAME is a single component, `dirname' prints `.' Convert a full pathname to just a path

  43. Disk Usage - report the amount of disk space used by the specified files and for each subdirectory. Syntax du [options]... [file]... With no arguments, `du' reports the disk space for the current directory. Normally the disk space is printed in units of 1024 bytes, but this can be overridden Estimate file space usage

  44. Display message on screen, writes each given STRING to standard output, with a space between each and a newline after the last one. Syntax echo [options]... [string]... Display message on screen

  45. Syntax eject -h eject [-vnrsfmqp] [<name>] eject [-vn] -d eject [-vn] -a on|off|1|0 [<name>] eject [-vn] -c slot [<name>] eject [-vn] -t [<name>] eject [-vn] -T [<name>] eject [-vn] -x <speed> [<name>] eject [-vn] -X [<name>] eject -V Eject removable media

  46. Syntax: enable [-n] [-p] [-f filename] [-ads] [name …] Options: -a list each builtin with an indication of whether or not it is enabled. -d Delete a builtin loaded with `-f'. -f load the new builtin command name from shared object filename, on systems that support dynamic loading. -n Disable the names listed, otherwise names are enabled. Enable and disable builtin shell commands.

  47. Display, set, or remove environment variables, Run a command in a modified environment. Syntax: env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...] Environment variables

  48. Exit from a program, shell or log out of a Unix network. Syntax: exit If supported will exit you from the program, shell or log you out of network. Exit the shell

  49. Convert tabs to spaces, write the contents of each given file, to standard output, with tab characters converted to the appropriate number of spaces. If no file is given, or for a file of `-', write to standard input Syntax: expand [options]... [file]... Convert tabs to spaces

  50. Evaluate expressions, evaluates an expression and writes the result on standard output. Syntax: expr expression... Evaluate expressions

More Related