Skip to content

Instantly share code, notes, and snippets.

@willpiner
willpiner / update
Created July 24, 2013 18:18
Auto update and upgrade Ubuntu
#!/bin/bash
sudo apt-get update && sudo apt-get -y upgrade
@willpiner
willpiner / htmlplz
Created July 24, 2013 18:24
Generate a HTML template. Syntax: htmlplz <newfilename>
#!/bin/bash
cat > $1 <<HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
@willpiner
willpiner / installplz
Created July 25, 2013 18:46
install new software from apt with one command
#!/bin/bash
sudo apt-get -y install $1
@willpiner
willpiner / searchfor
Created July 25, 2013 18:47
Search for software in apt with one command
#!/bin/bash
apt-cache search $1