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
2263
Linux: Simulating slow internet connection
Bash
0
1
2288
Linux: SSH Tunnel: getting access to local machines.
Bash
0
0
3340
Linux: Find text in specific files using wild cards
Bash
0
0
2370
Linux: Merging several pdf files into one using ghostscript
Bash
0
0
2187
PHP/Linux convert wav to mp3 using lame
PHP
2
2
5277
Linux: mounting VirtualBox VDI disk using qemu
Bash
0
0
2647
Linux Ubuntu: free unused memory
Bash
0
0
2254
nbtscan: Multiple-OS command line utility: NETBIOS nameserver scanner
Bash
0
0
2765
Linux Ubuntu: Printing one or more webpages to pdf file
Bash
0
0
2211
Linux: Cron for deleting old files (older than n days)
Bash
0
2
1621
Linux: Get public IP address using command line utilities.
Bash
0
0
2099
Linux: Get total size used by folder
Bash
0
1
1678
Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection
Delphi
0
0
3824
Linux Ubuntu: Get ordered list of all installed packages
Bash
0
0
1604
Linux Ubuntu: Enable/Disable ping to your station
Bash
0
0
1565
Ubuntu/bash: how to know if disk present and writeable.
Bash
0
0
1512
Linux: Execute same command for multiple files
Command
0
0
1761
Linux/bash: kill a process by name using one-line command
Bash
0
3
1481
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1600
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1374
Linux: Extract whole and specific text from MS Word file (*.docx)
Bash
1
0
2742
Linux: Get number of pages of PDF document via command line
Bash
0
1
1620
Linux: split file into pieces and join pieces again
Bash
0
2
1940
Ubuntu: block external incoming ip address
Bash
0
8
1767
Ubuntu: Unblock external ip address
Bash
0
9
1898
Ubuntu: get a list of apps that are consuming bandwidth
Bash
0
9
1209
Ubuntu: block external outgoing ip address
Bash
0
8
1653
Ubuntu: how to mount remote linux file system using sshfs (over ssh)
Bash
0
7
2545
Docker: clean all
Bash
0
7
1436
Linux/ImageMagick: convert first page of pdf document to small jpeg preview
Bash
0
8
1402
Send an Email Alert When Your Disk Space Gets Low
Bash
1
23
7275
Linux/Ubuntu: apply changes made to network interfaces without restarting
Bash
0
4
1344
Linux: Convert pdf to html
Bash
0
8
4841
Ubuntu: How to setup pptp vpn server
Bash
0
4
5975
Linux: List all users in system
Bash
0
1
1184
Install OpenCV 2.4.11 in Ubuntu (No CUDA)
Bash
1
5
2051
Linux: ssh without password
Bash
0
1
1421
Linux: one way remote sync using unison and ssh
Bash
0
4
2131
Remove unused docker images, containers, volumes
Bash
3
12
2021
Linux: Open ssh port access using a combination... (knocking technique)
Bash
0
1
2988
Linux: USB: Capture events from speechmike device
Bash
0
1
1710
Linux: I cannot sudo, unkown user root (solution)
Bash
0
0
1820
Linux: How to reduce pdf file size
Bash
0
0
1386
Ubuntu Server: Configuring proxies
Bash
0
0
1431
Linux: Compare two dirs and display files with any difference
Bash
0
0
1118
Linux/VBox: Explore VDI disk without running virtualbox
Bash
0
0
1252
Debian/Ubuntu: Check/Restore network connection
Bash
0
0
1107
Linux: Get machine unique ID
Bash
0
0
1159
Linux: Create Virtual Filesystem
Bash
0
0
1082
Ubuntu: Share folder with Windows (via samba)
Bash
0
0
963
Linux: Get all my local IP addresses (IPv4)
Bash
0
0
1522
Linux/Ubuntu: list ufw firewall rules without enabling it
Bash
0
0
890
Ubuntu: Connect windows to shared folder as guest
Bash
0
0
1144
Linux: delete tons of files from folder with one command
Bash
0
0
1153
Ubuntu/Linux: Avoid connection from specific ip address without using iptables
Bash
0
0
901
Unbuntu: Create barcode from command line.
Bash
0
0
1533
Ubuntu: Fix Imagemagick "not authorized" exception
XML
0
1
1063
nginx/ubuntu: Basic authentication access
Bash
0
0
803
linux: create .htpasswd without using apache tools
Bash
0
0
916
Ubuntu/Mosquitto: Enable mqtt service
Bash
0
0
876
Ubuntu/Linux: Detect if port is closed.
Bash
0
0
677
PHP/Linux: Run shell command without waiting for output (untested)
Bash
0
0
800
Ubuntu: OS Installation date
Bash
0
0
660
Ubuntu/Linux: Join pdf files from command line.
Bash
0
0
774
Linux/Web: Get internet content from command line using wget
Bash
0
0
873
Ubuntu: Run wine app from command line using xvfb
Bash
2
0
2592
Docker/Linux: List ip addresses of all containers.
Bash
0
0
795
Linux: sysmon script (memory usage)
Bash
0
0
841
Linux: Socket Server and Client from command line
Bash
0
0
701
Nginx: Call php without extension
Plain text
0
0
591
Linux: fswatch
Bash
0
0
726
Linux/Ubuntu: Enable/disable screensaver
Bash
0
0
411
Linux/Proxmox: Enable /dev/net/tun for hamachi
Bash
0
0
734
Javascript/NodeJS: Uglify js files
Bash
0
0
301
Docker: Synchronize time and timezone with host
Bash
0
0
312
Node/Parse docx variables
JavaScript
0
0
345
Linux: Get my location info
Bash
0
0
335
Linux/DCMTK: Send studies to PACS using dcmsend
Bash
0
0
275
Linux: Download web page files using wget
Bash
0
0
263