Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Bash
Bash - Copy File
Bash
0
0
1343
Bash - Search History for Term
Bash
0
0
1308
Bash - Change Owner of Folder Recursively
Bash
0
0
1530
Bash - Truncate Files to Zero Length
Bash
0
0
1678
Bash - List Directory Contents
Bash
0
0
1283
Bash - History Reverse-I-Search
Bash
0
0
1291
Bash - If / Then / Else
Bash
0
0
2458
Bash WP-CLI - Import WordPress Test Data
Bash
0
0
1498
Bash - Yes/No
Bash
0
0
1460
Bash - Watch Directory and run Command on Changes
Bash
0
0
1736
Bash - New Vagrant Box with Latest WordPress
Bash
0
1
3518
Bash - Install APIGen and Auto Generate PHP Docs
Bash
0
0
1676
Bash - Crontab Legend
Bash
0
0
2132
Vagrant - Remove Invalid Entries/Instances from the Global Index
Bash
0
0
1318
WordPress - MySQL Database Export & WP-CLI Import
Bash
0
0
1861
Bash - Sync Files to Folder
Bash
0
0
2210
Bash - Open Folder In Terminal
Bash
0
0
2066
Bash - Download Secure Copy File from AWS EC2 Server to Local Machine
Bash
0
0
2329
Bash - Run Remote Command on AWS EC2 Server
Bash
0
0
1338
AWS CLI - S3 - Bucket Commands
Bash
0
0
2547