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
1525
posted 14 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
1906
posted 14 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
1763
posted 14 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
1126
posted 14 years ago by mattsn0w
following example code removes all ".svn" folders recursively
0
1413
posted 14 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
1517
posted 14 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
2426
posted 14 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
2558
posted 14 years ago by cczona
A linux command that will output useful information about your linux distribution, kernel version, cpu information and more.
0
1260
posted 14 years ago by davince
First command shows connected drives, may not be mounted.
Second command formats the drive.
0
1356
posted 14 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
912
posted 14 years ago by espresso