how do I make solaris shell more familiar for a linux user? [closed]
It's almost impossible to answer because 'linux' means nothing when there are so many flavors out there, and they could have just about anything set as defaults in in the various profile / login / shell rc scripts.
First, change the shell, as you've already mentioned, but then you might need to look into 'set'. From your comment about the arrow keys not behaving as you like, try either:
set -o emacs
set -o vi
There's also a chance that you've got the wrong terminal emulation set up, but auto-detection has gotten a lot better over the last year or so.
You can also take a look at your favorite box, and copy over your settings (assuming you've set the same shell). Leave a session logged in when testing or you might have to (s)ftp in to move the changed config file out of the way.
update : per the bash
man page, you should take a look at:
/etc/profile
The systemwide initialization file, executed for login shells
~/.bash_profile
The personal initialization file, executed for login shells
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed when a login
shell exits
~/.inputrc
Individual readline initialization file
It's possible that these might call other files, too.
I have found opencsw very useful you can install a selection of GNU apps from there and they have a package manager simular to apt-get called pkg-get
www.opencsw.org
Useful packages
- gsed
- gawk
- gdate
gives you the latest gnu versions of these apps so you dont have to have different awk scripts depending on the OS
I also had this problem, when for a little i switched from linux only env to mixed sun solaris and linux env.
I have to say that since then, i love solaris. Once you get use with different tools (give a look at this link http://bhami.com/rosetta.html ) then you'll find how powerful is solaris.
Search on google for "Less known Solaris Features" and you'll find a lot of documentation.
Give a look at all the sun (now oracle) documentation about Solaris administration.
Sun published a Linux to Solaris Admin Guide (PDF) that describes the key differences, commands, file structure, monitoring, etc. between the two OSes; it's from 2007, but it's likely still very relevant. There's also a brief Quick Reference Guide at the end.