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
2472
Linux: Simulating slow internet connection
Bash
0
1
2526
Linux: SSH Tunnel: getting access to local machines.
Bash
0
0
3712
Linux: Find text in specific files using wild cards
Bash
0
0
2591
Linux: Merging several pdf files into one using ghostscript
Bash
0
0
2439
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5569
Linux: mounting VirtualBox VDI disk using qemu
Bash
0
0
2984
Linux Ubuntu: free unused memory
Bash
0
0
2474
nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner
Bash
0
0
3031
Linux Ubuntu: Printing one or more webpages to pdf file
Bash
0
0
2445
Linux: Cron for deleting old files (older than n days)
Bash
0
2
1805
Linux: Get public IP address using command line utilities.
Bash
0
0
2317
Linux: Get total size used by folder
Bash
0
1
1838
Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection
Delphi
0
0
4053
Linux Ubuntu: Get ordered list of all installed packages
Bash
0
0
1761
Linux Ubuntu: Enable/Disable ping to your station
Bash
0
0
1739
Ubuntu/bash: how to know if disk present and writeable.
Bash
0
0
1652
Linux: Execute same command for multiple files
Command
0
0
1915
Linux/bash: kill a process by name using one-line command
Bash
0
3
1626
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1785
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1515
Linux: Extract whole and specific text from MS Word file (*.docx)
Bash
1
0
3082
Linux: Get number of pages of PDF document via command line
Bash
0
1
1786
Linux: split file into pieces and join pieces again
Bash
0
2
2176
Ubuntu: block external incoming ip address
Bash
0
8
2013
Ubuntu: Unblock external ip address
Bash
0
9
2115
Ubuntu: get a list of apps that are consuming bandwidth
Bash
0
9
1326
Ubuntu: block external outgoing ip address
Bash
0
8
1856
Ubuntu: how to mount remote linux file system using sshfs (over ssh)
Bash
0
7
2814
Docker: clean all
Bash
0
7
1580
Linux/ImageMagick: convert first page of pdf document to small jpeg preview
Bash
0
8
1517
Send an Email Alert When Your Disk Space Gets Low
Bash
1
23
8843
Linux/Ubuntu: apply changes made to network interfaces without restarting
Bash
0
4
1489
Linux: Convert pdf to html
Bash
0
8
5087
Ubuntu: How to setup pptp vpn server
Bash
0
4
6812
Linux: List all users in system
Bash
0
1
1328
Install OpenCV 2.4.11 in Ubuntu (No CUDA)
Bash
1
5
2229
Linux: ssh without password
Bash
0
1
1610
Linux: one way remote sync using unison and ssh
Bash
0
4
2333
Remove unused docker images, containers, volumes
Bash
3
12
2247
Linux: Open ssh port access using a combination... (knocking technique)
Bash
0
1
3477
Linux: USB: Capture events from speechmike device
Bash
0
1
1894
Linux: I cannot sudo, unkown user root (solution)
Bash
0
0
2046
Linux: How to reduce pdf file size
Bash
0
0
1549
Ubuntu Server: Configuring proxies
Bash
0
0
1633
Linux: Compare two dirs and display files with any difference
Bash
0
0
1269
Linux/VBox: Explore VDI disk without running virtualbox
Bash
0
0
1430
Debian/Ubuntu: Check/Restore network connection
Bash
0
0
1270
Linux: Get machine unique ID
Bash
0
0
1285
Linux: Create Virtual Filesystem
Bash
0
0
1224
Ubuntu: Share folder with Windows (via samba)
Bash
0
0
1107
Linux: Get all my local IP addresses (IPv4)
Bash
0
0
1751
Linux/Ubuntu: list ufw firewall rules without enabling it
Bash
0
0
1032
Ubuntu: Connect windows to shared folder as guest
Bash
0
0
1310
Linux: delete tons of files from folder with one command
Bash
0
0
1278
Ubuntu/Linux: Avoid connection from specific ip address without using iptables
Bash
0
0
1035
Unbuntu: Create barcode from command line.
Bash
0
0
1912
Ubuntu: Fix Imagemagick "not authorized" exception
XML
0
1
1192
nginx/ubuntu: Basic authentication access
Bash
0
0
986
linux: create .htpasswd without using apache tools
Bash
0
0
1089
Ubuntu/Mosquitto: Enable mqtt service
Bash
0
0
1042
Ubuntu/Linux: Detect if port is closed.
Bash
0
0
799
PHP/Linux: Run shell command without waiting for output (untested)
Bash
0
0
974
Ubuntu: OS Installation date
Bash
0
0
780
Ubuntu/Linux: Join pdf files from command line.
Bash
0
0
910
Linux/Web: Get internet content from command line using wget
Bash
0
0
1070
Ubuntu: Run wine app from command line using xvfb
Bash
2
0
3250
Docker/Linux: List ip addresses of all containers.
Bash
0
0
982
Linux: sysmon script (memory usage)
Bash
0
0
990
Linux: Socket Server and Client from command line
Bash
0
0
866
Nginx: Call php without extension
Plain text
0
0
747
Linux: fswatch
Bash
0
0
1000
Linux/Ubuntu: Enable/disable screensaver
Bash
0
0
551
Linux/Proxmox: Enable /dev/net/tun for hamachi
Bash
0
0
977
Javascript/NodeJS: Uglify js files
Bash
0
0
418
Docker: Synchronize time and timezone with host
Bash
0
0
443
Node/Parse docx variables
JavaScript
0
0
510
Linux: Get my location info
Bash
0
0
512
Linux/DCMTK: Send studies to PACS using dcmsend
Bash
0
0
398
Linux: Download web page files using wget
Bash
0
0
399