recentpopularlog in


« earlier   
Bash $PS1 Generator 2.0
This tool will help you generate a custom colorful bash prompt for Unix-like operating systems, including Linux and Mac OS X.
16 hours ago by seranki
ripgrep is faster than {grep, ag, git grep, ucg, pt, sift} - Andrew Gallant's Blog
Why should you use ripgrep over any other search tool? Well…

It can replace both The Silver Searcher and GNU grep because it is faster than both. (N.B. It is not, strictly speaking, an interface compatible “drop-in” replacement for both, but the feature sets are far more similar than different.)
Like The Silver Searcher, ripgrep defaults to recursive directory search and won’t search files ignored by your .gitignore files. It also ignores hidden and binary files by default. ripgrep also implements full support for .gitignore, where as there are many bugs related to that functionality in The Silver Searcher. Of the things that don’t work in The Silver Searcher, ripgrep supports .gitignore priority (including in parent directories and sub-directories), whitelisting and recursive globs.
ripgrep can search specific types of files. For example, rg -tpy foo limits your search to Python files and rg -Tjs foo excludes Javascript files from your search. ripgrep can be taught about new file types with custom matching rules.
ripgrep supports many features found in grep, such as showing the context of search results, searching multiple patterns, highlighting matches with color and full Unicode support. Unlike GNU grep, ripgrep stays fast while supporting Unicode (which is always on).
ripgrep supports searching files in text encodings other than UTF-8, such as UTF-16, latin-1, GBK, EUC-JP, Shift_JIS and more. (Some support for automatically detecting UTF-16 is provided. Other text encodings must be specifically specified with the -E/--encoding flag.)
In other words, use ripgrep if you like speed, saner defaults, fewer bugs and Unicode.
tools  unix  windows  osx  cli  terminal 
yesterday by dustinvenegas
6 rsync Examples to Exclude Multiple Files and Directories using exclude-from
Rsync is very powerful tool to take backups, or sync files and directories between two different locations (or servers). You know this already, as we prese
dev  unix 
2 days ago by LachmanBhatia
Porting Unix Software
Source for "Porting Unix Software" by Greg (groggy) Layey, including RCS and some hairy Makefiles which probably won't build as-is.
books  unix  computer_history  programming 
3 days ago by stu-rem

Copy this bookmark:

to read