The Ultimate Bashrc File

Various Gnome Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

14
8 .1
Description:

For those who love using the terminal, here is a '.bashrc' file I created, mainly for those who've had issues with their own. Hopefully it'll benefit those of whom love aliases, functions, and such. Probably more than you need, so modify all you want. I've organized it best I can to make it easier for using and modification. This is also for those many who've had a difficult time finding a good source for their own on the net, like it was for me.

Oh, and any modifications that others wish to share are always welcome.

Instructions:

Just extract the tar file and put in your home directory. You may have to overwrite the current one, so be sure to backup whatever beforehand. FYI, the default text in the '.bashrc' is included in this version so if you haven't modified it at all, you should have nothing to worry about.

To refresh it, just type in the terminal:

source ~/.bashrc

...or just close your terminal window and open it again.
Last changelog:

6 years ago

1.0: Initial Release

1.1-2.0: Fixed some secure-delete substitutions, added several more functions, a few more aliases, and some settings, improved chown substitution aliases to work for all usernames, added a few more aliases, such as for adding repositories and pubkeys, fixed a few username things and cleaned up a few things, added copy/paste function, a couple bashrc aliases, and cleaned up some more things, added a Remasterys copying function once ISO is made, nifty function to run a program on a timer, and a function to undo apt-get build-dep, which is quite hard prior to this function. Also added a few more aliases, fixed a typo here and there, added an awesome 'sudo' function for greater security, some chown aliases, and a couple easy joke accessibles, added timer, google, roman-numeral, lsext, and few other functions, updated program-timer to close only gnome-terminal being used, & cleaned up and organized ALOT to make it even prettier, fixed a typo causing a tab completion error, added ALOT more command prompt options, several network aliases (thanks to Brutus180), many other aliases and functions, a new section for completions with several already & cleaned up lots of things, minor tweakage, as well as the addition of built-in fragmentation-checking and defragmentation tools using functions

2.1-2.5: Added more functions, including encrypt/decrypt, debextract, debremaker, display-off, added an alias for auto-setting background to live image of earth, & condensed a few various things here and there, few small removals of obsolete functions, and minor cleaning and organization of some things, added several more functions, aliases, prompt choices, and bash settings, & made it even easier to read (oh, and thanks goes to chmurli's bashrc as well as several others I found which housed quite a few new ones to me), added several more functions (credit goes to Chrispy as many were found in his awesome bash tool, BashStyle-NG), & tons of cleaning and perfecting, added quite a few more functions and aliases, including ruler, currency_convert, findlocation, spellcheck, flight_status, man2text, morse2text/text2morse, mwiki, natdebt, oneliners, pronounce, tweet, showme (easy view of an alias/function), suntimes, 99bottles, einstein, etchasketch, futurama, guitartune, matrix, wscan, fixed translate, dict, die, and a few others, & further organized and polished the whole thing, added even more functions and aliases, removed some extra spaces here and there, changed default terminal title to current directory, removed some redundancies, cleaned up even more...too much to really mention at the moment, added a few more functions such as convertatemp, dec2text, hilow, showfile, underscore, validator, & webspell, cosmetics, 'Earth' fix & bashDirB added

2.6-3.0: Added more aliases and functions, such as color-picker, linesort, meta-backup, packagelist, randomline, randomwpt, removeduplines, sec2all, themeinfo, & whodat (alternative to whoisonline, thanks to dewar1). Also added Alternative To The "200 Lines Kernel Patch That Does Wonders", with included instructions on making it work (just uncomment the five '.bashrc' lines as per your Linux distro). Fixed 'themeinfo' as there was both alias and function of same name, & also, one or two tiny corrections. Added few more functions and aliases. Also had a few minor changes and updated meta-backup function. Added a number of new functions and aliases, including doscheck, num2text_, anagrams, fest, pick-card, roll-die, phone2text, url-info, coin-flip, searchnreplace, screencastw, topsites, and added a few new bash settings. Fixed couple typos, added Nate Mitchell's (Kasyx's) Bash Prompt & changed 'history' alias so it didn't conflict with actual 'history' command. Added several more functions and aliases, such as where, cp_mp3_to, functions, supportWrap, source_print, deadlib, freqwatch, 4chanimages, googlevideo, randommac, freemusiccharts, flv2ogg, among several. Also added several more functions and aliases, including atomtitles, audioextract_dvd, boxeedl, buf, charcount, cmfu_rating, ffa, findtcp, hiddenpnps, ie, image_resize, irssi, kfire, laptop_display, linecount, lssd, netscan, netstats, ngramviewerdl, oe, qrurl, restoremod, rtfm, setessid, stopflash, txt2md, urlping, vimcmd, and wordcount. Changed a couple things that conflicted with actual terminal commands & added a few more functions/aliases, such as println and find_alternatives. Added a few more bash settings, as well as some more descriptions, fixed a couple of things, and added more functions/aliases, such as alph, cputemp, day, downNuncompress, epochdaysleft, fixmount, mkdirday, month, overwriter, pngoptim, randomip, rcommand, resizeimg, txt2pdf, unjar, vcd2mpeg, WHOAMI, wma2wav, & wordfreq

3.1: Added even more aliases and functions, including: cmdpkg, comp, dos2unix, fix-tabs, ip2locate, log, memlimit, musiccdinfo, pdf2png, rdp, real_location, rmall_but, sort_csn, string2bin, subdir_find, termproxy, terrorist-level, words, wscan, yt2mp3, yt-chanrip, yt-mp3chanrip

3.2: Added a DVD copying, ripping, and backup section in the functions area, which includes some very good (and high quality) preset functions on easily converting your DVDs to AVIs; 3.21: Updated this section to also include several analog and digital tv functions for easy conversion to AVI; 3.22: Tweaked some of the above section's settings; 3.23: A few further improvements to the dvd2avi functions; 3.24: Even more tweaking, including a couple iso2avi functions, and a dvd2iso2avi, which would first copy to the hard drive before converting (an alternative to the dvd2avi which requires constant DVD access); 3.25: Major ripping functions update, now with a universal video2avi for extremely easy use; 3.26: Further video2avi function modifications

3.3: Major update to video2avi, now with tons more presets and custom settings, and better conversion stuff, as well as several more functions, including: align_center, align_right, audiorecord-45dB, awesome, cyanide, mpfb, pascal, svnradd, ur1: 3.31: Further updating of video2avi, including Divx options and tons more custom choices

3.4: Updated/Tweaked numerous things, including several aliases and functions, such as: big, cgrep, command_not_found_handle, ds_, eh, fur, grabtweets, killall_wine, lsmac, map-files, numpages, portcheck, QUERY, quickemail, say, screenr, screensaver, se_, services, shebang, touchpad_id, touchpad_off, touchpad_on, type, viaco, and yt-pl2mp3; 3.41: commented out the function: command_not_found_handle, which was causing system freezes when inputing misspelled words (thanks to Zeroangel for finding the issue)

3.5: Added more stuff, including an optional bash greeting, a way to automatically keep Adobe from tracking everything you do, the ability to save bash history in real time, a logged 'rm', build/script booster (`glu` and `repath`), and an enhanced 'cd' function, among many other functions, such as say_, adobenospy, mem, rf, and compression_level

3.6: Added an optional holiday greeting, a default 'VIDEO_FORMAT' bash setting which is sometimes required for certain mencoder commands, and added several more functions/aliases, including a video2dvd I wrote, oports, sedi, and bluray2xvid

3.7: More functions/aliases: allVideos, command-timer, count_files_by_ext, fileName, svn_find, gotxt2imgmail, hourglass, lsr_, manswitch, prep, timeDNS, wireless_sniffer; also improved 'dd' aliases, including adding 'dd' with progress options (using 'pv'), more 'cleanup' aliases, and an 'extundelete' section for easy recovery for deleted files/folders; 3.71: Tweaked some 'dd' aliases, as well as dvd2iso, and added some more functions/aliases, such as: man_ext, NotifyOnBATTERY, uptime_min, pagerank, connected, connected_, wallpaperWarn, get_duration, sshmysql, date_, and display-offed

3.8: Further cleaning of script, including some bash settings' tweaks/additions, several more aliases/functions, such as imgur, whichpath, crontest, cn_, br, scpsend, ogg2mp3, ogg_info, flac2ogg, flac2mp3, getExtension, & getFileName, and several I made, such as the very handy two: transmissionbl and tv

3.9: Added more functions and aliases, including, about, cleanup, repository-update-check, title, paste, upper, lower, listhw, diffxml, vie, wgetall, cpo, isdef, quietly, cpus, codename, codename_ver, distro, jd, jda, upto, xpath, dups, comparenclean, relinux-copy, & remastersys-copy, as well as added a relinux & remastersys alias section, and updated extundelete aliases

4.0: Updated for Oneiric, but also backported for Natty (just some various additions/removals and such), and added several more aliases/functions, including an updated dups section, a workaround for 'debmaker' alias, an auto-cleanup of temporary files at startup of bashrc, moz/mozz, localIps, google-fonts, bleachbitcleanup, keject, upalevel, kindle_connect, kindle_disconnect, xzv, google_chart, human_filesize, geoipme, nocomments, filext, piratebay, out, mid, top_processes, allips, readfile, wma2mp3, wma2ogg, dateformatcodes, lastfile, expandurl, ontime, mp3_tagging, 7z_it, right, showdiff, biggest_user, total_video_length, and spaceremover, among others

4.1: Updated for Raring, but should work fine in Saucy. Will test soon to be sure.

4.2: Updated for Saucy/Trusty, added several functions and aliases, added the Liquid Prompt option, and added a new section for use with my custom Ultimate Nemo/Nautilus Scripts Pack, which I will upload soon.

motyR

10 years ago

i guess i would clean it up a bit.

inserting the code to /etc/profile or ~/.profile would slow down my system boot up or login respectably, so i think i'll avoid it.

I've came to really relay on this custom .bashrc, for me it's one the best things ever been downloaded from this site.

10x again for all the hard work, bet it took ages to compile this one.

Report

C

inameiname

10 years ago

Thanks, man. It was a lot of hard work.

What's strange is it sounds as if it was working just fine for you until now. I don't get that, because all that I've really added was more functions and aliases, which should have no bearing on messing things up so long as they are complete and grammatically correct. The only thing I can think of that directly affected the terminal was I changed the default 'PS1' to include current directory in terminal title. Comment that out and see if it speeds things up, idk.

Also, have you tried that new fix I added to this, the "Alternative To The "200 Lines Kernel Patch That Does Wonders"". It's supposed to boost all things, terminal especially. Here is where I essentially copied and pasted it from: http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html.

Report

motyR

10 years ago

not sure from which version exactly but at some point terminal becomes really slow loading all .bashrc file content, on my atom cpu it takes about 20 secs to open a new tab in gnome-terminal.

any suggestions?

Report

C

inameiname

10 years ago

I'll admit it does take a fraction of a second longer than say a completely blank ~/.bashrc file, but it shouldn't be 20 seconds. Eek. Sorry, to hear that. Is it routinely 20 seconds, ie, if you open another terminal window does it take just as long? Sometimes it may take a second for mine, usually while I'm running other things, but then I open another and it's fine.

Uhm, I'm not really sure what to tell you other than removing what you don't think you'll need. I have this very bashrc on two other computers that are older than 10 years, and it opens just as snappy as my main notebook pc.

One idea I did notice makes it go faster at startup is to copy all of the custom part of the bashrc below the original section to the bottom part of what is the original section of /etc/bash.bashrc instead. It's the all users bashrc. FYI, I tried this as default, but noticed two functions (_tar & extract) need to be removed as there is one line in each that has grammar problems in bash.bashrc for some reason.

Report

C

inameiname

10 years ago

Thanks for the suggestion. Looks like a cool alternate function to include.

FYI, feel free to share any other functions and aliases if you have any. Anybody with suggestions or additions to this is always welcomed. Gotta make this even more 'Ultimate'.

Report

dewar1

10 years ago

Hi,

Sorry to keep bugging you, but I really like all of the work you've put into this file and I am tweaking it to suit my own needs and I thought I'd share some of the things I've found.

Tonight I was looking through the file and found the function whoisonline and thought it was pretty neat, but not everyone uses their /etc/hosts file for name resolution. I changed the function (renamed it to whodat to shorten typing as well) to look like this:

if which nmap 2>&1 > /dev/null; then
function whodat()
{
if [ -n "$1" ]; then
net="$1"
else

net=$(cat /etc/resolv.conf | grep 'nameserver' | cut -c12-26 | awk -F '.' '{print $1"."$2"."$3".0/24"}')
fi
echo "testing $net for online hosts"
nmap -sP $net | awk '/Host/ && /up/ { print $0; }'
echo "done"
}
fi

This can look through the resolv.conf file for the address of the nameservers (note: THIS WILL ONLY WORK IF YOU USE LOCAL NAMESERVERS! Nameservers from your ISP will render this function useless). It then cuts the result to show just the first 3 octets of the IP address and runs nmap just as the original function.

One thing I would like to do is create if/else statements to run the appropriate nmap arguments for each class of networks (appending the appropriate bit mask to the nmap argument). But I will work on that later I guess.

Report

C

inameiname

10 years ago

Thanks for the suggestion. Looks like a cool alternate function to include.

FYI, feel free to share any other functions and aliases if you have any. Anybody with suggestions or additions to this is always welcomed. Gotta make this even more 'Ultimate'.

Report

dewar1

10 years ago

I noticed (at least for me using Debian) that when issuing the earth command defined by your .bashrc file that the command does not want me to download a mercator.jpg file if the file already exists, however one of the really neat things to do with this command is to set a cron job to run this command ever so often to get an updated wallpaper of the picture id downloads. To solve this problem I modified your command to look like this:

[code]alias earth='mv ~/Pictures/Backgrounds/mercator.jpg ~/Pictures/Backgrounds/mercator.`timestamp`.jpg | wget -r -N http://static.die.net/earth/mercator/1600.jpg -O ~/Pictures/Backgrounds/mercator.jpg && gconftool-2 --type string --set /desktop/gnome/background/picture_filename ~/Pictures/Backgrounds/mercator.jpg'[/code]

It now works like a charm. The major drawback is that the command will now fill up that directory with old pictures. You can either change the mv command to rm if you don't care about keeping the pictures, but I might like to keep some of them (maybe for a day or so). I will check to see if I can substitute the date command instead of timestamp and have the script check to see if a file is older than 1 day - if so it deletes it. I will keep you posted.

Report

dewar1

10 years ago

I noticed (at least for me using Debian) that when issuing the earth command defined by your .bashrc file that the command does not want me to download a mercator.jpg file if the file already exists, however one of the really neat things to do with this command is to set a cron job to run this command ever so often to get an updated wallpaper of the picture id downloads. To solve this problem I modified your command to look like this:

[code]alias earth='mv ~/Pictures/Backgrounds/mercator.jpg ~/Pictures/Backgrounds/mercator.`timestamp`.jpg | wget -r -N http://static.die.net/earth/mercator/1600.jpg -O ~/Pictures/Backgrounds/mercator.jpg && gconftool-2 --type string --set /desktop/gnome/background/picture_filename ~/Pictures/Backgrounds/mercator.jpg'[/code]

It now works like a charm. The major drawback is that the command will now fill up that directory with old pictures. You can either change the mv command to rm if you don't care about keeping the pictures, but I might like to keep some of them (maybe for a day or so). I will check to see if I can substitute the date command instead of timestamp and have the script check to see if a file is older than 1 day - if so it deletes it. I will keep you posted.

Report

C

inameiname

10 years ago

Thanks for the input. 'Earth' is basically a a script I found a while back to get a current 'earth' background. While I haven't used the alias of it much, which is essentially the same thing, the script I've used a lot and it does seem to update that specific 'mercator.jpg' when the current version on the server is updated.


Here, this actually works for some reason. It auto-updates the 'mercator.jpg' file each time, not canceling when it sees it's already in the folder. Guess the '|' works differently than '&&'. Anyway, I'll change it.

alias earth='wget -r -N http://static.die.net/earth/mercator/1600.jpg -O ~/Pictures/Backgrounds/mercator.jpg | gconftool-2 --type string --set /desktop/gnome/background/picture_filename ~/Pictures/Backgrounds/mercator.jpg'

I'll also add your version, to give an option for those that desire to keep it.

Report

C

inameiname

10 years ago

This works. I'll changed mine to this, and add yours as another option.

alias earth='rm -f ~/Pictures/Backgrounds/mercator.jpg && wget -r -N http://static.die.net/earth/mercator/1600.jpg -O ~/Pictures/Backgrounds/mercator.jpg && gconftool-2 --type string --set /desktop/gnome/background/picture_filename ~/Pictures/Backgrounds/mercator.jpg'

Report

C

inameiname

10 years ago

Nevermind. I wrote a reply too soon. :P

Report

dewar1

10 years ago

Wow, this is really comprehensive!

One change that I did make to this file today was the ability to use bashDirB to bookmark my directories. This way I don't have to edit the .bashrc file every time I want to bookmark a specific directory (or clutter it up by echoing the alias to the bottom of the file). The only changes that I had to make was to add the source line for the bashDirB file and then change the function s() (the apt-cache search ) to something else (in my case I changed it to function sp() - (where 'sp' stands for 'search packages')). This change was necessary because bashDirB has a function s() which saves the directory as a bookmark. Every time I wanted to save a directory as a bookmark I got a list of available packages with the name I chose as the bookmark lol!

Other than that, this file is awesome! Thanks for all the hard work!

Report

C

inameiname

10 years ago

Hehe, understandable.

So what is bashDirB? I don't think I have that one. There is a 'bookmark' function that bookmarks the current directory into alias form. Is it something like that? I'll be happy to add it to this.

Report

dewar1

10 years ago

DirB was written by Ira Chayut as a way to bookmark directories without having to clutter up a bash configuration file with tons of aliases. I was introduced to it a few weeks back by a friend of mine and I have to say that its definitely a lifesaver in an enterprise environment where you may have paths that are very long.

What you do is very simple:

1) Download the source code and save it as .bashDirB in your home directory.

2) Add the following line to your .bashrc file: "source ~/.bashDirB" (of course you can substitute the path for wherever you saved the source if you chose not to save it in your home directory - you can save it anywhere, but saving it in places like /usr/local or /opt may cause confusion on machines where multiple users log in because they may overwrite existing bookmarks with their own bookmarks. It's best to let each user have their own copy of .bashDirB)

That's it - it's installed. Now, to use it, navigate to the directory you wish to bookmark and issue this command:

s <bookmarkName>
Example: while in /srv/www/htdocs you can issue "s web". That directory is now saved as "web". This can come in very handy if you have thousands of directories that you need to go through.

To get to the bookmarked directories you issue the following command: "g <bookmarkName>". Thats it, you're there.

It also supports pushing the directory stack, you can print a list of bookmarked directories, and display the actual path of the directory (something an alias can't do unless you issue "| pwd" at the end of the cd command.

I used to use aliases to navigate the directory structure but the list became very long and was prone to having some overlooked, mistyped, or any other general mistake. I no longer have to edit the .bashrc file in order to save a bookmark thanks to bashDirB.

Note: The official name of the code is DirB, but I call it bashDirB because there is a web scanning tool that is called DirB.

Here is a link to the source code: http://dirb.info/bashDirB

Report

C

inameiname

10 years ago

Thanks for the info. I actually decided to add it to my bashrc, as how it works is essentially the same as how '.bash_functions' and '.bash_aliases' do, in which they are just sourced through a small bashrc file. Mainly, as a way to make it all organized and separated, having each in it's own place.

And, as the intention with my bashrc here is to have it all in one place, instead of sourcing out, I'll have it inside it. Of course, when you save bookmarks, it's the very same as before, saved in a '.DirB' folder. It's just there is no longer a need for a '.bashDirB' file.

Report

9

J4X0R

10 years ago

really nice work, I love it.

Quick question though. Have you ran in to any problems involving the defrag script you have with in the bashrc? I have never herd of a de-frager for any Linux based system.

Report

C

inameiname

10 years ago

Oh, and here is a link to where I got the function 'drag2' as well:

http://ubuntuforums.org/showthread.php?t=1461679

From the little testing I've done, it works well. Does set 'root' as owner to anything you may defrag in your home directory though. A simple chown command can put it back, so that's not a big deal.

Report

dewar1

10 years ago

I know that xfs has its own defragging tool (I believe its part of xfs-tools). This is quite necessary when you have directories with thousands (or more) of subdirectories and files (most home users probably won't run into this problem, but it happens daily in enterprise environments).

Quote:Does set 'root' as owner to anything you may defrag in your home directory though. A simple chown command can put it back, so that's not a big deal.

Be careful and make sure to jot down the names of the owners of the files before issuing a blanket chown command. Good standards and practices will dictate that file owners will place their files in their respective directories, but mistakes can (and will) happen.

Report

C

inameiname

10 years ago

Indeed. It's definitely a good idea to jot down the correct owners per file/directory beforehand with 'defrag2'. Of course, 'defrag' works just as well. I probably should just remove the 'defrag2' function as it's sort of redundant to the first one.

Also, while the built-in 'fragcheck'/'defrag' functions work, here is a link to yet another 'defrag' option script. The difference with it is that it technically doesn't 'defrag' like the first two, where it essentially copies everything over to remove fragmentation. Thus, it's not the ultimate, but it is a much, much, simpler version, with a built-in check for fragmentation, and then a quick defragging per fragged files. Another reason why I didn't include it is it's several hundred lines of text, which I thought was a tad too much for one function.

http://www.2shared.com/file/wgPdZLGC/Defrag-3.html

Report

C

inameiname

10 years ago

The function 'defrag' is actually a script, along with 'fragcheck' that I found after a lot of Google searching, so I added it to this. And, as for your question, it seems to work just fine for folders that have tons of stuff in it. I can't say as I've never tried it for an entire machine past the home folder. It should work, but I'd first suggest using the 'fragcheck' function, as I use that all the time, whether it's just for fun, or for checking flash drives and external hard drives.

If you want some more feedback on that function, here is where I got it; just read the author's readme about it:

http://ck.kolivas.org/apps/defrag/

Also, here is an article mentioning it for ext4:

http://www.pclinuxos.com/forum/index.php?action=printpage;topic=74612.0

Report

9

J4X0R

10 years ago

Thanks for the info!

I will definitely have to play around with it. A defrag on Linux is just foreign to me. Your whole bashrc = a week of fun times and exploration. :-)

Thanks for uploading it.

Report

C

inameiname

10 years ago

You're welcome.

Yeah, I do love playing around with some of them. The Roman Numeral one is handy when I'm bored. Also, the classic Star Wars terminal edition is the best. And who doesn't like talking insults? :P

When it comes to defragmenting, you rarely, if ever, need it for Liux. Like I mentioned, try the 'fragcheck' function first. As the author of 'defrag' said, if it's < 2.5%, don't even bother. And rarely it'd be even that. Perhaps your home folder over time, which the 'defrag' function works great. I'm defragging my home right now, actually, just for fun.

Report

motyR

10 years ago

no doubt the comprehensive basrc file I've ever used.

top notch!!!

Report

C

inameiname

10 years ago

Thanks. Well, I've never been able to find a good single source (bashrc, bash_aliases, whatever) for lots of bash functions, aliases, and such, one that is easy to read and laid out well, so I decided to throw one together myself. And then over time it's just grown from there. Of course, it helps being a bit of a perfectionist and always wanting more. :P

Report

6 years ago

1.0: Initial Release

1.1-2.0: Fixed some secure-delete substitutions, added several more functions, a few more aliases, and some settings, improved chown substitution aliases to work for all usernames, added a few more aliases, such as for adding repositories and pubkeys, fixed a few username things and cleaned up a few things, added copy/paste function, a couple bashrc aliases, and cleaned up some more things, added a Remasterys copying function once ISO is made, nifty function to run a program on a timer, and a function to undo apt-get build-dep, which is quite hard prior to this function. Also added a few more aliases, fixed a typo here and there, added an awesome 'sudo' function for greater security, some chown aliases, and a couple easy joke accessibles, added timer, google, roman-numeral, lsext, and few other functions, updated program-timer to close only gnome-terminal being used, & cleaned up and organized ALOT to make it even prettier, fixed a typo causing a tab completion error, added ALOT more command prompt options, several network aliases (thanks to Brutus180), many other aliases and functions, a new section for completions with several already & cleaned up lots of things, minor tweakage, as well as the addition of built-in fragmentation-checking and defragmentation tools using functions

2.1-2.5: Added more functions, including encrypt/decrypt, debextract, debremaker, display-off, added an alias for auto-setting background to live image of earth, & condensed a few various things here and there, few small removals of obsolete functions, and minor cleaning and organization of some things, added several more functions, aliases, prompt choices, and bash settings, & made it even easier to read (oh, and thanks goes to chmurli's bashrc as well as several others I found which housed quite a few new ones to me), added several more functions (credit goes to Chrispy as many were found in his awesome bash tool, BashStyle-NG), & tons of cleaning and perfecting, added quite a few more functions and aliases, including ruler, currency_convert, findlocation, spellcheck, flight_status, man2text, morse2text/text2morse, mwiki, natdebt, oneliners, pronounce, tweet, showme (easy view of an alias/function), suntimes, 99bottles, einstein, etchasketch, futurama, guitartune, matrix, wscan, fixed translate, dict, die, and a few others, & further organized and polished the whole thing, added even more functions and aliases, removed some extra spaces here and there, changed default terminal title to current directory, removed some redundancies, cleaned up even more...too much to really mention at the moment, added a few more functions such as convertatemp, dec2text, hilow, showfile, underscore, validator, & webspell, cosmetics, 'Earth' fix & bashDirB added

2.6-3.0: Added more aliases and functions, such as color-picker, linesort, meta-backup, packagelist, randomline, randomwpt, removeduplines, sec2all, themeinfo, & whodat (alternative to whoisonline, thanks to dewar1). Also added Alternative To The "200 Lines Kernel Patch That Does Wonders", with included instructions on making it work (just uncomment the five '.bashrc' lines as per your Linux distro). Fixed 'themeinfo' as there was both alias and function of same name, & also, one or two tiny corrections. Added few more functions and aliases. Also had a few minor changes and updated meta-backup function. Added a number of new functions and aliases, including doscheck, num2text_, anagrams, fest, pick-card, roll-die, phone2text, url-info, coin-flip, searchnreplace, screencastw, topsites, and added a few new bash settings. Fixed couple typos, added Nate Mitchell's (Kasyx's) Bash Prompt & changed 'history' alias so it didn't conflict with actual 'history' command. Added several more functions and aliases, such as where, cp_mp3_to, functions, supportWrap, source_print, deadlib, freqwatch, 4chanimages, googlevideo, randommac, freemusiccharts, flv2ogg, among several. Also added several more functions and aliases, including atomtitles, audioextract_dvd, boxeedl, buf, charcount, cmfu_rating, ffa, findtcp, hiddenpnps, ie, image_resize, irssi, kfire, laptop_display, linecount, lssd, netscan, netstats, ngramviewerdl, oe, qrurl, restoremod, rtfm, setessid, stopflash, txt2md, urlping, vimcmd, and wordcount. Changed a couple things that conflicted with actual terminal commands & added a few more functions/aliases, such as println and find_alternatives. Added a few more bash settings, as well as some more descriptions, fixed a couple of things, and added more functions/aliases, such as alph, cputemp, day, downNuncompress, epochdaysleft, fixmount, mkdirday, month, overwriter, pngoptim, randomip, rcommand, resizeimg, txt2pdf, unjar, vcd2mpeg, WHOAMI, wma2wav, & wordfreq

3.1: Added even more aliases and functions, including: cmdpkg, comp, dos2unix, fix-tabs, ip2locate, log, memlimit, musiccdinfo, pdf2png, rdp, real_location, rmall_but, sort_csn, string2bin, subdir_find, termproxy, terrorist-level, words, wscan, yt2mp3, yt-chanrip, yt-mp3chanrip

3.2: Added a DVD copying, ripping, and backup section in the functions area, which includes some very good (and high quality) preset functions on easily converting your DVDs to AVIs; 3.21: Updated this section to also include several analog and digital tv functions for easy conversion to AVI; 3.22: Tweaked some of the above section's settings; 3.23: A few further improvements to the dvd2avi functions; 3.24: Even more tweaking, including a couple iso2avi functions, and a dvd2iso2avi, which would first copy to the hard drive before converting (an alternative to the dvd2avi which requires constant DVD access); 3.25: Major ripping functions update, now with a universal video2avi for extremely easy use; 3.26: Further video2avi function modifications

3.3: Major update to video2avi, now with tons more presets and custom settings, and better conversion stuff, as well as several more functions, including: align_center, align_right, audiorecord-45dB, awesome, cyanide, mpfb, pascal, svnradd, ur1: 3.31: Further updating of video2avi, including Divx options and tons more custom choices

3.4: Updated/Tweaked numerous things, including several aliases and functions, such as: big, cgrep, command_not_found_handle, ds_, eh, fur, grabtweets, killall_wine, lsmac, map-files, numpages, portcheck, QUERY, quickemail, say, screenr, screensaver, se_, services, shebang, touchpad_id, touchpad_off, touchpad_on, type, viaco, and yt-pl2mp3; 3.41: commented out the function: command_not_found_handle, which was causing system freezes when inputing misspelled words (thanks to Zeroangel for finding the issue)

3.5: Added more stuff, including an optional bash greeting, a way to automatically keep Adobe from tracking everything you do, the ability to save bash history in real time, a logged 'rm', build/script booster (`glu` and `repath`), and an enhanced 'cd' function, among many other functions, such as say_, adobenospy, mem, rf, and compression_level

3.6: Added an optional holiday greeting, a default 'VIDEO_FORMAT' bash setting which is sometimes required for certain mencoder commands, and added several more functions/aliases, including a video2dvd I wrote, oports, sedi, and bluray2xvid

3.7: More functions/aliases: allVideos, command-timer, count_files_by_ext, fileName, svn_find, gotxt2imgmail, hourglass, lsr_, manswitch, prep, timeDNS, wireless_sniffer; also improved 'dd' aliases, including adding 'dd' with progress options (using 'pv'), more 'cleanup' aliases, and an 'extundelete' section for easy recovery for deleted files/folders; 3.71: Tweaked some 'dd' aliases, as well as dvd2iso, and added some more functions/aliases, such as: man_ext, NotifyOnBATTERY, uptime_min, pagerank, connected, connected_, wallpaperWarn, get_duration, sshmysql, date_, and display-offed

3.8: Further cleaning of script, including some bash settings' tweaks/additions, several more aliases/functions, such as imgur, whichpath, crontest, cn_, br, scpsend, ogg2mp3, ogg_info, flac2ogg, flac2mp3, getExtension, & getFileName, and several I made, such as the very handy two: transmissionbl and tv

3.9: Added more functions and aliases, including, about, cleanup, repository-update-check, title, paste, upper, lower, listhw, diffxml, vie, wgetall, cpo, isdef, quietly, cpus, codename, codename_ver, distro, jd, jda, upto, xpath, dups, comparenclean, relinux-copy, & remastersys-copy, as well as added a relinux & remastersys alias section, and updated extundelete aliases

4.0: Updated for Oneiric, but also backported for Natty (just some various additions/removals and such), and added several more aliases/functions, including an updated dups section, a workaround for 'debmaker' alias, an auto-cleanup of temporary files at startup of bashrc, moz/mozz, localIps, google-fonts, bleachbitcleanup, keject, upalevel, kindle_connect, kindle_disconnect, xzv, google_chart, human_filesize, geoipme, nocomments, filext, piratebay, out, mid, top_processes, allips, readfile, wma2mp3, wma2ogg, dateformatcodes, lastfile, expandurl, ontime, mp3_tagging, 7z_it, right, showdiff, biggest_user, total_video_length, and spaceremover, among others

4.1: Updated for Raring, but should work fine in Saucy. Will test soon to be sure.

4.2: Updated for Saucy/Trusty, added several functions and aliases, added the Liquid Prompt option, and added a new section for use with my custom Ultimate Nemo/Nautilus Scripts Pack, which I will upload soon.

12345678910
1171
product-maker jocixlinux Jul 30 2020 10 the best
10 the best
product-maker linuxlex Feb 16 2011 9 excellent
product-maker naaronne Feb 06 2011 9 excellent
product-maker likimoki Jan 28 2011 9 excellent
product-maker tricqster Jan 14 2011 9 excellent
product-maker otternox Jan 14 2011 9 excellent
product-maker christo91 Jan 14 2011 9 excellent
product-maker mobilediesel Dec 23 2010 9 excellent
product-maker ceebeebg Nov 22 2010 9 excellent
product-maker sealbhach Nov 19 2010 9 excellent
product-maker bohoomil Nov 19 2010 9 excellent
product-maker xypepper Nov 10 2010 9 excellent
product-maker J4X0R Nov 01 2010 9 excellent
product-maker diablo9983 Oct 28 2010 3 bad
product-maker McBurri Oct 28 2010 9 excellent
product-maker Brutus180 Oct 27 2010 9 excellent
product-maker mixalns Oct 27 2010 9 excellent
product-maker mgutz Oct 25 2010 9 excellent
product-maker bagley Sep 24 2010 9 excellent
Be the first to comment
jocixlinux
Jul 30 2020
iambryan
Jan 11 2015
c0moshack
Feb 22 2014
linuxlex
Feb 16 2011
naaronne
Feb 06 2011
subbass
Jan 26 2011
shamanphenix
Jan 14 2011
tonnyncorp
Dec 15 2010
ceebeebg
Nov 22 2010
xcesarfrancox
Nov 16 2010
Brutus180
Oct 31 2010
McBurri
Oct 28 2010
Dawei87
Oct 25 2010
bagley
Sep 10 2010
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
4.2
updated Aug 27 2018
added Sep 04 2010
downloads 24h
0
mediaviews 24h 0
pageviews 24h 18