No Account Yet?

You are not logged in.

Add to: JBookmarks Add to: Facebook Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Google Information
OpenSolaris and customizing my bashrc E-mail
Blog - Dynastys Blog
Written by Allen Sanabria   
Thursday, 07 August 2008 12:17

I've been using/learning OpenSolaris for the past week and WoW it is a complete different world then Linux.. For example I miss my GNU commands.

  1. Non GNU grep does not have the -r option that I use in the gnu version which is ggrep
  2. Non GNU sed compared to gsed.
  3. Non GNU tar does not have gzip integrated as the gtar does have it.

In order to get my OpenSolaris behave like my Baby Linux does :)... I had to added a few aliases like so to my .bashrc file as so...
alias vi="vim"
alias grep="ggrep"
alias egrep="gegrep"
alias sed="gsed"
alias tar="gtar"

I am still adding more as I get frustrated.... :(

Also I added more paths to my PATH environment variable in .bashrc as well...

PATH=/usr/sbin:/usr/bin:/opt/csw/sbin:/opt/csw/bin:/usr/X11R6/bin
export PATH



 

Comments
Search RSS
nils  - Leuk   |83.82.165.xxx |2008-08-20 03:17:43
Quote:
Code:
hallo
jurikm  - Why?   |Registered |2008-09-06 22:55:41
Why not PATH=/usr/gnu/bin:/usr/bin:/usr/sbin etc.?
dynasty   |SAdministrator |2008-09-08 14:47:32
You are 100% correct! Since all the commands in /usr/gnu/bin symlink to the
relevant commands.

I'm in the process of updating the docs..
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Thursday, 07 August 2008 12:22 )