OpenSolaris and customizing my bashrc
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



 



Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
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 on Thursday, 07 August 2008 12:22