본문 바로가기

Useful Tips/Linux

tcsh 관련

- 현재 shell 확인

$ echo $SHELL

/bin/tcsh

 

- 기존 path에 새로운 path(/aaa/bbb) 추가

vi .cshrc

set path = ($path /aaa/bbb)

 

- shell 변경

+설치된 shell 확인

cat /etc/shells

/bin/sh

/bin/bash

/bin/tcsh

+bash로 변경 (userid의 shell을 변경)

chsh -s /bin/bash userid