SlideShare a Scribd company logo
1 of 62
LAMP Stands For L - Linux A - Appache  M - MySQL P - Php
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.
Syntax: mkdir Example: mkdir [option] directory Make Directory
Syntax: cd Example: cd .. CHANGE DIRECTORY
Syntax: mv Example: mv testdir newnamedir CHANGE THE NAME OF DIRECTORY
REMOVE AN EXISTING DIRECTORY Syntax: rmdir Example: rm -r
LISTING OF DIRECTORY Syntax: ls Example: ls
COPY FILE To copy file use Syntax: cp Example: cp myfile yourfile
Creates a symbolic link to a file 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
SENDS FILE CONTENT TO STANDARD OUTPUT To send a file content to standard output use Syntax: cat
PRINT WORKING DIRECTORY Syntax: pwd Explanation:  It will show the current working directory
CLEAR THE TERMAINAL SCREEN Syntax: Clear It clears the terminal screen.
EXIT FROM A LOOP 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.
COMPARE TWO FILE 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 DIFFERENT FILES 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
DIVIDE A FILE INTO SEVERAL PARTS 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]...
DISPLAY OR CHANGE THE DATE AND TIME 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.
DISK CALCULATOR Syntax: dc <options> Option: -e EXPR --expression=EXPR Evaluate EXPR as DC commands. -f FILE --file=FILE Read and evaluate DC commands from FILE.
DISPLAY FREE DISK SPACE 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]...
PRINT OR SET SYSTEM NAME 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.
Syntax: bash  GNU Bourne-Again SHell
CURRENT USER Syntax:  whoami Print the current user id and name (`id -un')
CURRENTLY LOGGED Syntax:  who   Print all usernames currently logged in
Syntax: while   Execute commands
Syntax: which   Search the user's $path for a program file
TEXT EDITOR Syntax: Vi Used to edit text
CURRENT LOGIN NAME 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.
COMMAND HISTORY Command Line history Syntax: history  history [n] history -c history -d offset history [-anrw] [filename] history -ps arg
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.
DISPLAY THE SYSTEM MEMORY Syntax: Free   Displays the amount of used and free system memory.
CREATE AN ALIAS Syntax: alias [-p] [name[=value] …] unalias [-a] [name ... ] Key: -p  Print the current values -a  Remove All aliases
SPELL CHECKER Syntax: aspell check [options] filename Examples: Check the file foo.txt: $ aspell check foo.txt
SEND TO BACKROUND Syntax: bg [PID...] Example: Put the job with job id 0 in the background: bg %0
KILLING PROCESS 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.
KILL ALL THE PROGRAMS 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.
REBOOT THE SYSTEM Syntax :  reboot  Reboots the system
SHUTDOWN THE SYSTEM Syntax :  shutdown -r minutes  Shuts down the system after the specified number of minutes elapses .
SLEEP TIME Syntax :  sleep time  Causes the command interpreter to pause for the specified number of seconds.
An arbitrary precision calculator language  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.
Run a shell builtin 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.
Conditionally perform a command 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 `;;'.
Convert a full pathname to just a path  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 `.'
Estimate file space 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
Display message on screen 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]...
Eject removable media 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
Enable and disable builtin shell commands. 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.
Environment variables Display, set, or remove environment variables, Run a command in a modified environment. Syntax: env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...]
Exit the shell 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.
Convert tabs to spaces 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]...
Evaluate expressions Evaluate expressions, evaluates an expression and writes the result on standard output. Syntax: expr expression...
Do nothing, unsuccessfully Do nothing, returning a non-zero (false) exit status Syntax: false `false' does nothing except return an exit status of 1, meaning &quot;failure&quot;. It can be used as a place holder in shell scripts where an unsuccessful command is needed.
Send job to foreground  Send job to foreground Syntax fg [PID...] Options: If PID is specified, the job with the specified group id is put in the foreground.
Format disks or tapes Syntax:  Format
Comment / Remark Syntax: ### A comment or remark is indicated by starting the line with the # character # This is a description # Another remark command # Another remark Related commands: : (a colon) : [arguments]
Run a command script in the current shell Run a command script in the current shell context. Syntax . filename [arguments] source filename [arguments] A dot/period '.' is a synonym for 'source'
Print a string until interrupted Syntax: Yes `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed. If no arguments are given, it prints `y' followed by  a newline forever until killed. The only options are a lone `--help' or `--version'.
Send a message to another user  write Send a message to another user Syntax: write user [ttyname]
Print byte, word, and line counts Print byte, word, and line counts, count the number of bytes, whitespace-separated words, and newlines in each given FILE, or standard input if none are given or for a FILE of `-'. Syntax: wc [options]... [file]... Options: -c --bytes --chars Print only the byte counts.
CREATE AN ALIAS Syntax: alias [-p] [name[=value] …] unalias [-a] [name ... ] Key: -p  Print the current values -a  Remove All aliases
EXCUTE A COMMAND Syntax: exec [-cl] [-a name] [command [arguments]] Options: -l  Place a dash at the beginning of the zeroth arg passed to command. -c  Causes command to be executed with an empty environment. -a  The shell passes name as the zeroth argument to command.
CONVERT AND COPY A FILE Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone of an (unmounted) disk, this will include all blank space so the output destination must be at least as large as the input. Syntax dd [Options]
PRINT KERNAL MESSAGE Print kernel (and driver) messages, control the kernel ring buffer. Syntax: dmesg [ -c ] [ -n level ] [ -s bufsize ]

More Related Content

What's hot

Unix Commands
Unix CommandsUnix Commands
Unix CommandsDr.Ravi
 
intro unix/linux 10
intro unix/linux 10intro unix/linux 10
intro unix/linux 10duquoi
 
Perl one-liners
Perl one-linersPerl one-liners
Perl one-linersdaoswald
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-listDhanushR24
 
Using Unix
Using UnixUsing Unix
Using UnixDr.Ravi
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programmingsudhir singh yadav
 
python-message-0.1.0
python-message-0.1.0python-message-0.1.0
python-message-0.1.0勇浩 赖
 
Unit 1-introduction to perl
Unit 1-introduction to perlUnit 1-introduction to perl
Unit 1-introduction to perlsana mateen
 
httpd — Apache Web Server
httpd — Apache Web Serverhttpd — Apache Web Server
httpd — Apache Web Serverwebhostingguy
 
Linux shell env
Linux shell envLinux shell env
Linux shell envRahul Pola
 
Unix Basics
Unix BasicsUnix Basics
Unix BasicsDr.Ravi
 
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...AlexRobert25
 
InfiniFlux collector
InfiniFlux collectorInfiniFlux collector
InfiniFlux collectorInfiniFlux
 

What's hot (20)

Linux intro 4 awk + makefile
Linux intro 4  awk + makefileLinux intro 4  awk + makefile
Linux intro 4 awk + makefile
 
Unix Commands
Unix CommandsUnix Commands
Unix Commands
 
Perl Programming - 01 Basic Perl
Perl Programming - 01 Basic PerlPerl Programming - 01 Basic Perl
Perl Programming - 01 Basic Perl
 
intro unix/linux 10
intro unix/linux 10intro unix/linux 10
intro unix/linux 10
 
Linux shell scripting
Linux shell scriptingLinux shell scripting
Linux shell scripting
 
Perl one-liners
Perl one-linersPerl one-liners
Perl one-liners
 
extending-php
extending-phpextending-php
extending-php
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 
Using Unix
Using UnixUsing Unix
Using Unix
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programming
 
python-message-0.1.0
python-message-0.1.0python-message-0.1.0
python-message-0.1.0
 
Unit 1-introduction to perl
Unit 1-introduction to perlUnit 1-introduction to perl
Unit 1-introduction to perl
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
httpd — Apache Web Server
httpd — Apache Web Serverhttpd — Apache Web Server
httpd — Apache Web Server
 
Linux shell env
Linux shell envLinux shell env
Linux shell env
 
Unix Basics
Unix BasicsUnix Basics
Unix Basics
 
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...How to export import a mysql database via ssh in aws lightsail wordpress rizw...
How to export import a mysql database via ssh in aws lightsail wordpress rizw...
 
Examples -partII
Examples -partIIExamples -partII
Examples -partII
 
Linux intro 5 extra: awk
Linux intro 5 extra: awkLinux intro 5 extra: awk
Linux intro 5 extra: awk
 
InfiniFlux collector
InfiniFlux collectorInfiniFlux collector
InfiniFlux collector
 

Similar to Linux

Similar to Linux (20)

Raj linux
Raj linux Raj linux
Raj linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Linux
LinuxLinux
Linux
 
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...
 
Linux
LinuxLinux
Linux
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
RHCSA EX200 - Summary
RHCSA EX200 - SummaryRHCSA EX200 - Summary
RHCSA EX200 - Summary
 
Unix Trainning Doc.pptx
Unix Trainning Doc.pptxUnix Trainning Doc.pptx
Unix Trainning Doc.pptx
 
Operating System Laboratory presentation .ppt
Operating System Laboratory presentation .pptOperating System Laboratory presentation .ppt
Operating System Laboratory presentation .ppt
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 

Recently uploaded

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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 Processorsdebabhi2
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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 MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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 2024Rafal Los
 
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 SolutionsEnterprise Knowledge
 
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.pptxKatpro Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[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.pdfhans926745
 

Recently uploaded (20)

A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
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
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[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
 

Linux

  • 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. REMOVE AN EXISTING DIRECTORY Syntax: rmdir Example: rm -r
  • 7. LISTING OF DIRECTORY Syntax: ls Example: ls
  • 8. COPY FILE To copy file use Syntax: cp Example: cp myfile yourfile
  • 9. Creates a symbolic link to a file Make links between files, by default, it makes hard links; with the `-s' option, it makes symbolic (or &quot;soft&quot;) links. Syntax: ln [Options]... target [Linkname] ln [Options]... target... Directory
  • 10. SENDS FILE CONTENT TO STANDARD OUTPUT To send a file content to standard output use Syntax: cat
  • 11. PRINT WORKING DIRECTORY Syntax: pwd Explanation: It will show the current working directory
  • 12. CLEAR THE TERMAINAL SCREEN Syntax: Clear It clears the terminal screen.
  • 13. EXIT FROM A LOOP 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.
  • 14. COMPARE TWO FILE 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]
  • 15. COMPARE DIFFERENT FILES Display the differences between two files, or each corresponding file in two directories. Each set of differences is called a &quot;diff&quot; or &quot;patch&quot;. 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
  • 16. DIVIDE A FILE INTO SEVERAL PARTS 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]...
  • 17. DISPLAY OR CHANGE THE DATE AND TIME 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.
  • 18. DISK CALCULATOR Syntax: dc <options> Option: -e EXPR --expression=EXPR Evaluate EXPR as DC commands. -f FILE --file=FILE Read and evaluate DC commands from FILE.
  • 19. DISPLAY FREE DISK SPACE 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]...
  • 20. PRINT OR SET SYSTEM NAME 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.
  • 21. Syntax: bash GNU Bourne-Again SHell
  • 22. CURRENT USER Syntax: whoami Print the current user id and name (`id -un')
  • 23. CURRENTLY LOGGED Syntax: who Print all usernames currently logged in
  • 24. Syntax: while Execute commands
  • 25. Syntax: which Search the user's $path for a program file
  • 26. TEXT EDITOR Syntax: Vi Used to edit text
  • 27. CURRENT LOGIN NAME 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.
  • 28. COMMAND HISTORY Command Line history Syntax: history history [n] history -c history -d offset history [-anrw] [filename] history -ps arg
  • 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. DISPLAY THE SYSTEM MEMORY Syntax: Free  Displays the amount of used and free system memory.
  • 31. CREATE AN ALIAS Syntax: alias [-p] [name[=value] …] unalias [-a] [name ... ] Key: -p Print the current values -a Remove All aliases
  • 32. SPELL CHECKER Syntax: aspell check [options] filename Examples: Check the file foo.txt: $ aspell check foo.txt
  • 33. SEND TO BACKROUND Syntax: bg [PID...] Example: Put the job with job id 0 in the background: bg %0
  • 34. KILLING PROCESS 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.
  • 35. KILL ALL THE PROGRAMS 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.
  • 36. REBOOT THE SYSTEM Syntax : reboot Reboots the system
  • 37. SHUTDOWN THE SYSTEM Syntax : shutdown -r minutes Shuts down the system after the specified number of minutes elapses .
  • 38. SLEEP TIME Syntax : sleep time Causes the command interpreter to pause for the specified number of seconds.
  • 39. An arbitrary precision calculator language 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.
  • 40. Run a shell builtin 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.
  • 41. Conditionally perform a command 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 `;;'.
  • 42. Convert a full pathname to just a path 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 `.'
  • 43. Estimate file space 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
  • 44. Display message on screen 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]...
  • 45. Eject removable media 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
  • 46. Enable and disable builtin shell commands. 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.
  • 47. Environment variables Display, set, or remove environment variables, Run a command in a modified environment. Syntax: env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...]
  • 48. Exit the shell 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.
  • 49. Convert tabs to spaces 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]...
  • 50. Evaluate expressions Evaluate expressions, evaluates an expression and writes the result on standard output. Syntax: expr expression...
  • 51. Do nothing, unsuccessfully Do nothing, returning a non-zero (false) exit status Syntax: false `false' does nothing except return an exit status of 1, meaning &quot;failure&quot;. It can be used as a place holder in shell scripts where an unsuccessful command is needed.
  • 52. Send job to foreground Send job to foreground Syntax fg [PID...] Options: If PID is specified, the job with the specified group id is put in the foreground.
  • 53. Format disks or tapes Syntax: Format
  • 54. Comment / Remark Syntax: ### A comment or remark is indicated by starting the line with the # character # This is a description # Another remark command # Another remark Related commands: : (a colon) : [arguments]
  • 55. Run a command script in the current shell Run a command script in the current shell context. Syntax . filename [arguments] source filename [arguments] A dot/period '.' is a synonym for 'source'
  • 56. Print a string until interrupted Syntax: Yes `yes' prints the command line arguments, separated by spaces and followed by a newline, forever until it is killed. If no arguments are given, it prints `y' followed by a newline forever until killed. The only options are a lone `--help' or `--version'.
  • 57. Send a message to another user write Send a message to another user Syntax: write user [ttyname]
  • 58. Print byte, word, and line counts Print byte, word, and line counts, count the number of bytes, whitespace-separated words, and newlines in each given FILE, or standard input if none are given or for a FILE of `-'. Syntax: wc [options]... [file]... Options: -c --bytes --chars Print only the byte counts.
  • 59. CREATE AN ALIAS Syntax: alias [-p] [name[=value] …] unalias [-a] [name ... ] Key: -p Print the current values -a Remove All aliases
  • 60. EXCUTE A COMMAND Syntax: exec [-cl] [-a name] [command [arguments]] Options: -l Place a dash at the beginning of the zeroth arg passed to command. -c Causes command to be executed with an empty environment. -a The shell passes name as the zeroth argument to command.
  • 61. CONVERT AND COPY A FILE Convert and copy a file, write disk headers, boot records, create a boot floppy. dd can make an exact clone of an (unmounted) disk, this will include all blank space so the output destination must be at least as large as the input. Syntax dd [Options]
  • 62. PRINT KERNAL MESSAGE Print kernel (and driver) messages, control the kernel ring buffer. Syntax: dmesg [ -c ] [ -n level ] [ -s bufsize ]