티스토리 뷰

리눅스/Ubuntu

Linux Tips !

vumy 2015. 10. 12. 17:36

1. 디스크 파티션 확인 명령어

1
cat /proc/partitions
cs


2. SD카드 지우기 명령어

1
sudo dd if=/dev/zero of=/dev/sdd bs=8192
cs
<참고 : Askubuntu.com & dd 명령어

3. VMware tools Install <-- 링크사이트 참고


4. ssh
1
sudo apt-get install openssh-server
cs

※ Change Daum Ubuntu Pakg Server

1
sudo vi /etc/apt/sources.list
cs

vi 명령어

1
%s/ftp.daumkakao.com/kr.archive.ubuntu.com
cs

5. terminal update
1
2
3
sudo apt-get update        # Fetches the list of available updates
sudo apt-get upgrade       # Strictly upgrades the current packages
sudo apt-get dist-upgrade  # Installs updates (new ones)
cs

6. make log

1
make &>> log | tee log
cs

<참고 : http://tasia.tistory.com/99>


7. HTML Encoding

1
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
cs

8. Path Add

1
PATH=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin:$PATH
cs


9. setting network

1
2
3
4
5
ifconfig eth0 192.168.0.59
route add default gw xxx.xxx.xxx.xxx
 
vi /etc/resolve.conf
nameserver xxx.xxx.xxx.xxx
cs

<참고 : http://121202.tistory.com/34>


10. time setting

1
2
3
4
5
6
7
8
date
//시간 확인
rdate -s 203.248.240.140
//시간 동기화
hwclock
//하드웨어 시간 확인
hwclock -w
//하드웨어 시간 설정
cs

<참고 : data & hwclock>

'리눅스 > Ubuntu' 카테고리의 다른 글

Real Clear  (0) 2016.07.13
유용한 정보들  (0) 2015.10.21
댓글
공지사항
최근에 올라온 글