my_prompt

첨부파일을 로그인 계정 홈 디렉토리내에 업로드한 후, 로그인 스크립트(.bashrc, .bash_profile, .cshrc, 등등)내에 다음과 같이 추가한다.

if [ -f ~/.my_prompt ]; then

    . ~/my_prompt

fi

bash, sh, csh, ksh마다 문법이 다소 차이가 있으니, 적절히 알아서 수정해야 한다.


Posted by Jason Ryu
,

# sudo parted /dev/sdb

(parted) mklabel

Warning: the existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?

Yes/No? yes

New disk label type? [gpt]? gpt

(parted) mkpart primary 0 -1s

....

혹시 mkpart를 위와 같이 했을때 최상의 성능을 낼 수 없도록 정렬된다는 경고가 나오면 취소하고 아래와 같이 해본다.

(parted) mkpart primary 0% 100%

....

(parted) print                                                            

Model: AMCC 9500S-12 DISK (scsi)

Disk /dev/sdb: 12.0TB

Sector size (logical/physical): 512B/512B

Partition Table: gpt


Number  Start   End     Size    File system  Name     Flags

 1      1049kB  12.0TB  12.0TB               primary


(parted) q


# sudo mkfs.ext4 /dev/sdb1



Posted by Jason Ryu
,