Unbuntu default shell

I’m just familiar with csh, but Ubuntu’s default shell is bash. It bothers me that I can’t understand the .bashrc when I set some environment. And when you set come environment such like

setenv sacbin = /usr/local/bin/

, and then it will appear that

"setenv" command not found

I was got mad… So there is a comment from my brother that you can change the default shell, type:

chsh

then it will ask you what shell you want, and just type (I want csh.)

/bin/csh

from http://linuxwave.blogspot.com/2009/03/changing-default-shell-in-ubuntu.html

ubuntu 10.10 安裝 sac

在 Readme 的指示下,會少下列幾樣東西:

libcurses, libncurses
X11/xlib.h
X11/Intrinsic.h

需要先裝 libx11-devlibxt-dev

sudo get-apt install libx11-dev
sudo get-apt install libxt-dev

在ubuntu 裡,source是用bash,
所以 .cshrc 對SAC 的 設定要改成

export SACAUX="/usr/local/sac/aux"
export SACLIB="/usr/local/sac/lib"
export SACBIN="/usr/local/sac/bin"
export SACGRAPHICS="xwindows"

alias sac="/usr/local/sac/bin/sac"

quickwin in wine

用Windows 裡 Visual Fortran 所 compile 出來的程式,在Ubuntu 與wine的環境裡可以順利的運作。

http://appdb.winehq.org/objectManager.php?bShowAll=true&bIsQueue=false&bIsRejected=false&sClass=version&sTitle=&sReturnTo=&iId=8435

在ubuntu上安裝wine好像是以下的指令:

sudo apt-get install wine

不錯不錯,可以趕快全部移植到Linux系統上了。

科科