I was working on some functions in bash to make my life easier and realized that if I added custom completion to my functions, it will be really good. So I headed over to google and searched for what I wanted. I did get a lot of information on bash completion but not a single [...]
Archive of posts tagged bash
bash completion
9 August 2011, 9:06 am
Filed under bash, Fedora, Linux.
Tagged bash, BreckinMeyer, Folder (computing), Franklin Bash, google, Heroku, Mark-Paul Gosselaar, Operating system, Port Authority Trans-Hudson, Reed Diamond, Searching, shell, TNT, Unix
Comment
faster bash operations on files with File Descriptors.
11 June 2011, 7:41 am
I was writing a bash script that would do some operations and read and write to file. Seems that that was pretty simple with 12345while read line do done<file and then use redirection operations like “>” and “>>” to write to file. Done with the script pretty fast. So far so good, when I went [...]
Filed under bash, Learning, Linux.
Tagged Background process, bash, Central processing unit, File descriptor, Hypertext Transfer Protocol, OpenAL, Operating system, Secure Shell, shell, Standard streams, Unix
1 Comment











Unix shell script for removing duplicate files
The following shell script finds duplicate (2 or more identical) files and outputs a new shell script containing commented-out rm statements for deleting them (copy-paste from here): ::: updated on 02 May 20121, seems like wordpress did not like it so well so reformatting the code ::::::: #!/bin/bash – #=============================================================================== # # FILE: a.sh # [...]