Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged Bash



« Prev 1 2 3 4 5 ... 15
join characters inside file by extracting keyword which separate by newline and special characters by including desired numbers characters on right and left
0 4246 posted 8 years ago by brm
https://www.chrisjmendez.com/2017/03/18/bash-ec2-script/
0 4317 posted 9 years ago by chrisaiv
Clear buffer cache on GNU/Linux systems
0 4378 posted 9 years ago by rm1984
docker-engine: Installed: 1.12.3-0~xenial Candidate: 1.12.3-0~xenial Version table: *** 1.12.3-0~xenial 500 500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages 100 /var/lib/dpkg/status 1.12.2-0~...
0 4027 posted 9 years ago by droidronin
This is a small script to gather some statistics from your Firefox history. First we use sqlite3 to parse the Firefox history database and get the last three months, then we remove all the IP addresses and port numbers and finally we sort and count t...
0 4401 posted 10 years ago by rm1984
Create a compressed TAR archive preserving permissions
0 4248 posted 10 years ago by rm1984
How to repair a corrupted FAT32 filesystem
0 3872 posted 10 years ago by rm1984
TAR command to preserve files' permissions
0 4293 posted 10 years ago by rm1984
Recursively find and list the last modified files in a directory
0 4783 posted 10 years ago by rm1984
Show a colored and meaningful view of a GIT repository in the shell
0 4661 posted 10 years ago by rm1984
Replace a string with another one in many files
0 4700 posted 10 years ago by rm1984
Generate a random file with random contents but with a fixed size
0 4534 posted 10 years ago by rm1984
Read and process the output of a command one row at a time
0 4448 posted 10 years ago by rm1984
Bash script to list all devices (ip and hostname) connected to your local network. Some formatting is done, and a summary is printed at the end. Requires nmap.
0 4170 posted 10 years ago by iMezouar
Copy files recursively in Windows
0 4219 posted 11 years ago by wesleydepoorter
Just a basic bash snippet, of interest is the substring replacement, imo.
0 4125 posted 11 years ago by jlmarks
After copying pictures and videos from my tablet to my PC I noticed that the original timestamp was overriden by the current date. Fortunatelly the timestamp was still preserved in the files name. Ex: IMG\_20150214\_202445.jpg or VID\_20140116\...
0 4454 posted 11 years ago by mabafu
How to setup a share in a virtualbox guest - ubuntu server.
1 2407 posted 11 years ago by krillzip
There is a user-callback example in http://bazaar.launchpad.net/~bit-team/backintime/user-callback/view/head:/user-callback.apt-backup which will backup all package selections, sources and repository keys which are necessary to reinstall exactly the...
0 2647 posted 11 years ago by garretjames
Remove all stopped containers. Remove all untagged images
0 1970 posted 11 years ago by oxnard
Drupal Debugging like Dev Tools
0 2125 posted 11 years ago by apro2000
* Install oracle-java with one line, prompt for sudo if not root - more infos on (duinsoft)[http://www.duinsoft.nl]
0 3179 posted 11 years ago by dbiesecke
0 3242 posted 12 years ago by jlmarks
0 1751 posted 12 years ago by jlmarks
This snippet determines the path and script name that will need to be called, and then calls that script and passes it parameters.
0 1980 posted 12 years ago by jlmarks
<p>unzip -l ./zips/2014/* -d ./unzipped/2014/</p>
0 2587 posted 12 years ago by khaksari
Used parts of this in resetting my torrent upload information after losing if (was experimenting with switching to a new torrent-client). Only works on transmission-gtk torrent files [i think]
0 1977 posted 12 years ago by ktrout
This script goes through .change files in the current directory and copies all the files listed to a different directory. It skips the _sources.change files as well. This is really written in plain bourne shell, but Smipple doesn't seem to suppor...
0 2048 posted 13 years ago by Makistos
« Prev 1 2 3 4 5 ... 15