CODES
NEW
ADD
SaveCode.net
Ranking
Extension
before and after
Home
/
Codes
/
bash
0
Before and After
Copy
bash
Favourite
Share
By
Minnie Terry
at May 28 2022
Related code examples
Before emailing code
Restore Apache after Disabling
Tar backup file 1 day before
bash grep all after match
bash how to print lines after a matching line
bash remove everything after character x
bash get value after equal sign
Restoring HEAD after a reset in Git
"disk usage" and "bash" and "linux" and "hdfs"
Fix textmate bundles after snow leopard upgrade
and in bash
Find and replace
# print every line after replacing each field with its absolute value
if and if bash
Git Rebase and Squash
VI - Search and Replace
chmod subdirectories and files
Backup Directory and Content
Find and Replace with Sed
find and grep piped
File size and location
vim search and replace
*nix - find and change
Search and replace with perl
Count files and directories
Postgres - Install and Create databases and users for Fedora 14
Show only big files and directories at current directory and subdirs
UNIX: chmod the current directory, and all sub directories and files
Password Protect Folder / Directory with htaccess and htpasswd on Apache and Linux / Unix
bash find files and operator
bash split and get last
bash tee stdout and stderr
curl and run bash script
bash read username and password
Recursively copy and rename files
find and replace string recursively
Vi find and replace in
generate and login with SSH-Keys
transpose rows and columns with awk
Find a file and execute something on it
cd's to a directory and lists the contents
Convert plist to and from xml
Find and ping default gateway
split string and create array bash
bash script output and error to file
bash copy directory and all contents
bash remove first and last quotes
Create vHost with user and MySQL database
Changing permissions recursively by files and directories
Git prune remote and local branches
Convert Image Format and Preserve Names
Sed and Awk CSV Address Prep
Bash + Screen prompt and title (Debian)
Git -- reset and remove new files
Copy to clipboard and send notification with libnotify
Access FileZilla FTP names and passwords
Add CVS Directories and Files recursively
Get Public IP and copy it to Clipboard
Linux - Find files and run a command
Setting Files to 755 and Directories to 644
UNIX: remove files and directories recursively
Display current date and time (german)
Zip and Unzip using Command Line
Set SGID bit on directory and subdirectories
Creating and Extracting .tar.gz via SSH
Fix BibTeX URLs and long lines
Add Suffix, Retain Extension, and Copy
*nix - tar create and expand archives
SED Find and Replace First Occurrence
Clean temp file create and cleanup
Batch File Rename with awk and sed
fix permissions for files and directories
Find and delete all Thumbs.db files
Some Ubuntu configure and update commands
bash search and replace text in file
bash install.sh shell programs and npm packages
how to find max and min in column bash
bash .inputrc color tab completion and more
bash create jks from cert and key
bash cat file and rewrite it same line
bash redirect stdout and stderr to the same file
git bash set global username and password
TAR command to compress and preserve files' permissions
Find a directory withing a compressed file and remove it.
Ubuntu - List Packages and grep for entry
Delete unversioned and ignored files from SVN
iterate and print all symlinks in dir
git difference between a branch and current branch
Add and remove a dummy interface in Linux
refresh and add textmate bundles from GIT
Start and stop MySQL server on OS X
Find newest file and its modification time
Git and SVN Status in the Bash Prompt
Line Number File And Copy To Clipboard
Create and track a remote branch in Git
Create and push an annotated tag in Git
List all listening processes and open ports
Search and replace through a whole directory tree
Sum of digits using bash and sed
unix, pack folder and contents with tar gz
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1