Welcome To Snipplr
Everyone's Recent Snippets Tagged linux
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.
1
865
posted 13 years ago by klovera
A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.
0
1175
posted 13 years ago by luizlopes
**Usage**
> newuser.bash [username]
**What it does**
- Generates a random password with `makepasswd`
- Encrypts it with `mkpasswd` for use with useradd
- Adds the user
- Adds a MySQL Database for user
- Adds a MySQL User for user
-...
1
1172
posted 13 years ago by jiewmeng
Bytes per second isn't granular enough to get a real idea of how your network is really being used.
0
727
posted 13 years ago by mattsn0w
following example code removes all ".svn" folders recursively
0
841
posted 13 years ago by sabanulutas
tar is usually used for achiving applications, but what we are going to do in this case is tar it then pipe it over an ssh connection. tar handles large file trees quite well and preserves all file permissions, etc, including those UNIX systems which...
0
947
posted 13 years ago by wnasich
Because our server is a virtual machine inside a virtual machine (it's like inception), we can't transfer file using FTP. You need using SVN repository as a bridge to do so.
Follow [Exercise 3](http://www.cs.sfu.ca/cc/470/ggbaker/exer/3 "Exercise...
0
952
posted 13 years ago by Xixian
See also http://www.gnu.org/software/bash/manual/bashref.html#Bindable-Readline-Commands for the standard bindings and more detailed explanation of what they do.
0
1039
posted 13 years ago by cczona
A linux command that will output useful information about your linux distribution, kernel version, cpu information and more.
0
761
posted 13 years ago by davince
First command shows connected drives, may not be mounted.
Second command formats the drive.
0
811
posted 13 years ago by loungerdork
1. create a packagekit instance
2. search for the blender package
3. show the complete name and the package summary
(needs python-packagekit package)
0
552
posted 14 years ago by espresso