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
2455
Linux: Simulating slow internet connection
Bash
0
1
2503
Linux: SSH Tunnel: getting access to local machines.
Bash
0
0
3670
Linux: Find text in specific files using wild cards
Bash
0
0
2573
Linux: Merging several pdf files into one using ghostscript
Bash
0
0
2421
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5538
Linux: mounting VirtualBox VDI disk using qemu
Bash
0
0
2952
Linux Ubuntu: free unused memory
Bash
0
0
2454
nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner
Bash
0
0
3010
Linux Ubuntu: Printing one or more webpages to pdf file
Bash
0
0
2419
Linux: Cron for deleting old files (older than n days)
Bash
0
2
1780
Linux: Get public IP address using command line utilities.
Bash
0
0
2298
Linux: Get total size used by folder
Bash
0
1
1822
Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection
Delphi
0
0
4029
Linux Ubuntu: Get ordered list of all installed packages
Bash
0
0
1743
Linux Ubuntu: Enable/Disable ping to your station
Bash
0
0
1720
Ubuntu/bash: how to know if disk present and writeable.
Bash
0
0
1641
Linux: Execute same command for multiple files
Command
0
0
1897
Linux/bash: kill a process by name using one-line command
Bash
0
3
1612
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1763
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1502
Linux: Extract whole and specific text from MS Word file (*.docx)
Bash
1
0
3023
Linux: Get number of pages of PDF document via command line
Bash
0
1
1762
Linux: split file into pieces and join pieces again
Bash
0
2
2146
Ubuntu: block external incoming ip address
Bash
0
8
1985
Ubuntu: Unblock external ip address
Bash
0
9
2092
Ubuntu: get a list of apps that are consuming bandwidth
Bash
0
9
1313
Ubuntu: block external outgoing ip address
Bash
0
8
1835
Ubuntu: how to mount remote linux file system using sshfs (over ssh)
Bash
0
7
2778
Docker: clean all
Bash
0
7
1566
Linux/ImageMagick: convert first page of pdf document to small jpeg preview
Bash
0
8
1501
Send an Email Alert When Your Disk Space Gets Low
Bash
1
23
8238
Linux/Ubuntu: apply changes made to network interfaces without restarting
Bash
0
4
1473
Linux: Convert pdf to html
Bash
0
8
5063
Ubuntu: How to setup pptp vpn server
Bash
0
4
6675
Linux: List all users in system
Bash
0
1
1313
Install OpenCV 2.4.11 in Ubuntu (No CUDA)
Bash
1
5
2212
Linux: ssh without password
Bash
0
1
1582
Linux: one way remote sync using unison and ssh
Bash
0
4
2310
Remove unused docker images, containers, volumes
Bash
3
12
2231
Linux: Open ssh port access using a combination... (knocking technique)
Bash
0
1
3413
Linux: USB: Capture events from speechmike device
Bash
0
1
1869
Linux: I cannot sudo, unkown user root (solution)
Bash
0
0
2011
Linux: How to reduce pdf file size
Bash
0
0
1536
Ubuntu Server: Configuring proxies
Bash
0
0
1614
Linux: Compare two dirs and display files with any difference
Bash
0
0
1256
Linux/VBox: Explore VDI disk without running virtualbox
Bash
0
0
1406
Debian/Ubuntu: Check/Restore network connection
Bash
0
0
1248
Linux: Get machine unique ID
Bash
0
0
1270
Linux: Create Virtual Filesystem
Bash
0
0
1201
Ubuntu: Share folder with Windows (via samba)
Bash
0
0
1095
Linux: Get all my local IP addresses (IPv4)
Bash
0
0
1719
Linux/Ubuntu: list ufw firewall rules without enabling it
Bash
0
0
1018
Ubuntu: Connect windows to shared folder as guest
Bash
0
0
1290
Linux: delete tons of files from folder with one command
Bash
0
0
1265
Ubuntu/Linux: Avoid connection from specific ip address without using iptables
Bash
0
0
1020
Unbuntu: Create barcode from command line.
Bash
0
0
1869
Ubuntu: Fix Imagemagick "not authorized" exception
XML
0
1
1178
nginx/ubuntu: Basic authentication access
Bash
0
0
967
linux: create .htpasswd without using apache tools
Bash
0
0
1071
Ubuntu/Mosquitto: Enable mqtt service
Bash
0
0
1018
Ubuntu/Linux: Detect if port is closed.
Bash
0
0
787
PHP/Linux: Run shell command without waiting for output (untested)
Bash
0
0
958
Ubuntu: OS Installation date
Bash
0
0
768
Ubuntu/Linux: Join pdf files from command line.
Bash
0
0
898
Linux/Web: Get internet content from command line using wget
Bash
0
0
1045
Ubuntu: Run wine app from command line using xvfb
Bash
2
0
3201
Docker/Linux: List ip addresses of all containers.
Bash
0
0
965
Linux: sysmon script (memory usage)
Bash
0
0
975
Linux: Socket Server and Client from command line
Bash
0
0
844
Nginx: Call php without extension
Plain text
0
0
730
Linux: fswatch
Bash
0
0
964
Linux/Ubuntu: Enable/disable screensaver
Bash
0
0
539
Linux/Proxmox: Enable /dev/net/tun for hamachi
Bash
0
0
959
Javascript/NodeJS: Uglify js files
Bash
0
0
409
Docker: Synchronize time and timezone with host
Bash
0
0
431
Node/Parse docx variables
JavaScript
0
0
497
Linux: Get my location info
Bash
0
0
497
Linux/DCMTK: Send studies to PACS using dcmsend
Bash
0
0
384
Linux: Download web page files using wget
Bash
0
0
382