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
Linux
All Linux issues
80
snippets by
Marco Piñero
Linux: Burning iso image file to disk using one line bash command
Bash
0
0
2511
Linux: Simulating slow internet connection
Bash
0
1
2563
Linux: SSH Tunnel: getting access to local machines.
Bash
0
0
3777
Linux: Find text in specific files using wild cards
Bash
0
0
2644
Linux: Merging several pdf files into one using ghostscript
Bash
0
0
2475
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5603
Linux: mounting VirtualBox VDI disk using qemu
Bash
0
0
3042
Linux Ubuntu: free unused memory
Bash
0
0
2531
nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner
Bash
0
0
3080
Linux Ubuntu: Printing one or more webpages to pdf file
Bash
0
0
2530
Linux: Cron for deleting old files (older than n days)
Bash
0
2
1837
Linux: Get public IP address using command line utilities.
Bash
0
0
2349
Linux: Get total size used by folder
Bash
0
1
1864
Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection
Delphi
0
0
4119
Linux Ubuntu: Get ordered list of all installed packages
Bash
0
0
1789
Linux Ubuntu: Enable/Disable ping to your station
Bash
0
0
1770
Ubuntu/bash: how to know if disk present and writeable.
Bash
0
0
1680
Linux: Execute same command for multiple files
Command
0
0
1940
Linux/bash: kill a process by name using one-line command
Bash
0
3
1647
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1841
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1541
Linux: Extract whole and specific text from MS Word file (*.docx)
Bash
1
0
3184
Linux: Get number of pages of PDF document via command line
Bash
0
1
1826
Linux: split file into pieces and join pieces again
Bash
0
2
2229
Ubuntu: block external incoming ip address
Bash
0
8
2062
Ubuntu: Unblock external ip address
Bash
0
9
2153
Ubuntu: get a list of apps that are consuming bandwidth
Bash
0
9
1344
Ubuntu: block external outgoing ip address
Bash
0
8
1886
Ubuntu: how to mount remote linux file system using sshfs (over ssh)
Bash
0
7
2862
Docker: clean all
Bash
0
7
1606
Linux/ImageMagick: convert first page of pdf document to small jpeg preview
Bash
0
8
1544
Send an Email Alert When Your Disk Space Gets Low
Bash
1
23
9663
Linux/Ubuntu: apply changes made to network interfaces without restarting
Bash
0
4
1518
Linux: Convert pdf to html
Bash
0
8
5144
Ubuntu: How to setup pptp vpn server
Bash
0
4
7007
Linux: List all users in system
Bash
0
1
1349
Install OpenCV 2.4.11 in Ubuntu (No CUDA)
Bash
1
5
2262
Linux: ssh without password
Bash
0
1
1650
Linux: one way remote sync using unison and ssh
Bash
0
4
2367
Remove unused docker images, containers, volumes
Bash
3
12
2302
Linux: Open ssh port access using a combination... (knocking technique)
Bash
0
1
3627
Linux: USB: Capture events from speechmike device
Bash
0
1
1932
Linux: I cannot sudo, unkown user root (solution)
Bash
0
0
2126
Linux: How to reduce pdf file size
Bash
0
0
1581
Ubuntu Server: Configuring proxies
Bash
0
0
1672
Linux: Compare two dirs and display files with any difference
Bash
0
0
1292
Linux/VBox: Explore VDI disk without running virtualbox
Bash
0
0
1460
Debian/Ubuntu: Check/Restore network connection
Bash
0
0
1298
Linux: Get machine unique ID
Bash
0
0
1303
Linux: Create Virtual Filesystem
Bash
0
0
1257
Ubuntu: Share folder with Windows (via samba)
Bash
0
0
1139
Linux: Get all my local IP addresses (IPv4)
Bash
0
0
1793
Linux/Ubuntu: list ufw firewall rules without enabling it
Bash
0
0
1058
Ubuntu: Connect windows to shared folder as guest
Bash
0
0
1345
Linux: delete tons of files from folder with one command
Bash
0
0
1300
Ubuntu/Linux: Avoid connection from specific ip address without using iptables
Bash
0
0
1068
Unbuntu: Create barcode from command line.
Bash
0
0
1968
Ubuntu: Fix Imagemagick "not authorized" exception
XML
0
1
1237
nginx/ubuntu: Basic authentication access
Bash
0
0
1026
linux: create .htpasswd without using apache tools
Bash
0
0
1129
Ubuntu/Mosquitto: Enable mqtt service
Bash
0
0
1074
Ubuntu/Linux: Detect if port is closed.
Bash
0
0
832
PHP/Linux: Run shell command without waiting for output (untested)
Bash
0
0
998
Ubuntu: OS Installation date
Bash
0
0
804
Ubuntu/Linux: Join pdf files from command line.
Bash
0
0
936
Linux/Web: Get internet content from command line using wget
Bash
0
0
1113
Ubuntu: Run wine app from command line using xvfb
Bash
2
0
3373
Docker/Linux: List ip addresses of all containers.
Bash
0
0
1011
Linux: sysmon script (memory usage)
Bash
0
0
1019
Linux: Socket Server and Client from command line
Bash
0
0
896
Nginx: Call php without extension
Plain text
0
0
775
Linux: fswatch
Bash
0
0
1060
Linux/Ubuntu: Enable/disable screensaver
Bash
0
0
575
Linux/Proxmox: Enable /dev/net/tun for hamachi
Bash
0
0
1014
Javascript/NodeJS: Uglify js files
Bash
0
0
435
Docker: Synchronize time and timezone with host
Bash
0
0
465
Node/Parse docx variables
JavaScript
0
0
546
Linux: Get my location info
Bash
0
0
546
Linux/DCMTK: Send studies to PACS using dcmsend
Bash
0
0
429
Linux: Download web page files using wget
Bash
0
0
422