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
2435
Linux: Simulating slow internet connection
Bash
0
1
2479
Linux: SSH Tunnel: getting access to local machines.
Bash
0
0
3631
Linux: Find text in specific files using wild cards
Bash
0
0
2548
Linux: Merging several pdf files into one using ghostscript
Bash
0
0
2395
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5519
Linux: mounting VirtualBox VDI disk using qemu
Bash
0
0
2906
Linux Ubuntu: free unused memory
Bash
0
0
2424
nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner
Bash
0
0
2980
Linux Ubuntu: Printing one or more webpages to pdf file
Bash
0
0
2400
Linux: Cron for deleting old files (older than n days)
Bash
0
2
1760
Linux: Get public IP address using command line utilities.
Bash
0
0
2276
Linux: Get total size used by folder
Bash
0
1
1802
Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection
Delphi
0
0
3997
Linux Ubuntu: Get ordered list of all installed packages
Bash
0
0
1726
Linux Ubuntu: Enable/Disable ping to your station
Bash
0
0
1699
Ubuntu/bash: how to know if disk present and writeable.
Bash
0
0
1626
Linux: Execute same command for multiple files
Command
0
0
1882
Linux/bash: kill a process by name using one-line command
Bash
0
3
1596
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1742
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1483
Linux: Extract whole and specific text from MS Word file (*.docx)
Bash
1
0
2996
Linux: Get number of pages of PDF document via command line
Bash
0
1
1743
Linux: split file into pieces and join pieces again
Bash
0
2
2124
Ubuntu: block external incoming ip address
Bash
0
8
1962
Ubuntu: Unblock external ip address
Bash
0
9
2072
Ubuntu: get a list of apps that are consuming bandwidth
Bash
0
9
1302
Ubuntu: block external outgoing ip address
Bash
0
8
1814
Ubuntu: how to mount remote linux file system using sshfs (over ssh)
Bash
0
7
2744
Docker: clean all
Bash
0
7
1553
Linux/ImageMagick: convert first page of pdf document to small jpeg preview
Bash
0
8
1488
Send an Email Alert When Your Disk Space Gets Low
Bash
1
23
7940
Linux/Ubuntu: apply changes made to network interfaces without restarting
Bash
0
4
1462
Linux: Convert pdf to html
Bash
0
8
5044
Ubuntu: How to setup pptp vpn server
Bash
0
4
6536
Linux: List all users in system
Bash
0
1
1299
Install OpenCV 2.4.11 in Ubuntu (No CUDA)
Bash
1
5
2193
Linux: ssh without password
Bash
0
1
1563
Linux: one way remote sync using unison and ssh
Bash
0
4
2289
Remove unused docker images, containers, volumes
Bash
3
12
2210
Linux: Open ssh port access using a combination... (knocking technique)
Bash
0
1
3336
Linux: USB: Capture events from speechmike device
Bash
0
1
1850
Linux: I cannot sudo, unkown user root (solution)
Bash
0
0
1985
Linux: How to reduce pdf file size
Bash
0
0
1516
Ubuntu Server: Configuring proxies
Bash
0
0
1591
Linux: Compare two dirs and display files with any difference
Bash
0
0
1244
Linux/VBox: Explore VDI disk without running virtualbox
Bash
0
0
1388
Debian/Ubuntu: Check/Restore network connection
Bash
0
0
1232
Linux: Get machine unique ID
Bash
0
0
1255
Linux: Create Virtual Filesystem
Bash
0
0
1186
Ubuntu: Share folder with Windows (via samba)
Bash
0
0
1080
Linux: Get all my local IP addresses (IPv4)
Bash
0
0
1695
Linux/Ubuntu: list ufw firewall rules without enabling it
Bash
0
0
1004
Ubuntu: Connect windows to shared folder as guest
Bash
0
0
1270
Linux: delete tons of files from folder with one command
Bash
0
0
1250
Ubuntu/Linux: Avoid connection from specific ip address without using iptables
Bash
0
0
1006
Unbuntu: Create barcode from command line.
Bash
0
0
1822
Ubuntu: Fix Imagemagick "not authorized" exception
XML
0
1
1159
nginx/ubuntu: Basic authentication access
Bash
0
0
940
linux: create .htpasswd without using apache tools
Bash
0
0
1056
Ubuntu/Mosquitto: Enable mqtt service
Bash
0
0
999
Ubuntu/Linux: Detect if port is closed.
Bash
0
0
770
PHP/Linux: Run shell command without waiting for output (untested)
Bash
0
0
942
Ubuntu: OS Installation date
Bash
0
0
755
Ubuntu/Linux: Join pdf files from command line.
Bash
0
0
884
Linux/Web: Get internet content from command line using wget
Bash
0
0
1021
Ubuntu: Run wine app from command line using xvfb
Bash
2
0
3142
Docker/Linux: List ip addresses of all containers.
Bash
0
0
945
Linux: sysmon script (memory usage)
Bash
0
0
962
Linux: Socket Server and Client from command line
Bash
0
0
825
Nginx: Call php without extension
Plain text
0
0
716
Linux: fswatch
Bash
0
0
933
Linux/Ubuntu: Enable/disable screensaver
Bash
0
0
527
Linux/Proxmox: Enable /dev/net/tun for hamachi
Bash
0
0
939
Javascript/NodeJS: Uglify js files
Bash
0
0
399
Docker: Synchronize time and timezone with host
Bash
0
0
415
Node/Parse docx variables
JavaScript
0
0
480
Linux: Get my location info
Bash
0
0
480
Linux/DCMTK: Send studies to PACS using dcmsend
Bash
0
0
370
Linux: Download web page files using wget
Bash
0
0
369