-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (16) . 

The Ultimate Bashrc File

   4.0  

Other GNOME Stuff

Score 71%
The Ultimate Bashrc File
zoom


The Ultimate Bashrc File
zoom


The Ultimate Bashrc File
zoom


Downloads:  12053
Submitted:  Sep 4 2010
Updated:  Dec 15 2011

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.




Changelog:

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




LicenseGPL
(bashrc.tar.gz (4.0))
Send to a friend
Subscribe
Other  Artwork  from inameiname
Report inappropriate content



goto page: prev   1  2  3  4  5 

-

 Error on archlinux

 
 by gnumdk on: Jan 25 2011
 
Score 50%

.bashrc: line 1269: syntax error near unexpected token `('
.bashrc: line 1269: ` ?(-)c*f)'


Reply to this

-

 Re: Error on archlinux

 
 by inameiname on: Jan 26 2011
 
Score 50%

It has to do with the complete function, _tar and issues reading that particular few characters. Idk why its affecting you and not me. Easiest solution is to just delete or comment out that whole function from:

function _tar()

to

complete -F _tar -o default tar

on lines 1255-1308.


Reply to this

-

 Re: Re: Error on archlinux

 
 by wallbangicus on: Feb 7 2011
 
Score 50%

I had the same error in arch linux. I removed the _tar function, but I got the same error in the extract function near line ~6000 (i edited the file) these errors seem to come from regexs in cases. the error is
bash: .bashrc: line 6053: syntax error near unexpected token `('
bash: .bashrc: line 6053: ` *.t@(gz|lz|xz|b@(2|z?(2))|a@(z|r?(.@(Z|bz?(2)|gz|lzma|xz)))))'


I am using perl 5.12.2 and bash 4.1.9


Reply to this

-

 Re: Re: Re: Error on archlinux

 
 by inameiname on: Feb 7 2011
 
Score 50%

Interesting....

Yes, it must be an inability to handle Regex characters or something in Arch Linux. Perhaps the reason it's not affecting me is because Ubuntu reads those differently, Idk.

I'm guessing then you no longer have errors once you remove those Regex errors?

I am using perl 5.10.1-12ubuntu2 and bash 4.1-2ubuntu4, the defaults for Ubuntu Maverick (10.10).


Reply to this

-
.

 Congratulations !

 
 by DDZ on: Feb 12 2011
 
Score 50%

Just installed Ultimate Bashrc File today. Many thanks for this great work !


Reply to this

-

 Re: Congratulations !

 
 by inameiname on: Feb 12 2011
 
Score 50%

You're welcome.


Reply to this

-
.

 Excellent

 
 by linuxlex on: Feb 17 2011
 
Score 50%
linuxlexlinuxlex
Distribution LinuxLex OS
Home
-
Alexandr Pavlov 281

Distribution LinuxLex OS
Ukraine, Zhitomir
Last visit Dec 9 2012
13 Friends
4 Groups

More info
Send a message
Add as friend
Other contents
--

Really excellent work.


Reply to this

-

 Re: Excellent

 
 by inameiname on: Feb 17 2011
 
Score 50%

Thanks.


Reply to this

-
.

 Thank you

 
 by tonnyncorp on: Feb 26 2011
 
Score 50%

will like to thank you and everyone involved in creating this Ultimate bashrc.
I feel naked without keep up the good work


Reply to this

-

 Re: Thank you

 
 by inameiname on: Feb 27 2011
 
Score 50%

Actually it is just me and lots of free hours. Anyway, you're welcome.


Reply to this

-
.

 Great work

 
 by tonnyncorp on: Feb 27 2011
 
Score 50%

from when i started to use that Ultimate bashrc to now many changes has happened for the better really appreciate is there any way i can communicate with you other then here ?


Reply to this

-

 Re: Great work

 
 by inameiname on: Mar 1 2011
 
Score 50%

Thanks again. Me too; it is hard remembering the several aliases and functions shortcuts I use.

Uhm, well I welcome emails. I'm also on Ubuntu Forums, if you want to shoot me an email on there. I'm always welcoming to further communication.


Reply to this

-

 System crash

 
 by Zeroangel on: May 27 2011
 
Score 50%

I've been getting total system crashes when mistyping commands 'ie: kilall, apt-cache-search'.

Apparently something in the .bashrc file causes all of the memory in the computer to get used up within seconds.

I have had to restore my old .bashrc so that I could feel free to misspell commands without having to lose all my work.


Reply to this

-

 Re: System crash

 
 by inameiname on: May 30 2011
 
Score 50%

Hmmm, well I do not really know what to tell you. To narrow down what might be the issue, you can just cut certain parts of the bashrc and that will tell you what part might be causing that. My computer is not having this problem so I am afraid I cannot duplicate the issue. I suggest removing the 'Functions' section first to see if things work for you then; often any issues are due to a particular function.


Reply to this

-

 Re: System crash

 
 by inameiname on: May 30 2011
 
Score 50%

I found the issue. While my computer wouldn't freeze over the issue, if I were to type a misspelled word, it would simply leave the terminal frozen, until I would hit Control C. I deduced which part of the Bashrc was the culprit through trial and error, and found the problem.

It was the function: command_not_found_handle. It was just added in my last update. Sorry about that.

Just comment it out and it should work.

I'll update the Bashrc for anybody else who has found this issue. Thanks for bringing it to my attention.


Reply to this

-
.

 What does this do?

 
 by Timslin on: Dec 17 2011
 
Score 50%

I don't understand what this file does? What would this do or how would it help my terminal?


Reply to this

-

 Re: What does this do?

 
 by inameiname on: Dec 21 2011
 
Score 50%

Let me see if I can clarify for you. The 'bashrc' file can be an invaluable tool on a Linux machine, and its terminal. Now, before I get to its biggest ability, let me give you a couple quick things. For one, it can 'make pretty' your terminal window. If you want to change the color of the font, or what is said when you open a window, or what info is there, or etc., this can do that. If you want to run various commands upon startup of a terminal window, you can add them on this. If you want it to store/not store various things, you can tweak those settings here.

Now, in regards to the 'bashrc' file's biggest function, basically, a 'bashrc' file is a list of 'keyboard shortcuts' that you can use in the terminal. For instance, instead of having to input an entire line of code to perform a specific command, you can type a single letter, or word, and they trigger preset commands (called aliases and functions (little more fancier/lengthier than aliases)). And in general, people add a few aliases and functions they personally want inside their 'bashrc' files. In mine, though, after a long while of looking at what commands (shortcuts) I wanted in mine, I decided to make one "ultimate' one, not just for myself, but to make it easier for others to have. As such, after a couple of years now, I have amassed quite a few aliases and functions. Personally, I use the entire thing (and some other commands I link to specific scripts and such that are on my computers). For some, they prefer to simply extract whatever shortcuts they desire the most, and put into their 'bashrc' files. Finally, when it comes to this one, I have 17,000 lines of code (ie, a WHOLE LOT of preset aliases and functions). You are welcome to change whatever 'shortcuts' you want, and use all that you want. It comes in extremely handy for longer commands. In addition, I find having a huge file of commands in one place EXTREMELY helpful when I need to do something.

Hope that helps.


Reply to this

goto page: prev   1  2  3  4  5 

Add commentBack




-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2013 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.