- 환경변수 등록방법
VARIABLE = value - 개별 환경변수 확인
echo $VARIABLE - 전체 환경변수 확인
printenv - 쉘에 환경변수 적용
export VARIABLE - 환경변수 등록 & 적용
export VARIABLE = value - 환경변수 파일
/etc/profile
~/.bash_profile
~/.bashrc
~/.profile - PATH 추가하기
PATH = $PATH:/usr/directory
export - 출처
https://help.ubuntu.com/community/EnvironmentVariables
https://kldp.org/node/69242
http://ubuntu.or.kr/viewtopic.php?p=115063
2015년 1월 6일 화요일
환경변수
Edison Arduino에서 갑자기 스케치가 업로드 안될때.
#mv the downloaded file to /sketch/sketch.elf
Moving downloaded file to /sketch/sketch.elf on target
target_download_name="${host_file_name##*/}"
echo "Moving downloaded file to /sketch/sketch.elf on target"
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
Retry 0: Got TIMEOUT
Retry 0: Got ZCAN
Transfer incomplete
> rm -r *
출처 : https://communities.intel.com/thread/55976
Moving downloaded file to /sketch/sketch.elf on target
target_download_name="${host_file_name##*/}"
echo "Moving downloaded file to /sketch/sketch.elf on target"
#$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" <> $tty_port_id 1>&0
$fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" <> $tty_port_id 1>&0
Retry 0: Got TIMEOUT
Retry 0: Got ZCAN
Transfer incomplete
You're right Doug, after deleted all contents in from /var/log/journal directory the sketch was correctly uploaded.
Thanks a lot.
> rm -r *
출처 : https://communities.intel.com/thread/55976
피드 구독하기:
글 (Atom)