'Programming > C Library' 카테고리의 다른 글

리눅스 커널 시간 설정 date / hwclock  (0) 2016.05.11
[C언어] 문자열 관련 함수  (0) 2016.03.30

shell script에서 하는 산술연산

#!/bin/sh


refer=1800

resol=4096

adc0=3060

result=`expr $(($refer*$adc0/$resol))`

echo $result

'Programming > Linux Coding' 카테고리의 다른 글

Ex11. 비트맵 파일 정보 갖어오기  (0) 2016.12.19
Ex10. Makefile - shared library (so 파일 만들기)  (0) 2016.12.15
chmod  (0) 2016.05.02
linux svn command  (1) 2016.04.28
Linux 디바이스 드라이버의 작성  (0) 2016.04.27

잭크와 콩나무 - TISTORY

http://jjackq.tistory.com/98

svn 체크아웃

svn co 169.168.0.001


메세지 추가

svn commit -m "add new function"


svn 현재 정보 보기

svn info


특정 로그 자세히 보기

svn log -v -r 125


폴더 및 파일 삭제

svn delete --force old_folder/

svn commit -m "delete old_folder"


폴더 및 파일 추가

svn add new_folder/

svn commit -m "add new_folder"


소스 코드의 각 라인을 수정한 사람 보기

svn blame source.c


현재 작업 내용을 최신내용으로 갱신 

svn up

현재 작업 내용을 리비전 1로 갱신(최신 리비전보다 이전으로 되돌리는 것도 가능하다.) 

svn up -r 1

'Programming > Linux Coding' 카테고리의 다른 글

shell script에서 하는 산술연산  (0) 2016.05.03
chmod  (0) 2016.05.02
Linux 디바이스 드라이버의 작성  (0) 2016.04.27
자신만의 Command 만들기 - alias  (0) 2016.04.26
find  (0) 2016.04.14

'Programming > Linux Coding' 카테고리의 다른 글

chmod  (0) 2016.05.02
linux svn command  (1) 2016.04.28
자신만의 Command 만들기 - alias  (0) 2016.04.26
find  (0) 2016.04.14
Linux Commands  (0) 2016.04.14

# vi ~/.bashrc


alias ll='ls -alF' 추가

# ll drwxr-xr-x 45 ysw ysw 4096 Apr 26 17:01 ./ drwxr-xr-x 8 root root 4096 Oct 30 20:39 ../ -rw------- 1 ysw ysw 25500 Apr 21 20:37 .bash_history -rw-r--r-- 1 ysw ysw 220 Sep 22 2015 .bash_logout -rw-r--r-- 1 ysw ysw 3901 Feb 12 17:47 .bashrc


'Programming > Linux Coding' 카테고리의 다른 글

linux svn command  (1) 2016.04.28
Linux 디바이스 드라이버의 작성  (0) 2016.04.27
find  (0) 2016.04.14
Linux Commands  (0) 2016.04.14
SVN(Subvision) 간단히 사용하기  (0) 2016.04.14
출처 : 보물창고

CString -> int 변환, int -> CString 변환

CString → int
int형 = _ttoi(CString형);


int → CString
CString형.Format( _T("%d"), int형);


Help -> Help Contents


'Programming > PIC - Microchip' 카테고리의 다른 글

Integer Data Types  (0) 2016.04.15

Help -> Help Contents


'Programming > PIC - Microchip' 카테고리의 다른 글

Delay Function  (0) 2016.04.15

http://www.mediacollege.com/cgi-bin/man/page.cgi?topic=find


NON-BUGS

       $ find . -name *.c -print
       find: paths must precede expression
       Usage: find [-H] [-L] [-P] [path...] [expression]

       This  happens  because  *.c has been expanded by the shell resulting in
       find actually receiving a command line like this:

       find . -name bigram.c code.c frcode.c locate.c -print

       That command is of course not going to work.  Instead of  doing  things
       this way, you should enclose the pattern in quotes:
       $ find . -name ?*.c? -print


'Programming > Linux Coding' 카테고리의 다른 글

Linux 디바이스 드라이버의 작성  (0) 2016.04.27
자신만의 Command 만들기 - alias  (0) 2016.04.26
Linux Commands  (0) 2016.04.14
SVN(Subvision) 간단히 사용하기  (0) 2016.04.14
Ex10. Makefile - lv4  (0) 2016.02.25

+ Recent posts